国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
3.5KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>栏目管理</title>
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. <script src="js/global.js"></script>
  11. <script src="js/ieemu.js"></script>
  12. <script src="js/dialog.js"></script>
  13. <script src="../static/web/js/webajax.js"></script>
  14. <style>
  15. td,
  16. th {
  17. padding: .375rem
  18. }
  19. .bline2,
  20. .nbline {
  21. border-bottom: 1px solid #eee
  22. }
  23. .coolbg2,
  24. .coolbt2,
  25. .maintable {
  26. border: 1px solid #dee2e6
  27. }
  28. .fa {
  29. color: #545b62
  30. }
  31. </style>
  32. <script>
  33. function LoadSuns(ctid, tid) {
  34. if ($DE(ctid).innerHTML.length < 10) {
  35. $DE('img' + tid).className = 'fa fa-minus-square-o';
  36. fetch('catalog_do.php?dopost=GetSunLists&cid=' + tid).then(resp => resp.text()).then((d) => {
  37. $DE(ctid).innerHTML = d;
  38. });
  39. } else {
  40. showHide(ctid, tid);
  41. }
  42. }
  43. function showHide(objname, tid) {
  44. if ($DE(objname).style.display == "none") {
  45. $DE('img' + tid).className = 'fa fa-minus-square-o';
  46. $DE(objname).style.display = BROWSER.firefox ? "" : "block";
  47. } else {
  48. $DE('img' + tid).className = 'fa fa-plus-square-o';
  49. $DE(objname).style.display = "none";
  50. }
  51. }
  52. if (moz) {
  53. extendEventObject();
  54. extendElementModel();
  55. emulateAttachEvent();
  56. }
  57. </script>
  58. </head>
  59. <body>
  60. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="maintable mt-3 mb-3">
  61. <tr>
  62. <td style="background:#f8f8f8;border-bottom:1px solid #dee2e6">
  63. <table width="100%" cellspacing="0" cellpadding="0">
  64. <tr>
  65. <td>网站栏目管理</td>
  66. <td align="right">
  67. <a href="catalog_add.php?listtype=all" class="btn btn-success btn-sm">增加顶级栏目</a>
  68. <a href="catalog_add.php?dopost=quick" class="btn btn-success btn-sm">批量增加栏目</a>
  69. <a href="catalog_do.php?dopost=upcatcache" class="btn btn-success btn-sm">更新栏目缓存</a>
  70. </td>
  71. </tr>
  72. </table>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td>
  77. <table width="100%" cellspacing="0" cellpadding="0">
  78. <tr>
  79. <td>
  80. <?php if(!isset($exallct)) { ?>
  81. <a href="catalog_main.php?exallct=all" class="btn btn-success btn-sm">展开栏目</a>
  82. <?php } else { ?>
  83. <a href="catalog_main.php" class="btn btn-success btn-sm">收缩栏目</a>
  84. <?php } ?>
  85. </td>
  86. </tr>
  87. </table>
  88. </td>
  89. </tr>
  90. <form name="form1" method="post" action="catalog_do.php?dopost=upRankAll">
  91. <tr>
  92. <td>
  93. <?php
  94. if(empty($opendir)) $opendir=-1;
  95. if($userChannel>0) $opendir=$userChannel;
  96. $tu = new TypeUnit();
  97. $tu->ListAllType($userChannel,$opendir);
  98. ?>
  99. </td>
  100. </tr>
  101. </form>
  102. <tr>
  103. <td align="right" class="py-2" style="padding-right:10px;background:#f8f8f8;border-top:1px solid #dee2e6">
  104. <button type="button" name="sb2" class="btn btn-success btn-sm" onClick="location='makehtml_list.php';">更新栏目</button>
  105. <button type="button" name="sb3" class="btn btn-success btn-sm" onClick="location='makehtml_archives.php';">更新文档</button>
  106. <button type="button" name="sb1" class="btn btn-success btn-sm" onClick="document.form1.submit();">更新排序</button>
  107. </td>
  108. </tr>
  109. </table>
  110. </body>
  111. </html>