<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="spidersitelist.aspx.cs" Inherits="SearchEasy.SiteSearch.backend.spidersitelist" %>
<!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="spidermodellist.aspx">采集模型管理</a> | <a href="spidersiteedit.aspx?action=add&modelGuid=<%= ModelGuid %>">新增采集点</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="dgSpiderSiteList" 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="SiteGuid" onitemcommand="dgSpiderSiteList_ItemCommand" 
        onitemcreated="dgSpiderSiteList_ItemCreated">
     <Columns>
        <asp:TemplateColumn HeaderText="采集点名称" ItemStyle-Height="33" ItemStyle-HorizontalAlign="Center">
           <ItemTemplate>
              <%# DataBinder.Eval(Container.DataItem, "SiteName")%>
           </ItemTemplate>
        </asp:TemplateColumn>
        <asp:TemplateColumn HeaderText="采集首页URL" ItemStyle-Height="33" ItemStyle-HorizontalAlign="Center">
           <ItemTemplate>
              <%# DataBinder.Eval(Container.DataItem, "SiteUrl")%>
           </ItemTemplate>
        </asp:TemplateColumn>
        <asp:TemplateColumn HeaderText="采集点文件名" ItemStyle-Height="33" ItemStyle-HorizontalAlign="Center">
           <ItemTemplate>
              <%# DataBinder.Eval(Container.DataItem, "SiteGuid")%>
           </ItemTemplate>
        </asp:TemplateColumn>
        <asp:TemplateColumn HeaderText="管理操作" ItemStyle-HorizontalAlign="Center">
             <ItemTemplate>
                <a href="spidersiteedit.aspx?action=edit&siteGuid=<%# DataBinder.Eval(Container.DataItem, "SiteGuid")%>&modelGuid=<%# DataBinder.Eval(Container.DataItem, "ModelGuid")%>">编辑</a> |
                <asp:LinkButton runat="server" ID="lnkDelete" CommandArgument="DeleteInfo" Text="删除" />
             </ItemTemplate>
        </asp:TemplateColumn>
     </Columns>
  </asp:DataGrid>
  <table border="0" align="center" cellpadding="3" cellspacing="1" class="table_b">
  <tr>
     <td colspan="9" class="tdbg">
      备注：<br />
     </td>
  </tr>
  </table>
</div>
</form>
</body>
</html>
