<%@ page language="C#" autoeventwireup="true" inherits="Admin_AdminLog_AdminLog, App_Web_jtgmt4-p" enableEventValidation="false" theme="theme1" stylesheettheme="theme1" %>

<!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 runat="server">
    <title>PassionCMS2.0</title>
</head>

<script language="javascript" src="JScript.js"></script>

<body bgcolor="#DBEAF5">
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td background="../images/Top_line_3.gif" height="2">
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%" id="Table4" style="background-color: #3390C6;">
                        <tr>
                            <td height="27" width="20">
                            </td>
                            <td width="80" align="center" background='../images/Menu_selected_bg.gif'>
                                <a href="AdminLog.aspx">登录日志列表</a>
                            </td>
                            <td width="80" align="center">
                            </td>
                            <td>
                                &nbsp;</td>
                            <td width="10">
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td background="../images/Sub_menu_bg.gif" height="24">
                    <table class="O" cellspacing="0" cellpadding="0" width="100%" border="0" id="Table6">
                        <tbody>
                            <tr>
                                <td width="20">
                                    &nbsp;</td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="10">
                </td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td width="3%">
                </td>
                <td>
                    <asp:GridView ID="gvAdminLogin" runat="server" AutoGenerateColumns="false" Width="488px"
                        OnRowDataBound="gvAdminLogin_RowDataBound" SkinID="gridviewSkin1">
                        <Columns>
                            <asp:TemplateField HeaderText="序号">
                                <HeaderStyle Width="40" HorizontalAlign="Left" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <asp:Label ID="lblID1" Visible="false" runat="server" Text='<%# Server.HtmlEncode(DataBinder.Eval(Container.DataItem,"ID","")) %>'></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="UserID" HeaderText="登录名称" ItemStyle-HorizontalAlign="center" />
                            <asp:BoundField DataField="UserName" HeaderText="用户姓名" ItemStyle-HorizontalAlign="center" />
                            <asp:BoundField DataField="LoginTime" HeaderText="登录时间" ItemStyle-HorizontalAlign="center" />
                            <asp:TemplateField HeaderText="结果">
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemTemplate>
                                    <asp:Label ID="lblValid" runat="server"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="Reason" HeaderText="说明" ItemStyle-HorizontalAlign="center" />
                        </Columns>
                    </asp:GridView>
                </td>
                <td width="3%">
                </td>
            </tr>
            <tr width="5">
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td width="3%">
                </td>
                <td>
                    <table style="border: 0px; width: 100%;" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="text-align: left; height: 25px;">
                                <asp:Button ID="btnDelete" runat="server" OnClick="btnDelete_Click" Text="清除日志" />&nbsp;
                            </td>
                            <td style="text-align: right; height: 25px;">
                                <asp:Label ID="lblListInfo" runat="server"></asp:Label>
                                &nbsp; 每页<asp:DropDownList ID="ddlPageSize" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
                                    <asp:ListItem Value="10" Text="10"></asp:ListItem>
                                    <asp:ListItem Value="20" Text="20"></asp:ListItem>
                                    <asp:ListItem Value="50" Text="50"></asp:ListItem>
                                    <asp:ListItem Value="100" Text="100"></asp:ListItem>
                                </asp:DropDownList>条
                                <asp:LinkButton ID="lbFirst" runat="server" Text="首页" OnClick="lb_Click"></asp:LinkButton>
                                <asp:LinkButton ID="lbForward" runat="server" Text="上一页" OnClick="lb_Click"></asp:LinkButton>
                                <asp:LinkButton ID="lbNext" runat="server" Text="下一页" OnClick="lb_Click"></asp:LinkButton>
                                <asp:LinkButton ID="lbLast" runat="server" Text="尾页" OnClick="lb_Click"></asp:LinkButton>
                                跳至<asp:TextBox ID="txtToPageNo" runat="server" MaxLength="6" Width="38px"></asp:TextBox>页
                                <asp:Button ID="btnGo" runat="server" OnClick="btnGo_Click" Text="GO" />
                            </td>
                            <td align="right">
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="3%">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
