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

110 lines
4.4KB

  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. <link rel="stylesheet" href="/static/web/css/daterangepicker.css">
  11. <script src="/static/web/js/jquery.min.js"></script>
  12. <script src="/static/web/js/moment.min.js"></script>
  13. <script src="/static/web/js/daterangepicker.js"></script>
  14. </head>
  15. <body>
  16. <form name="form1" action="content_batchup_action.php" target="stafrm" method="post">
  17. <input type="hidden" name="dopost" value="go">
  18. <table class="table shadow-sm my-3">
  19. <tr>
  20. <td colspan="2">文档批量维护</td>
  21. </tr>
  22. <tr>
  23. <td width="260">选定栏目:</td>
  24. <td>
  25. <?php
  26. $tl = new TypeLink(0);
  27. $typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1);
  28. echo "<select name='typeid' class='admin-input-sm'>";
  29. echo "<option value='0' selected>不限栏目</option>";
  30. echo $typeOptions;
  31. echo "</select>";
  32. ?>
  33. </td>
  34. </tr>
  35. <tr>
  36. <td>会员登录id:</td>
  37. <td>
  38. <input name="userid" type="text" id="userid" class="admin-input-xs">
  39. <span>(网址uid=后面跟的id)</span>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td>文档id:</td>
  44. <td>
  45. <label>开始:<input name="startid" type="text" id="startid" class="admin-input-sm"></label>
  46. <label>结束:<input name="endid" type="text" id="endid" class="admin-input-sm"></label>
  47. </td>
  48. </tr>
  49. <tr>
  50. <td>文档发布时间:</td>
  51. <td>
  52. <label>开始<?php $nowtime = GetDateTimeMk(time()-(24*3600*30));?>:<input type="text" name="starttime" id="starttime" class="datepicker admin-input-sm" value="<?php echo $nowtime;?>"></label>
  53. <label>结束<?php $nowtime = GetDateTimeMk(time());?>:<input type="text" name="endtime" id="endtime" class="datepicker admin-input-sm" value="<?php echo $nowtime;?>"></label>
  54. <label><input type="checkbox" name="seltime" id="seltime" value="1"> 启用时间筛选(移动或删除文档可用该选项)</label>
  55. </td>
  56. </tr>
  57. <tr>
  58. <td>文档操作:</td>
  59. <td>
  60. <label><input type="radio" name="action" value="check" checked> 审核文档</label>
  61. <label><input type="radio" name="action" value="makehtml"> 更新网页</label>
  62. <label><input type="radio" name="action" value="move"> 移动文档</label>
  63. <label><input type="radio" name="action" value="del"> 删除文档</label>
  64. <label><input type="radio" name="action" value="delnulltitle"> 删除空标题文档</label>
  65. <label><input type="radio" name="action" value="delnullbody"> 删除空内容文档</label>
  66. <label><input type="radio" name="action" value="modddpic"> 更正缩图错误</label>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td colspan="2" align="center"><button type="button" name="b112" onclick="document.form1.submit();" class="btn btn-success btn-sm">开始操作</button></td>
  71. </tr>
  72. <tr>
  73. <td colspan="2">
  74. <div class="admin-win-iframe"><iframe name="stafrm" id="stafrm" frameborder="0" width="100%" height="100%"></iframe></div>
  75. </td>
  76. </tr>
  77. </table>
  78. </form>
  79. <script>
  80. $(document).ready(function() {
  81. $('.datepicker').daterangepicker({
  82. "singleDatePicker": true,
  83. "autoApply": true,
  84. "showDropdowns": true,
  85. "linkedCalendars": false,
  86. "timePicker": true,
  87. "timePicker24Hour": true,
  88. "timePickerSeconds": true,
  89. "showCustomRangeLabel": false,
  90. ranges: {
  91. '今日': [moment(), moment()],
  92. '昨日': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
  93. '本月': [moment().startOf('month'), moment().startOf('month')],
  94. '上月': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').startOf('month')]
  95. },
  96. "locale": {
  97. format: 'YYYY-MM-DD HH:mm:ss',
  98. applyLabel: '确定',
  99. cancelLabel: '取消',
  100. daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'],
  101. monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
  102. firstDay: 1
  103. }
  104. }, function(start) {
  105. $(this).val(start.format("YYYY-MM-DD HH:mm:ss"));
  106. });
  107. });
  108. </script>
  109. </body>
  110. </html>