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

71 lines
2.5KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  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. <style>.admin-td{border-bottom:1px solid #dee2e6!important}</style>
  11. <script src="../static/web/js/webajax.js"></script>
  12. <script src="js/global.js"></script>
  13. <script>
  14. function LoadSuns(ctid, tid) {
  15. if ($DE(ctid).innerHTML.length < 10) {
  16. $DE('img' + tid).className = 'fa fa-minus-square';
  17. fetch('catalog_do.php?dopost=GetSunLists&cid=' + tid).then(resp => resp.text()).then((d) => {
  18. $DE(ctid).innerHTML = d;
  19. });
  20. } else {
  21. showHide(ctid, tid);
  22. }
  23. }
  24. function showHide(objname, tid) {
  25. if ($DE(objname).style.display == "none") {
  26. $DE('img' + tid).className = 'fa fa-minus-square';
  27. $DE(objname).style.display = BROWSER.firefox ? "" : "block";
  28. } else {
  29. $DE('img' + tid).className = 'fa fa-plus-square';
  30. $DE(objname).style.display = "none";
  31. }
  32. }
  33. </script>
  34. </head>
  35. <body>
  36. <table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3">
  37. <tr>
  38. <td>
  39. <a href="catalog_add.php?listtype=all" class="btn btn-success btn-sm">添加栏目</a>
  40. <a href="catalog_add.php?dopost=quick" class="btn btn-success btn-sm">批量添加</a>
  41. <a href="catalog_do.php?dopost=upcatcache" class="btn btn-success btn-sm">更新缓存</a>
  42. <button type="button" name="sb1" class="btn btn-success btn-sm" onclick="document.form1.submit();">更新排序</button>
  43. </td>
  44. <td align="right">
  45. <?php if (!isset($exallct)) {?>
  46. <a href="catalog_main.php?exallct=all" class="btn btn-success btn-sm">展开栏目</a>
  47. <?php } else {?>
  48. <a href="catalog_main.php" class="btn btn-success btn-sm">收缩栏目</a>
  49. <?php }?>
  50. </td>
  51. </tr>
  52. </table>
  53. <table cellpadding="1" cellspacing="1" align="center" class="maintable mb-3">
  54. <tr>
  55. <td bgcolor="#f5f5f5" style="padding:.65rem;border-bottom:1px solid #dee2e6">网站栏目管理</td>
  56. </tr>
  57. <form name="form1" method="post" action="catalog_do.php?dopost=upRankAll">
  58. <tr>
  59. <td>
  60. <?php
  61. if (empty($opendir)) $opendir=-1;
  62. if ($userChannel>0) $opendir=$userChannel;
  63. $tu = new TypeUnit();
  64. $tu->ListAllType($userChannel,$opendir);
  65. ?>
  66. </td>
  67. </tr>
  68. </form>
  69. </table>
  70. </body>
  71. </html>