<%@ Page Language="C#" MasterPageFile="../Admin.Master" AutoEventWireup="true" CodeBehind="SpiderRecord.aspx.cs"
    Inherits="ETongJin.Search.Web.Admin.SpiderRecord" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <table class="tableBorder" border="0" cellpadding="3" cellspacing="1">
    <tr>
      <th colspan="4">蜘蛛爬行记录</th>
    </tr>
    <tr>
      <td colspan="4">筛选：
        <asp:DropDownList ID="ddlStatus" runat="server" AutoPostBack="true" onselectedindexchanged="ddlStatus_SelectedIndexChanged">
          <asp:ListItem Text="不限" Value="-1" Selected="True"></asp:ListItem>
          <asp:ListItem Text="Google" Value="0"></asp:ListItem>
          <asp:ListItem Text="百度" Value="1"></asp:ListItem>
          <asp:ListItem Text="搜狗" Value="2"></asp:ListItem>
          <asp:ListItem Text="搜搜" Value="3"></asp:ListItem>
          <asp:ListItem Text="雅虎" Value="4"></asp:ListItem>
        </asp:DropDownList></td>
    </tr>
      
    <asp:Repeater ID="Repeater1" runat="server">
      <HeaderTemplate>
        <tr style="text-align:center;">
          <td class="td1"> 蜘蛛名称 </td>
          <td width="20%" class="td1"> URL地址 </td>
          <td width="15%" class="td1"> ip </td>
          <td width="15%" class="td1"> 时间 </td>
        </tr>
      </HeaderTemplate>
      <ItemTemplate>
        <tr style="text-align:center;">
          <td class="td4"><%#Eval("spider") %></td>
          <td class="td4"><a href='<%#Eval("url") %>' target="_blank">访问地址</a> </td>
          <td><a href="http://www.chasfz.com/s?tp=ip&wd=<%#Eval("ip") %>" target="_blank"><%#Eval("IP") %></a> </td>
          <td><%#Eval("addtime") %> </td>
        </tr>
      </ItemTemplate>
      <FooterTemplate>
        <tr>
          <td colspan="4" class="td3"><div id="tnt_pagination"> <%= PageStr%></div></td>
        </tr>
      <tr>
      <td colspan="7" class="td5">
      <asp:Button ID="Button1" runat="server" Text="全部删除" OnClientClick="return confirm('您确定删除选中的记录么?删除后不可恢复');" OnClick="Button2_Click" CssClass="btn02" onmouseover="this.className='btn04'" onmouseout="this.className='btn02'" />
      </td>
    </tr>
      </FooterTemplate>
    </asp:Repeater>
  </table>
  
</asp:Content>
