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

80 lines
3.1KB

  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/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/css/select2.min.css">
  9. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  10. <link rel="stylesheet" href="../static/web/css/admin.css">
  11. <script src="../static/web/js/jquery.min.js"></script>
  12. <script src="../static/web/js/select2.min.js"></script>
  13. <script src="../static/web/js/i18n/zh-CN.js"></script>
  14. </head>
  15. <body>
  16. <form name="form1" action="makehtml_tag_action_list.php" method="get" target="stafrm">
  17. <table align="center" class="table maintable my-3">
  18. <tr>
  19. <td bgcolor="#f5f5f5" colspan="2">更新标签</td>
  20. </tr>
  21. <tr>
  22. <td colspan="2">
  23. <div class="alert alert-info mb-0">生成静态文件后,浏览动态文件则直接跳转静态文件,如果需要动态浏览,删除对应文件即可。标签首页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm 标签列表页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/taglist.htm</div>
  24. </td>
  25. </tr>
  26. <?php if ($tagid > 0) {$row = $dsql->GetOne("SELECT tag FROM `#@__tagindex` WHERE id = '$tagid' ");?>
  27. <tr>
  28. <td width="260">输入标签:</td>
  29. <td><input type="hidden" name="tagid" value="<?php echo $tagid;?>"><?php echo $row['tag'];?> <a class="text-primary" href="makehtml_taglist.php">重新选择</a></td>
  30. </tr>
  31. <?php } else {?>
  32. <tr>
  33. <td width="260">起始id:</td>
  34. <td>
  35. <input type="text" name="startid" id="startid" class="admin-input-sm">
  36. <span>(空或0表示从头开始)</span>
  37. </td>
  38. </tr>
  39. <tr>
  40. <td>结束id:</td>
  41. <td>
  42. <input type="text" name="endid" id="endid" class="admin-input-sm">
  43. <span>(空或0表示直到结束id)</span>
  44. </td>
  45. </tr>
  46. <?php }?>
  47. <tr>
  48. <td>更新位置:</td>
  49. <td>
  50. <input type="text" name="tagsdir" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" class="admin-input-sm" disabled>
  51. <span>(系统设置中其他选项标签生成目录进行调整)</span>
  52. </td>
  53. </tr>
  54. <tr>
  55. <td>每页更新:</td>
  56. <td>
  57. <input type="text" name="maxpagesize" id="maxpagesize" value="50" class="admin-input-sm">
  58. <span>(网页)</span>
  59. </td>
  60. </tr>
  61. <tr>
  62. <td bgcolor="#e9ecef" colspan="2" align="center">
  63. <button type="button" name="b112" class="btn btn-success btn-sm" onclick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">开始更新</button>
  64. <button type="button" class="btn btn-outline-success btn-sm" onclick="location='tags_main.php';">标签管理</button>
  65. </td>
  66. </tr>
  67. <tr>
  68. <td colspan="2" id="mtd">
  69. <div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div>
  70. </td>
  71. </tr>
  72. </table>
  73. </form>
  74. <script>
  75. function onTagSubmit() {
  76. document.form1.submit();
  77. }
  78. </script>
  79. </body>
  80. </html>