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

79 lines
2.9KB

  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/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. </head>
  11. <body>
  12. <form name="form1" action="makehtml_tag_action_list.php" method="get" target="stafrm">
  13. <table align="center" class="table maintable my-3">
  14. <tr>
  15. <td bgcolor="#f8fafb" colspan="2">更新标签</td>
  16. </tr>
  17. <tr>
  18. <td colspan="2">
  19. <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>
  20. </td>
  21. </tr>
  22. <?php if ($tagid > 0) {$row = $dsql->GetOne("SELECT tag FROM `#@__tagindex` WHERE id = '$tagid' ");?>
  23. <tr>
  24. <td width="260">输入标签:</td>
  25. <td>
  26. <input type="hidden" name="tagid" value="<?php echo $tagid;?>"><?php echo $row['tag'];?>
  27. <a href="makehtml_taglist.php" class="btn btn-success btn-sm">重新选择</a>
  28. </td>
  29. </tr>
  30. <?php } else {?>
  31. <tr>
  32. <td width="260">起始id:</td>
  33. <td>
  34. <input type="text" name="startid" id="startid" class="admin-input-sm">
  35. <span>(空或0表示从头开始)</span>
  36. </td>
  37. </tr>
  38. <tr>
  39. <td>结束id:</td>
  40. <td>
  41. <input type="text" name="endid" id="endid" class="admin-input-sm">
  42. <span>(空或0表示直到结束id)</span>
  43. </td>
  44. </tr>
  45. <?php }?>
  46. <tr>
  47. <td>更新位置:</td>
  48. <td>
  49. <input type="text" name="tagsdir" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" class="admin-input-sm" disabled>
  50. <span>(系统设置中其他选项标签生成目录进行调整)</span>
  51. </td>
  52. </tr>
  53. <tr>
  54. <td>每页更新:</td>
  55. <td>
  56. <input type="text" name="maxpagesize" id="maxpagesize" value="50" class="admin-input-sm">
  57. <span>(网页)</span>
  58. </td>
  59. </tr>
  60. <tr>
  61. <td bgcolor="#f8f9fa" colspan="2" align="center">
  62. <button type="button" name="b112" class="btn btn-success btn-sm" onclick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">开始更新</button>
  63. <button type="button" class="btn btn-outline-success btn-sm" onclick="location='tags_main.php';">标签管理</button>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td colspan="2" id="mtd">
  68. <div id="mdv" class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div>
  69. </td>
  70. </tr>
  71. </table>
  72. </form>
  73. <script>
  74. function onTagSubmit() {
  75. document.form1.submit();
  76. }
  77. </script>
  78. </body>
  79. </html>