<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="errlogs.aspx.cs" Inherits="Kcms.UI.admin.errlogs" %>
<%@ Register assembly="PageNavigator" namespace="KcNavigator" tagprefix="Kc" %>
<!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>
    <title></title>
    <link href="skins/work-style.css" rel="stylesheet" type="text/css" />
    <script src="/inc/artDialog/artDialog.min.js" type="text/javascript"></script>
<script type="text/javascript">
    function CheckAll(form) {
        for (var i = 0; i < form.elements.length; i++) {
            var e = form.elements[i];
            if (e.name.indexOf('chkbox') != -1)
                e.checked = form.chkall.checked;
        }
    }
</script>
</head>
<body>
    <form id="form2" runat="server">
<div class="container">
 <div class="path clearfix"><div class="l"><h4><img src="skins/icon/complaintmanangement_summ.gif" align="absmiddle" />错误记录</h4></div><div class="r"><asp:Literal ID="litAdv" runat="server"></asp:Literal></div></div>
 <div class="mbox clearfix">
  <div class="left">
    <a href="?" class="on">错误记录</a>
  </div>
  <div class="right">
<table class="rtable" width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
  <td align="center" width="5%">选择</td>
  <td align="center">地址</td>
  <td align="center">Agent</td>
  <td align="center">UrlReferrer</td>
  <td align="center">IP</td>
  <td align="center">时间</td>
</tr> 
    <asp:Repeater ID="rptList" runat="server">
    <ItemTemplate>
<tr>
  <asp:HiddenField ID="hidId" runat="server" Value='<%#Eval("id") %>'/>
  <td align="center"><asp:CheckBox ID="chkbox" runat="server"/></td>
  <td><%#Eval("url") %></td>
  <td align="center"><%#Eval("agent") %></td>
  <td align="center"><%#Eval("refer") %></td>
  <td align="center"><%#Eval("ip") %></td>
  <td align="center"><%#Eval("addtime") %></td>
</tr>    
    </ItemTemplate>
    </asp:Repeater>
<tr>
  <td colspan="6">
      <label>&nbsp; <input id="chkall" onclick="CheckAll(form)" type="checkbox" />全选/全不选</label>
       <asp:Button ID="Btndel" runat="server" Text="删除所选?" onclick="Btndel_Click" 
          onclientclick="return confirm('确认删除么？')" CssClass="btn0" />
          　<asp:Button ID="Button1" runat="server" Text="删除10天前记录?" onclick="Button1_Click" 
          onclientclick="return confirm('确认删除么？')" CssClass="btn0" />
</td>

</tr>
</table>
<Kc:PageNavigator ID="PageNavigator1" runat="server" CssClass="pager" onchangepageclick="PageNavigator1_ChangePageClick" />
  </div>
 </div>
</div>
</form>
</body>
</html>