<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="spiderforarticle.aspx.cs" Inherits="SearchEasy.SiteSearch.backend.spiderforarticle" %>
<!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=utf-8" />
<title>采集文章-搜易站内搜索引擎系统</title>
<link href="images/sdcms.css" rel="stylesheet" type="text/css" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<script language="javascript" src="images/sdcms.js" type="text/javascript"></script>
<script type="text/javascript" src="editor/xheditor/jquery.js"></script>
<script type="text/javascript" src="editor/xheditor/editor.js"></script>
</head>
<body>
<form id="Form1" runat="server">
<div class="sdcms_notice"><span>管理操作：</span></div>
<div id="sdcms_right_b">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" id="tagContent0">
   <tr>
      <td width="100" class="tdbg" colspan="2"><strong>采集文章</strong></td>
   </tr>
   <tr>
      <td width="100" class="tdbg" colspan="2">
       <%
           if (this.SpiderType == "url")
           {
       %>
         <script language="javascript" type="text/javascript">
            document.write("<a href='spiderforarticle.aspx?st=<%= this.SpiderType %>&taskguid=<%= TaskGuid %>&groupguid=<%= GroupGuid %>&step=<%= Step %>'>正在采集第 <b> <%= Step %> </b> 页地址，如长时间未变化，请点击此处</a>") ;
            window.location.href = "spiderforarticle.aspx?st=<%= this.SpiderType %>&taskguid=<%= TaskGuid %>&groupguid=<%= GroupGuid %>&step=<%= Step %>" ;
         </script>
       <%
           }
           else if (this.SpiderType == "content")
           {
       %>
         <script language="javascript" type="text/javascript">
            document.write("<a href='spiderforarticle.aspx?st=<%= this.SpiderType %>&taskguid=<%= TaskGuid %>&groupguid=<%= GroupGuid %>&step=<%= Step %>'>正在采集第 <b> <%= Step %> </b> 条记录，如长时间未变化，请点击此处</a>") ;
            window.location.href = "spiderforarticle.aspx?st=<%= this.SpiderType %>&taskguid=<%= TaskGuid %>&groupguid=<%= GroupGuid %>&step=<%= Step %>" ;
         </script>
       <% 
           }
           else if (this.SpiderType == "clear")
           {
               Response.Write("已经清空采集任务相关URL和文章数据！"); 
           }
           else
           {
               Response.Write("采集完毕！");
           }
       %>
      </td>
   </tr>
</table>  
</div>
</form>
</body>
</html>