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

215 lines
9.4KB

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