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

213 lines
9.1KB

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