<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HouTaiDenLuRiZhi.aspx.cs" Inherits="Admin_TongJi_HouTaiDenLuRiZhi" %>

<!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>无标题页</title>
    <link href="../Images/Admin.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../Images/Admin.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="height:18px">
        位置：访问统计 &gt; 管理员登录日志
        </div>
        <div style="height:5px"></div>
        <input type="button" value="清空管理员登录日志" onclick="if(confirm('真的要清空日志吗？')){location.href='HouTaiDenLuRiZhi_QingKong.aspx'}" />
        <div style="height:5px"></div>
        <table class="tab1" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="tab2_bt">
                            管理员登录日志
                            </td>
                        </tr>
                        <tr>
                            <td>
                    <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" CellSpacing="1" CssClass="tab3" GridLines="None" Width="100%" OnSorting="GridView1_Sorting">
                        <Columns>
                            <asp:TemplateField HeaderText="&lt;input type=&quot;checkbox&quot; onclick=&quot;this.checked?QuanXuan('d'):BuXuan('d')&quot; /&gt;ID"
                                SortExpression="ID">
                                <ItemTemplate>
                                    <input type="checkbox" name="d" value="<%# Eval("ID") %>" /><%# Eval("ID") %>
                                </ItemTemplate>
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="用户IP" DataFormatString="{0}" HeaderText="用户IP" SortExpression="用户IP">
                                <HeaderStyle Width="15%" />
                                <ItemStyle Width="15%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="用户地区" DataFormatString="{0}" HeaderText="用户地区">
                                <HeaderStyle Width="20%" />
                                <ItemStyle Width="20%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="用户浏览器" DataFormatString="{0}" HeaderText="用户浏览器">
                                <HeaderStyle Width="20%" />
                                <ItemStyle Width="20%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="用户昵称" DataFormatString="{0}" HeaderText="用户昵称">
                                <HeaderStyle Width="15%" />
                                <ItemStyle Width="15%" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="登录状态">
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                                <ItemTemplate>
                                <%# Convert.ToBoolean(Eval("登录状态"))?"登录成功":"登录失败" %>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="登录时间" DataFormatString="{0}" HeaderText="登录时间">
                                <HeaderStyle Width="10%" />
                                <ItemStyle Width="10%" />
                            </asp:BoundField>
                        </Columns>
                        <HeaderStyle CssClass="tab3_bt" />
                    </asp:GridView>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
        <asp:HiddenField ID="PaiXuZiDuan" runat="server" Value="ID" />
        <asp:HiddenField ID="PaiXuFangXiang" runat="server" Value="true" />
        <asp:Label ID="CaoZuoDaiMa" runat="server"></asp:Label>
    </form>
    <div style="height:5px"></div>
        <form method="get" action="HouTaiDenLuRiZhi.aspx">
        <asp:Panel ID="Panel1" runat="server" Style="text-align: right" Width="100%">
            <asp:Label ID="FenYeDaiMa" runat="server" Text="Label"></asp:Label></asp:Panel></form>
</body>
</html>
