<%@ page language="C#" autoeventwireup="true" inherits="admin_usernetwork, xnzy-radius-web_deploy" %>

<!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 id="Head1" runat="server">

    <title>在线用户处理-后台管理系统</title>
    
  
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 1000px; height: 220px; font-size: 9pt; " 
            cellpadding="0" cellspacing="0" align="center" border="1" 
            bordercolor="#cccc66">
            <tr>
                <td style="vertical-align: top; text-align: center;">
                        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="16pt" 
                            ForeColor="#CC3300" Text="用户网络登陆情况" Font-Underline="True"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: center;">
                        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                            AutoGenerateColumns="False" onrowcommand="GridView1_RowCommand1" PageSize="25" 
                            Width="100%" onpageindexchanging="GridView1_PageIndexChanging" 
                            onselectedindexchanged="GridView1_SelectedIndexChanged">
                            <Columns>
                                <asp:BoundField DataField="log_id" HeaderText="序号" />
                                <asp:BoundField DataField="log_user" HeaderText="宽带用户名" />
                                <asp:BoundField DataField="log_time" HeaderText="登陆时间" />
                                <asp:BoundField DataField="log_endtime" HeaderText="结束日期" />
                                <asp:BoundField DataField="session_time" HeaderText="统计次数" />
                                <asp:BoundField DataField="log_ip" HeaderText="登陆地址" />
                                <asp:BoundField DataField="log_mac" HeaderText="MAC地址" />
                                <asp:BoundField DataField="log_outputpacket" HeaderText="下行字节" />
                                <asp:BoundField DataField="log_inputpacket" HeaderText="上行字节" />
                                <asp:BoundField DataField="log_reason" HeaderText="下线原因" />
                                <asp:TemplateField HeaderText="操作">
                                    <ItemTemplate>
                                               <asp:LinkButton ID="LinkButton1" runat="server" 
                                                   CommandArgument='<%# Eval("log_id") %>' CommandName="DelCmd" 
                                                   onclientclick="return confirm(' 您确定要删除该条日志吗? ');">删除</asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;">
                    <asp:Button ID="Button2" runat="server" Height="39px" onclick="Button2_Click" 
                        Text="全部删除" Width="100px" />
                    <asp:Button ID="Button1" runat="server" Height="39px" onclick="Button1_Click" 
                        Text="返回管理" Width="100px" />
                </td>
            </tr>
            </table>
    </div>
    </form>
</body>
</html>

