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

72 lines
3.0KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  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. <div class="container-fluid">
  13. <ol class="breadcrumb">
  14. <li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
  15. <li class="breadcrumb-item active">更新标签</li>
  16. </ol>
  17. <div class="card shadow-sm">
  18. <div class="card-header">更新标签</div>
  19. <div class="card-body">
  20. <div class="alert alert-info">更新静态文件后浏览动态链接会自动跳转至静态链接,需要动态浏览则删除对应静态文件。标签首页模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag.htm,标签文档列表模板:<?php echo $cfg_templets_dir;?>/<?php echo $cfg_df_style?>/tag_list.htm</div>
  21. <form name="form1" action="makehtml_tag_action_list.php" method="get" target="stafrm">
  22. <div class="table-responsive">
  23. <table class="table table-borderless">
  24. <tbody>
  25. <?php if ($tagid > 0) {$row = $dsql->GetOne("SELECT tag FROM `#@__tagindex` WHERE id = '$tagid' ");?>
  26. <tr>
  27. <td width="260">输入标签</td>
  28. <td>
  29. <input type="hidden" name="tagid" value="<?php echo $tagid;?>"><?php echo $row['tag'];?>
  30. <a href="makehtml_taglist.php" class="btn btn-success btn-sm">重新选择</a>
  31. </td>
  32. </tr>
  33. <?php } else {?>
  34. <tr>
  35. <td width="260">起始id</td>
  36. <td><input type="text" name="startid" id="startid" class="admin-input-sm">(空或0表示从头开始)</td>
  37. </tr>
  38. <tr>
  39. <td>结束id</td>
  40. <td><input type="text" name="endid" id="endid" class="admin-input-sm">(空或0表示直到结束id)</td>
  41. </tr>
  42. <?php }?>
  43. <tr>
  44. <td>更新位置</td>
  45. <td><input type="text" name="tagsdir" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" class="admin-input-sm" disabled>(系统设置-其他选项,找到标签生成目录修改)</td>
  46. </tr>
  47. <tr>
  48. <td>每页更新</td>
  49. <td><input type="text" name="maxpagesize" id="maxpagesize" value="50" class="admin-input-sm">(网页)</td>
  50. </tr>
  51. <tr>
  52. <td colspan="2" align="center"><button type="button" class="btn btn-success btn-sm" onclick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">开始执行</button></td>
  53. </tr>
  54. <tr>
  55. <td colspan="2">
  56. <div class="admin-win-iframe"><iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe></div>
  57. </td>
  58. </tr>
  59. </tbody>
  60. </table>
  61. </div>
  62. </form>
  63. </div>
  64. </div>
  65. </div>
  66. <script>
  67. function onTagSubmit() {
  68. document.form1.submit();
  69. }
  70. </script>
  71. </body>
  72. </html>