co_url.htm
3.92 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!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();
location.href = "co_do.php?dopost=clear&ids="+nid;
}
function DelSel2()
{
var nid = getCheckboxItem();
location.href = "co_do.php?dopost=clear&clshash=true&ids="+nid;
}
function ClearCt()
{
var nid = getCheckboxItem();
location.href = "co_do.php?dopost=clearct&ids="+nid;
}
</script>
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D6D6D6" align="center">
<tr>
<td height="28" colspan="8" background='images/tbg.gif'>
<table width="96%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="20%" height="18" style="padding-left:10px;"><strong>临时内容管理:</strong></td>
<td width="80%" align="right">
<?php echo $exportbt; ?>
<input type="button" name="ba2" value="节点管理" class="coolbg np" style="width:80px" onClick="location.href='co_main.php';" />
<input type="button" name="ba1" value="清空下载内容" class="coolbg np" style="width:100px" onClick="location.href='co_do.php?dopost=clearall';" />
</td>
</tr>
</table>
</td>
</tr>
<tr align="center" height="26" bgcolor="#FBFCE2">
<td width="6%">选择</td>
<td width="30%">内容标题</td>
<td width="15%">所属节点</td>
<td width="10%">获取日期</td>
<td width="8%">下载</td>
<td width="8%">导出</td>
<td width="10%">预设栏目</td>
<td width="8%">来源网页</td>
</tr>
<form name="form1">
{dede:datalist}
<tr align="center" bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.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><a href='co_edit.php?nid={dede:field.nid/}'>{dede:field.notename/}</a></td>
<td>{dede:field.dtime function="GetDateMk(@me)" /}</td>
<td>{dede:field.isdown function="IsDownLoad(@me)" /}</td>
<td>{dede:field.isex function="IsExData(@me)" /}</td>
<td>{dede:field.typename /}</td>
<td><a href='{dede:field.url/}' target='_blank'>[源网址]</a></td>
</tr>
{/dede:datalist}
</form>
<tr>
<td height="30" colspan="8" bgcolor="#FCFDF7">
<input type="button" name="b11" value="反选" class="coolbg np" style="width:40px" onClick="ReSel();" />
<input type="button" name="b12" value="仅删除网址" class="coolbg np" style="width:80px" onClick="DelSel();" />
<input type="button" name="b13" value="仅清空内容" class="coolbg np" style="width:80px" onClick="ClearCt();" />
<input type="button" name="b14" value="删除网址及历史记录" class="coolbg np" style="width:120px" onClick="DelSel2();" />
</td>
</tr>
<tr>
<td height="36" colspan="8" bgcolor="#F9FCEF" align="center">
{dede:pagelist listsize=5/}
</td>
</tr>
</table>
</body>
</html>