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

81 lines
2.6KB

  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. if(nid=="")
  37. {
  38. alert("请选择节点!\r\n");
  39. return ;
  40. }
  41. location.href = "co_do.php?dopost=clear&ids="+nid;
  42. }
  43. </script>
  44. </head>
  45. <body background='images/allbg.gif' leftmargin='0' topmargin='0'>
  46. <table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center">
  47. <tr align="center" bgcolor="#FBFCE2">
  48. <td width="8%">选择</td>
  49. <td width="35%">内容标题</td>
  50. <td width="18%">所属节点</td>
  51. <td width="18%">获取日期</td>
  52. <td width="10%">是否下载</td>
  53. <td width="8%">来源</td>
  54. </tr>
  55. <form name='form1'>
  56. {dede:datalist}
  57. <tr align="center" bgcolor="#FFFFFF">
  58. <td><input type='checkbox' name='aids' value='{dede:field.aid/}' class='np'></td>
  59. <td><a href='co_view.php?aid={dede:field.aid/}''>{dede:field.title/}</a></td>
  60. <td>{dede:field.notename/}</td>
  61. <td>{dede:field.dtime function="GetDateMk(@me)" /}</td>
  62. <td>{dede:field.isdown function="IsDownLoad(@me)" /}</td>
  63. <td><a href='{dede:field.url/}' target='_blank'>[源网址]</a></td>
  64. </tr>
  65. {/dede:datalist}
  66. </form>
  67. <tr>
  68. <td height="28" colspan="6" bgcolor="#FCFDF7">&nbsp;
  69. <input type="button" name="b7" value="反选" class="coolbg np" style="width:40" onClick="ReSel();">    
  70. <input type="button" name="b5" value="删除所选网址" class="coolbg np" style="width:100" onClick="DelSel();"> 
  71. </td>
  72. </tr>
  73. <tr>
  74. <td height="30" colspan="6" bgcolor="#FCFDF7" align="center">
  75. {dede:pagelist listsize=5/}
  76. </td>
  77. </tr>
  78. </table>
  79. </body>
  80. </html>