<!--#include file="AspCms_CollectFun.asp" -->
<%CheckLogin()%>
<!doctype html>
<html>
<head>
<title>数据采集</title>
<meta charset="utf-8">
<link 
href="style.css" type=text/css rel=stylesheet>
<script>
function SelAll(theForm){
		for ( i = 0 ; i < theForm.elements.length ; i ++ )
		{
			if ( theForm.elements[i].type == "checkbox" && theForm.elements[i].name != "SELALL" )
			{
				theForm.elements[i].checked = ! theForm.elements[i].checked ;
			}
		}
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='?action=Scollect&Collectid="+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
</script></head>
<body>

<form name="" action="?" method="post">
<div class=searchzone>
<table height=30 cellSpacing=0 cellPadding=0 width="100%" border=0>
  <tbody>
  <tr>
    <td height=30>&nbsp;</td>
    <td align=right colSpan=2><span class="piliang">
      <input class=button type="button" value=采集规则管理 name=cc2 onClick="window.location.href='AspCms_Collect.asp'">
    </span></td>
  </tr></tbody></table></div>
<div class=tablezone>
<div class=searchzone>
<div class=namezone>1.采集规则编写</FONT>  → 2.链接过滤  →  3.文章采集储存  →  <FONT color=#ff0000>4.文章归类发布</FONT></div>
</div><table height=30 cellSpacing=0 cellPadding=0 width="100%" border=0>
  <tbody>
  <tr>
    <td height=30>
      关键词：
        <input class="input" size="16" name="keyword" value="<%=keyword%>">
      <input class="button" type="submit" value="搜索" name="Submit" onClick="form.action='?<%="&keyword="&keyword&"&page=&psize="&psize&"&order="&order&"&ordsc="&ordsc&""%>';">
      <input onClick="location.href='<%=getPageName()%>?action=Ctoo'" type="button" value="全部" class="button" /></td>
    <td align=right colSpan=2>&nbsp;</td>
  </tr></tbody></table>
<div class=listzone>
<table cellSpacing=0 cellPadding=3 width="100%" align=center border=0>
  <tbody>
  <tr class=list>
    <td width=47 align="center" class=biaoti>选择</td>
    <td width=46 align="center" class=biaoti>编号</td>
    <td height=28 align="center" class=biaoti><span class="searchzone">标题</span></td>
    <td width=134 align="center" class=biaoti>采集时间</td>
    <td width=134 align="center" class=biaoti><span class="searchzone">操作</span></td>
    </tr>
	<%Ctoolist%>
    </tbody></table>
</div>
<div class="piliang">
<input onClick="SelAll(this.form)" type="checkbox" value="1" name="SELALL"> 全选&nbsp;
<input class="button" type="submit" value="删除" onClick="if(confirm('确定要删除吗')){form.action='?action=contentdel<%="&keyword="&keyword&"&page="&page&"&psize="&psize&"&order="&order&"&ordsc="&ordsc&""%>';}else{return false};"/>  

 发布到:
 <%LoadSelect "moveSortID","Aspcms_Sort","SortName","SortID",getForm("id","get"), 0," and SortType<>1 and SortType<>7 order by SortOrder","请选择分类"%>
 <label>
 <input type="checkbox" name="isdel" id="isdel" value="del">
 发布完成删除临时内容
 <input class="button" type="submit" value="发布" onClick="form.action='?action=addContent<%="&keyword="&keyword&"&page="&page&"&psize="&psize&"&order="&order&"&ordsc="&ordsc&""%>';"/>
 </label>
</div></div>
</form>

</body>
</html>