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

  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/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.full.min.js"></script>
  13. <script src="../static/web/js/i18n/zh-CN.js"></script>
  14. <script>
  15. function onTagSubmit() {
  16. document.form1.submit();
  17. }
  18. </script>
  19. </head>
  20. <body>
  21. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3">
  22. <form name="form1" action="makehtml_tag_action_list.php" method="get" target="stafrm">
  23. <tr>
  24. <td bgcolor="#f5f5f5" colspan="2">更新标签</td>
  25. </tr>
  26. <tr>
  27. <td colspan="2"><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></td>
  28. </tr>
  29. <?php
  30. if ($tagid > 0) {
  31. $row = $dsql->GetOne("Select tag From `#@__tagindex` where id = '$tagid' ");
  32. ?>
  33. <tr>
  34. <td width="260">输入标签:</td>
  35. <td><input type="hidden" name="tagid" value="<?php echo $tagid;?>"><?php echo $row['tag'];?> <a class="text-success" href="makehtml_taglist.php">重新选择</a></td>
  36. </tr>
  37. <?php
  38. } else {
  39. ?>
  40. <tr>
  41. <td width="260">起始id:</td>
  42. <td><input type="text" name="startid" id="startid" class="biz-input-sm">(空或0表示从头开始)</td>
  43. </tr>
  44. <tr>
  45. <td>结束id:</td>
  46. <td><input type="text" name="endid" id="endid" class="biz-input-sm">(空或0表示直到结束id)</td>
  47. </tr>
  48. <?php }?>
  49. <tr>
  50. <td>生成位置:</td>
  51. <td><input type="text" name="tagsdir" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" class="biz-input-md" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“标签生成目录”项进行调整</td>
  52. </tr>
  53. <tr>
  54. <td>每次最大创建页数:</td>
  55. <td><input type="text" name="maxpagesize" id="maxpagesize" value="50" class="biz-input-sm"> 个文件</td>
  56. </tr>
  57. <tr>
  58. <td bgcolor="#fbfce2" colspan="2" align="center"><button type="button" name="b112" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button></td>
  59. </tr>
  60. </form>
  61. <tr>
  62. <td colspan="2">结果:</td>
  63. </tr>
  64. <tr>
  65. <td colspan="2" id="mtd">
  66. <div id="mdv" class="biz-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div>
  67. </td>
  68. </tr>
  69. </table>
  70. </body>
  71. </html>