国内流行的内容管理系统(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.

83 lines
3.2KB

  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/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/bootstrap.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. <script>
  15. function LoadSuns(ctid, tid) {
  16. if ($DE(ctid).innerHTML.length < 10) {
  17. $DE('img' + tid).className = 'fa fa-minus-square-o';
  18. fetch('catalog_do.php?dopost=GetSunLists&cid=' + tid).then(resp => resp.text()).then((d) => {
  19. $DE(ctid).innerHTML = d;
  20. });
  21. } else {
  22. showHide(ctid, tid);
  23. }
  24. }
  25. function showHide(objname, tid) {
  26. if ($DE(objname).style.display == "none") {
  27. $DE('img' + tid).className = 'fa fa-minus-square-o';
  28. $DE(objname).style.display = BROWSER.firefox ? "" : "block";
  29. } else {
  30. $DE('img' + tid).className = 'fa fa-plus-square-o';
  31. $DE(objname).style.display = "none";
  32. }
  33. }
  34. if (moz) {
  35. extendEventObject();
  36. extendElementModel();
  37. emulateAttachEvent();
  38. }
  39. </script>
  40. </head>
  41. <body>
  42. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="maintable my-3">
  43. <tr>
  44. <td bgcolor="#f5f5f5" style="border-bottom:1px solid #dee2e6">
  45. <table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless">
  46. <tr>
  47. <td width="30%">网站栏目管理</td>
  48. <td width="70%" align="right">
  49. <a href="catalog_add.php?listtype=all" class="btn btn-success btn-sm">增加顶级栏目</a>
  50. <a href="catalog_add.php?dopost=quick" class="btn btn-success btn-sm">批量添加栏目</a>
  51. <a href="catalog_do.php?dopost=upcatcache" class="btn btn-success btn-sm">更新栏目缓存</a>
  52. <?php if (!isset($exallct)) {?>
  53. <a href="catalog_main.php?exallct=all" class="btn btn-success btn-sm">展开栏目</a>
  54. <?php } else {?>
  55. <a href="catalog_main.php" class="btn btn-success btn-sm">收缩栏目</a>
  56. <?php }?>
  57. </td>
  58. </tr>
  59. </table>
  60. </td>
  61. </tr>
  62. <form name="form1" method="post" action="catalog_do.php?dopost=upRankAll">
  63. <tr>
  64. <td>
  65. <?php
  66. if (empty($opendir)) $opendir=-1;
  67. if ($userChannel>0) $opendir=$userChannel;
  68. $tu = new TypeUnit();
  69. $tu->ListAllType($userChannel,$opendir);
  70. ?>
  71. </td>
  72. </tr>
  73. </form>
  74. <tr>
  75. <td bgcolor="#f5f5f5" align="right" class="py-2" style="border-top:1px solid #dee2e6">
  76. <button type="button" name="sb2" class="btn btn-success btn-sm" onClick="location='makehtml_list.php';">更新栏目</button>
  77. <button type="button" name="sb3" class="btn btn-success btn-sm" onClick="location='makehtml_archives.php';">更新文档</button>
  78. <button type="button" name="sb1" class="btn btn-success btn-sm" onClick="document.form1.submit();">更新排序</button>
  79. </td>
  80. </tr>
  81. </table>
  82. </body>
  83. </html>