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

106 lines
4.0KB

  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 href="css/base.css" rel="stylesheet" type="text/css">
  7. <script language="javascript">
  8. //获得选中文件的文件名
  9. function getCheckboxItem()
  10. {
  11. var allSel="";
  12. if(document.form1.aids.value) return document.form1.aids.value;
  13. for(i=0;i<document.form1.aids.length;i++)
  14. {
  15. if(document.form1.aids[i].checked)
  16. {
  17. if(allSel=="")
  18. allSel=document.form1.aids[i].value;
  19. else
  20. allSel=allSel+","+document.form1.aids[i].value;
  21. }
  22. }
  23. return allSel;
  24. }
  25. function ReSel()
  26. {
  27. for(i=0;i<document.form1.aids.length;i++)
  28. {
  29. if(document.form1.aids[i].checked) document.form1.aids[i].checked = false;
  30. else document.form1.aids[i].checked = true;
  31. }
  32. }
  33. function DelSel()
  34. {
  35. var nid = getCheckboxItem();
  36. location.href = "co_do.php?dopost=clear&ids="+nid;
  37. }
  38. function DelSel2()
  39. {
  40. var nid = getCheckboxItem();
  41. location.href = "co_do.php?dopost=clear&clshash=true&ids="+nid;
  42. }
  43. function ClearCt()
  44. {
  45. var nid = getCheckboxItem();
  46. location.href = "co_do.php?dopost=clearct&ids="+nid;
  47. }
  48. </script>
  49. </head>
  50. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  51. <table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center">
  52. <tr>
  53. <td height="28" colspan="8" background='images/tbg.gif'>
  54. <table width="96%" border="0" cellpadding="0" cellspacing="0">
  55. <tr>
  56. <td width="20%" height="18" style="padding-left:10px;"><strong>临时内容管理:</strong></td>
  57. <td width="80%" align="right">
  58. <?php echo $exportbt; ?>
  59. <input type="button" name="ba2" value="节点管理" class="coolbg np" style="width:80px" onClick="location.href='co_main.php';" />
  60. <input type="button" name="ba1" value="清空下载内容" class="coolbg np" style="width:100px" onClick="location.href='co_do.php?dopost=clearall';" />
  61. </td>
  62. </tr>
  63. </table>
  64. </td>
  65. </tr>
  66. <tr align="center" height="26" bgcolor="#FBFCE2">
  67. <td width="6%">选择</td>
  68. <td width="30%">内容标题</td>
  69. <td width="15%">所属节点</td>
  70. <td width="10%">获取日期</td>
  71. <td width="8%">下载</td>
  72. <td width="8%">导出</td>
  73. <td width="10%">预设栏目</td>
  74. <td width="8%">来源网页</td>
  75. </tr>
  76. <form name="form1">
  77. {dede:datalist}
  78. <tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
  79. <td><input type='checkbox' name='aids' value='{dede:field.aid/}' class='np'></td>
  80. <td><a href='co_view.php?aid={dede:field.aid/}'>{dede:field.title/}</a></td>
  81. <td><a href='co_edit.php?nid={dede:field.nid/}'>{dede:field.notename/}</a></td>
  82. <td>{dede:field.dtime function="GetDateMk(@me)" /}</td>
  83. <td>{dede:field.isdown function="IsDownLoad(@me)" /}</td>
  84. <td>{dede:field.isex function="IsExData(@me)" /}</td>
  85. <td>{dede:field.typename /}</td>
  86. <td><a href='{dede:field.url/}' target='_blank'>[源网址]</a></td>
  87. </tr>
  88. {/dede:datalist}
  89. </form>
  90. <tr>
  91. <td height="30" colspan="8" bgcolor="#FCFDF7">&nbsp;
  92. <input type="button" name="b11" value="反选" class="coolbg np" style="width:40px" onClick="ReSel();" />  
  93. <input type="button" name="b12" value="仅删除网址" class="coolbg np" style="width:80px" onClick="DelSel();" />
  94. <input type="button" name="b13" value="仅清空内容" class="coolbg np" style="width:80px" onClick="ClearCt();" />
  95. <input type="button" name="b14" value="删除网址及历史记录" class="coolbg np" style="width:120px" onClick="DelSel2();" />
  96. </td>
  97. </tr>
  98. <tr>
  99. <td height="36" colspan="8" bgcolor="#F9FCEF" align="center">
  100. {dede:pagelist listsize=5/}
  101. </td>
  102. </tr>
  103. </table>
  104. </body>
  105. </html>