<%@ page language="C#" autoeventwireup="true" inherits="Admin_Admin_LogList, App_Web_ahimsrpm" %>

<html>
<head>
    <title>系统日志管理列表</title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <link type="text/css" href="../css/Admin.css" rel="stylesheet" />
    <script type="text/javascript" language="javascript" src="js/jscheckbox.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div style="margin: 0px auto 0px auto; text-align: left;">
            <div class="tips">
                系统日志管理，可选择系统日志类别查看相应信息！
            </div>
            <table>
                <tr>
                    <td>
                        系统日志类别：
                        <asp:DropDownList ID="dropLog" runat="server" AutoPostBack="true" OnSelectedIndexChanged="dropLog_SelectedIndexChanged"></asp:DropDownList>
                        <Ws:Button ID="btn_Dels" Styles="WebButton" Format-Value="正在删除选中，请稍候......" Type="Wait"
                            Text="删除选中" runat="server" OnClick="btn_Dels_Click" />
                            </td>
                </tr>
            </table>
            <table class="main" style="margin-top: 10px; margin-bottom: 10px;" border="1">
                <thead>
                    <tr>
                        <td>
                            <input name="chkall" value="1" type="checkbox" onclick="javascript:CheckAll(this,'Item')" />
                        </td>
                        <td>
                            添加者</td>
                        <td>
                            IP地址</td>
                        <td>
                            添加时间</td>
                        <td>
                            操作
                        </td>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater ID="repLoglist" runat="server">
                        <ItemTemplate>
                            <tr>
                            <td>
                                    <input name="Item" type="checkbox" value='<%# Eval("id")%>' />
                                </td>
                                <td>
                                    <%# Eval("adderLoginName")%>
                                </td>
                                <td>
                                    <%# Eval("IPAddress")%>
                                </td>
                                <td>
                                    <%# Eval("addtime")%>
                                </td>
                                <td>
                                    <a href="Admin_LogEdit.aspx?action=edits&id=<%# Eval("id") %>">查看详细信息</a>                                  
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
             <webdiyer:AspNetPager ID="AspNetPager1" runat="server" AlwaysShow="true" FirstPageText="[首页]"
                LastPageText="[尾页]" NextPageText="[后页]" PrevPageText="[前页]" CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条"
                ShowCustomInfoSection="Right" OnPageChanged="AspNetPager1_PageChanged">
            </webdiyer:AspNetPager>
        </div>
    </form>
</body>
</html>
