index.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?php
  2. require_once '../pcdl/html_head.php';
  3. ?>
  4. <body >
  5. <script language="javascript" src="../pcdl/index.js"></script>
  6. <style>
  7. .content_block{
  8. flex: 0 0 auto;
  9. width: 25%;
  10. padding: 10px;
  11. }
  12. .index_inner{
  13. width: 960px;
  14. margin-left: auto;
  15. margin-right: auto;
  16. }
  17. .content_inner{
  18. display:flex;
  19. }
  20. .title_bar{
  21. border-bottom: solid 1px var(--tool-bt-border-line-color);
  22. justify-content: space-between;
  23. display: flex;
  24. }
  25. .h3{
  26. font-size: 16px;
  27. font-weight: 700;
  28. }
  29. .index_list_categories{
  30. margin-bottom: 2em;
  31. }
  32. .index_list_categories a:hover{
  33. color: var(--tool-link-hover-color);
  34. }
  35. .index_list_categories a,a:link{
  36. color: var(--main-color);
  37. }
  38. .index_list_categories button{
  39. border: none;
  40. }
  41. .pd-10{
  42. padding:10px;
  43. }
  44. #footer_nav{
  45. display:none;
  46. }
  47. </style>
  48. <a name="pagetop"></a>
  49. <!-- tool bar begin-->
  50. <?php
  51. require_once("head_bar.php");
  52. ?>
  53. <!--tool bar end -->
  54. <div class="index_inner" >
  55. <div class="index_list_categories">
  56. <div class="title_bar">
  57. <span class="title h3"><?php echo $_local->gui->composition; ?></span>
  58. <span class="title_more"><a href="../collect"><?php echo $_local->gui->more;?></a></span>
  59. </div>
  60. <div class="content">
  61. <div id="article_new" class="content_inner">
  62. </div>
  63. </div>
  64. </div>
  65. <div class="index_list_categories">
  66. <div class="title_bar">
  67. <span class="title h3"><?php echo $_local->gui->lesson; ?></span>
  68. <span class="title_more"><a href="../course"><?php echo $_local->gui->more;?></a></span>
  69. </div>
  70. <div class="content">
  71. <div id="course_list_new" class="content_inner">
  72. </div>
  73. </div>
  74. </div>
  75. <div class="index_list_categories">
  76. <div class="title_bar">
  77. <span class="title h3"><?php echo $_local->gui->encyclopedia; ?></span>
  78. <span class="title_more"><a href="../wiki"><?php echo $_local->gui->more;?></a></span>
  79. </div>
  80. <div class="content">
  81. <div id="pali_pedia" class="content_inner">
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. <script>
  87. $(document).ready(function(){
  88. index_onload();
  89. });
  90. </script>
  91. <?php
  92. include "../pcdl/html_foot.php";
  93. ?>