<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="spidertask.aspx.cs" Inherits="SearchEasy.SiteSearch.backend.spidertask" %>
<!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>
</head>
<body>
<form id="Form1" runat="server">
<div class="sdcms_notice"><span>管理操作：</span> <a href="spidergroup.aspx">返回采集分组</a> | <a href="spidertaskedit.aspx?action=add&groupguid=<%= GroupGuid %>">添加任务</a></div>
<br />
<ul id="sdcms_sub_title">
	<li class="sub"><a>采集任务</a></li>
</ul>
<div id="sdcms_right_b">
  <asp:DataGrid runat="server" ID="dgSpiderTaskList" AutoGenerateColumns="false" 
            BorderWidth="0" HorizontalAlign="Center" CellPadding="3" CellSpacing="1" 
            CssClass="table_b" HeaderStyle-CssClass="title_bg" 
            FooterStyle-BackColor="#ffffff" FooterStyle-HorizontalAlign="Center" FooterStyle-Height="33"
            UseAccessibleHeader="true" ShowFooter="false" ShowHeader="true" 
            DataKeyField="TaskGuid" onitemcommand="dgSpiderTaskList_ItemCommand" 
        onitemcreated="dgSpiderTaskList_ItemCreated">
     <Columns>
        <asp:TemplateColumn HeaderText="任务名称" ItemStyle-Height="33" ItemStyle-HorizontalAlign="Center">
           <ItemTemplate>
              <%# DataBinder.Eval(Container.DataItem, "TaskName")%>
           </ItemTemplate>
        </asp:TemplateColumn>
        <asp:TemplateColumn HeaderText="列表地址" ItemStyle-Height="33" ItemStyle-HorizontalAlign="Center">
           <ItemTemplate>
              <%# DataBinder.Eval(Container.DataItem, "ListUrl")%>
           </ItemTemplate>
        </asp:TemplateColumn>
        <asp:TemplateColumn HeaderText="管理操作" ItemStyle-HorizontalAlign="Center">
             <ItemTemplate>
                <a href="spidertaskedit.aspx?action=edit&taskguid=<%# DataBinder.Eval(Container.DataItem, "TaskGuid")%>&groupguid=<%# DataBinder.Eval(Container.DataItem, "GroupGuid")%>">编辑</a> |
                <a href="spiderforarticle.aspx?st=url&taskguid=<%# DataBinder.Eval(Container.DataItem, "TaskGuid")%>&groupguid=<%# DataBinder.Eval(Container.DataItem, "GroupGuid")%>">初次采网址</a> | 
                <a href="spiderforarticle.aspx?st=url&update=yes&taskguid=<%# DataBinder.Eval(Container.DataItem, "TaskGuid")%>&groupguid=<%# DataBinder.Eval(Container.DataItem, "GroupGuid")%>">更新采网址</a> | 
                <a href="spiderforarticle.aspx?st=content&taskguid=<%# DataBinder.Eval(Container.DataItem, "TaskGuid")%>&groupguid=<%# DataBinder.Eval(Container.DataItem, "GroupGuid")%>">采内容</a> | 
                <a href="spiderforarticle.aspx?st=clear&taskguid=<%# DataBinder.Eval(Container.DataItem, "TaskGuid")%>&groupguid=<%# DataBinder.Eval(Container.DataItem, "GroupGuid")%>">清空</a> |
                <asp:LinkButton runat="server" ID="lnkDelete" CommandArgument="DeleteInfo" Text="删除" />
             </ItemTemplate>
        </asp:TemplateColumn>
     </Columns>
  </asp:DataGrid>
</div>
</form>
</body>
</html>
