| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TVOnlineUserList.aspx.cs"
- Inherits="CB.Admin.Plugins.TVServer.TVOnlineUserList" %>
- <%@ Import Namespace="System.ComponentModel" %>
- <%@ Import Namespace="CB.Entity" %>
- <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
- <!DOCTYPE html>
- <html>
- <head>
- <title>TV在线用户列表</title>
- <link href="../../static/css/main.css" rel="stylesheet" type="text/css" />
- <script src="../../static/js/jquery.js" type="text/javascript"></script>
- <style type="text/css">
- .style1
- {
- height: 31px;
- }
- </style>
- </head>
- <body>
- <form id="Form1" runat="server">
- <div class="box">
- <div class="title">
- <span>TV在线用户列表</span>
- </div>
- <div class="content">
- <div class="bar">
- 用户MAC地址:
- <asp:TextBox ID="txtMAC" runat="server"></asp:TextBox>
- <%-- 是否锁定:<asp:DropDownList ID="dpLock" runat="server">
- <asp:ListItem Value="-1">==请选择==</asp:ListItem>
- <asp:ListItem Value="0">==在线==</asp:ListItem>
- <asp:ListItem Value="1">==锁定==</asp:ListItem>
- </asp:DropDownList>
- --%>
- <asp:Button ID="btnSearch" runat="server" Text="查 询" OnClick="btnSearch_Click"></asp:Button>
- </div>
- <div class="listtable">
- <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <th>
- 用户名称
- </th>
- <th>
- 用户校验码
- </th>
- <th>
- 请求时间
- </th>
- <th>
- 操 作
- </th>
- </tr>
- <asp:Repeater ID="repeaterList" runat="server" OnItemCommand="repeaterList_ItemCommand">
- <ItemTemplate>
- <tr>
- <td>
- <%#DataBinder.Eval(Container.DataItem, "UserName")%>
- </td>
- <td>
- <%#DataBinder.Eval(Container.DataItem, "Sign")%>
- </td>
- <td>
- <%#DataBinder.Eval(Container.DataItem, "RequestTime")%>
- </td>
- <td>
- <asp:LinkButton ID="btn_isLock" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem,"UserName").ToString()%>'
- CommandName="isLock" Visible='True'><%#GetStatus(DataBinder.Eval(Container.DataItem, "UserName"))%></asp:LinkButton>
- </td>
- </tr>
- </ItemTemplate>
- </asp:Repeater>
- <tr>
- <td colspan="7">
- <div class="pager">
- <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CurrentPageButtonPosition="Center"
- CustomInfoHTML="第%CurrentPageIndex%页,共%PageCount%页,每页%PageSize%条,共%RecordCount%条"
- ShowCustomInfoSection="Right" UrlPageIndexName="p" FirstPageText="第一页" LastPageText="最后一页"
- NextPageText="下一页" OnPageChanged="AspNetPager1_PageChanged" PageSize="15" PagingButtonSpacing="14px"
- PrevPageText="上一页" ShowPageIndexBox="Never" AlwaysShow="true">
- </webdiyer:AspNetPager>
- </div>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </form>
- </body>
- </html>
|