co_url_2.htm
2.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>采集内容管理</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<script language="javascript">
//获得选中文件的文件名
function getCheckboxItem()
{
var allSel="";
if(document.form1.aids.value) return document.form1.aids.value;
for(i=0;i<document.form1.aids.length;i++)
{
if(document.form1.aids[i].checked)
{
if(allSel=="")
allSel=document.form1.aids[i].value;
else
allSel=allSel+"`"+document.form1.aids[i].value;
}
}
return allSel;
}
function ReSel()
{
for(i=0;i<document.form1.aids.length;i++)
{
if(document.form1.aids[i].checked) document.form1.aids[i].checked = false;
else document.form1.aids[i].checked = true;
}
}
function DelSel()
{
var nid = getCheckboxItem();
if(nid=="")
{
alert("请选择节点!\r\n");
return ;
}
location.href = "co_do.php?dopost=clear&ids="+nid;
}
</script>
</head>
<body background='images/allbg.gif' leftmargin='0' topmargin='0'>
<table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center">
<tr align="center" bgcolor="#FBFCE2">
<td width="8%">选择</td>
<td width="35%">内容标题</td>
<td width="18%">所属节点</td>
<td width="18%">获取日期</td>
<td width="10%">是否下载</td>
<td width="8%">来源</td>
</tr>
<form name='form1'>
{dede:datalist}
<tr align="center" bgcolor="#FFFFFF">
<td><input type='checkbox' name='aids' value='{dede:field.aid/}' class='np'></td>
<td><a href='co_view.php?aid={dede:field.aid/}''>{dede:field.title/}</a></td>
<td>{dede:field.notename/}</td>
<td>{dede:field.dtime function="GetDateMk(@me)" /}</td>
<td>{dede:field.isdown function="IsDownLoad(@me)" /}</td>
<td><a href='{dede:field.url/}' target='_blank'>[源网址]</a></td>
</tr>
{/dede:datalist}
</form>
<tr>
<td height="28" colspan="6" bgcolor="#FCFDF7">
<input type="button" name="b7" value="反选" class="coolbg np" style="width:40" onClick="ReSel();">
<input type="button" name="b5" value="删除所选网址" class="coolbg np" style="width:100" onClick="DelSel();">
</td>
</tr>
<tr>
<td height="30" colspan="6" bgcolor="#FCFDF7" align="center">
{dede:pagelist listsize=5/}
</td>
</tr>
</table>
</body>
</html>