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

204 lines
9.2KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>文档批量管理</title>
  6. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/admin.css">
  9. <link rel="stylesheet" href="../static/web/css/daterangepicker.css">
  10. <script src="../static/web/js/jquery.min.js" language="javascript" type="text/javascript"></script>
  11. <script type="text/javascript" src="../static/web/js/moment.min.js"></script>
  12. <script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
  13. <script language='javascript'>
  14. function ShowHideTime() {
  15. var selBox = document.getElementById('seltime');
  16. var obj = document.getElementById('seltimeField');
  17. if (selBox.checked) obj.style.display = "block";
  18. else obj.style.display = "none";
  19. }
  20. function ShowHideMove() {
  21. var selBox = document.getElementById('moveradio');
  22. var obj = document.getElementById('moveField');
  23. if (selBox.checked) obj.style.display = "block";
  24. else obj.style.display = "none";
  25. }
  26. $(document).ready(function () {
  27. $('.datepicker').daterangepicker({
  28. "singleDatePicker": true,
  29. "autoApply": true,
  30. "showDropdowns": true,
  31. "linkedCalendars": false,
  32. "timePicker": true,
  33. "timePicker24Hour": true,
  34. "timePickerSeconds": true,
  35. "showCustomRangeLabel": false,
  36. ranges: {
  37. '今日': [moment(), moment()],
  38. '昨日': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
  39. '本月': [moment().startOf('month'), moment().startOf('month')],
  40. '上月': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').startOf('month')]
  41. },
  42. "locale": {
  43. format: 'YYYY-MM-DD HH:mm:ss',
  44. applyLabel: '确定',
  45. cancelLabel: '取消',
  46. daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'],
  47. monthNames: ['一月', '二月', '三月', '四月', '五月', '六月',
  48. '七月', '八月', '九月', '十月', '十一月', '十二月'],
  49. firstDay: 1
  50. }
  51. }, function (start) {
  52. $(this).val(start.format("YYYY-MM-DD HH:mm:ss"));
  53. });
  54. })
  55. </script>
  56. </head>
  57. <body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'>
  58. <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable table-bordered mt-3">
  59. <form name="form1" action="content_batchup_action.php" target="stafrm" method="post">
  60. <input type="hidden" name="dopost" value="go">
  61. <tr>
  62. <td height="26" colspan="2" background='../static/web/img/tbg.gif'>
  63. <table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
  64. <tr>
  65. <td width="180" height="18" style="padding-left:10px">文档批量管理</td>
  66. <td align="right"></td>
  67. </tr>
  68. </table>
  69. </td>
  70. </tr>
  71. <tr>
  72. <td width="180" align="center" bgcolor="#FFFFFF">选定栏目:</td>
  73. <td bgcolor="#FFFFFF">
  74. <?php
  75. $tl = new TypeLink(0);
  76. $typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1);
  77. echo "<select name='typeid' style='width:300px'>\r\n";
  78. echo "<option value='0' selected>不限栏目</option>\r\n";
  79. echo $typeOptions;
  80. echo "</select>";
  81. ?>
  82. </td>
  83. </tr>
  84. <tr>
  85. <td height="26" align="center" bgcolor="#FFFFFF">起始ID:</td>
  86. <td height="26" bgcolor="#FFFFFF">开始:
  87. <input name="startid" type="text" id="startid" size="10">
  88. 结束:
  89. <input name="endid" type="text" id="endid" size="10"></td>
  90. </tr>
  91. <tr>
  92. <td height="26" align="center" bgcolor="#FFFFFF">档案发布时间:</td>
  93. <td height="26" bgcolor="#FFFFFF">
  94. <table width="500" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
  95. <tr>
  96. <td colspan="2"> <label>
  97. <input name="seltime" type="checkbox" class="np" id="seltime" value="1" onClick="ShowHideTime()">
  98. 启用时间筛选(仅移动或删除文档可用该选项)</label></td>
  99. </tr>
  100. <tr id='seltimeField' style='display:none' height='26'>
  101. <td width="250">开始:
  102. <?php $nowtime = GetDateTimeMk(time()-(24*3600*30)); ?>
  103. <input name="starttime" value="<?php echo $nowtime; ?>" type="text" id="starttime" class="datepicker">
  104. </td>
  105. <td width="250">结束:
  106. <?php $nowtime = GetDateTimeMk(time()); ?>
  107. <input name="endtime" value="<?php echo $nowtime; ?>" type="text" id="endtime" class="datepicker">
  108. </td>
  109. </tr>
  110. </table>
  111. </td>
  112. </tr>
  113. <tr>
  114. <td height="26" align="center" bgcolor="#FFFFFF">用户的登录id:</td>
  115. <td height="26" bgcolor="#FFFFFF"><input name="userid" type="text" id="userid" size="20">(网址uid=后面跟的id)</td>
  116. </tr>
  117. <tr>
  118. <td height="26" align="center" bgcolor="#FFFFFF">操作:</td>
  119. <td height="26" bgcolor="#FFFFFF">
  120. <label><input name="action" type="radio" class="np" id="checkradio" onClick="ShowHideMove()" value="check"
  121. checked='1' />
  122. 审核文档</label>
  123. <label><input name="action" type="radio" class="np" value="makehtml" id="makehtmlradio" onClick="ShowHideMove()">
  124. 更新HTML</label>
  125. <label><input name="action" type="radio" class="np" value="move" id="moveradio" onClick="ShowHideMove()">
  126. 移动文档</label>
  127. <label><input name="action" type="radio" class="np" id="delradio" value="del" onClick="ShowHideMove()">
  128. 删除文档</label></td>
  129. </tr>
  130. <tr height="26" bgcolor="#FFFFFF">
  131. <td height="26" align="center" bgcolor="#FFFFFF">移动选项:</td>
  132. <td height="26" bgcolor="#FFFFFF">
  133. <?php
  134. echo "<span id='moveField' style='display:none'>新位置:";
  135. echo "<select name='newtypeid' style='width:250px'>\r\n";
  136. echo $typeOptions;
  137. echo "</select>";
  138. echo "<hr>";
  139. echo "标题关键词:<input id='movekeyword' type='text' name='keyword' value='' ></span>";
  140. ?>
  141. </td>
  142. </tr>
  143. <tr>
  144. <td height="30" colspan="2" bgcolor="#ffffff" align="center">
  145. <button name="b112" type="button" onClick="document.form1.submit();" class="btn btn-success">开始操作</button>
  146. </td>
  147. </tr>
  148. </form>
  149. <tr bgcolor="#f8f8f8">
  150. <td height="26" colspan="2">
  151. <table width="100%" class="table table-borderless">
  152. <tr>
  153. <td width="74%">进行状态:</td>
  154. <td width="26%" align="right">
  155. <script language='javascript'>
  156. function ResizeDiv(obj, ty) {
  157. if (ty == "+") document.all[obj].style.pixelHeight += 50;
  158. else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  159. }
  160. </script>
  161. [<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>]
  162. </td>
  163. </tr>
  164. </table>
  165. </td>
  166. </tr>
  167. <tr bgcolor="#FFFFFF">
  168. <td colspan="2" id="mtd">
  169. <div id='mdv' style='width:100%;height:250px'>
  170. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  171. </div>
  172. </td>
  173. </tr>
  174. <form name="form2" action="content_batchup_action.php" target="stafrm" method="post">
  175. <input type="hidden" name="dopost" value="go">
  176. <tr>
  177. <td height="26" colspan="2" background='../static/web/img/tbg.gif'>
  178. <table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
  179. <tr>
  180. <td width="30%" height="18" style="padding-left:10px">错误文档修正:</td>
  181. <td width="70%" align="right"></td>
  182. </tr>
  183. </table>
  184. </td>
  185. </tr>
  186. <tr height="26" bgcolor="#FFFFFF">
  187. <td height="26" colspan="2" align="center" bgcolor="#FFFFFF">
  188. <label><input type='radio' value='delnulltitle' name='action' class='np' />
  189. 删除空标题的文章</label>
  190. <label><input type='radio' value='delnullbody' name='action' class='np' />
  191. 删除内容为空的文章</label>
  192. <label><input type='radio' value='modddpic' name='action' class='np' />
  193. 更正缩图错误</label>
  194. </td>
  195. </tr>
  196. <tr>
  197. <td height="30" colspan="2" bgcolor="#f8f8f8" align="center">
  198. <button name="b112" type="button" onClick="document.form2.submit();" class="btn btn-success">开始操作</button>
  199. </td>
  200. </tr>
  201. </form>
  202. </table>
  203. </body>
  204. </html>