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

79 lines
3.0KB

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