74 lines
3.2 KiB
Plaintext
74 lines
3.2 KiB
Plaintext
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_User_Online2.aspx.cs" Inherits="Mtxfw.shop._Admin.admin_User_Online2" %>
|
||
|
|
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
|
||
|
|
<!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="css/style.css" rel="stylesheet" type="text/css" />
|
||
|
|
<link href="css/Burgundy.css" rel="stylesheet" type="text/css" />
|
||
|
|
<script src="/Scripts/jquery-1.7.2.js" type="text/javascript"></script>
|
||
|
|
<script src="/Scripts/setdate.js" type="text/javascript"></script>
|
||
|
|
<script type="text/javascript">
|
||
|
|
var search2 = function () {
|
||
|
|
var key = document.getElementById('text_key');
|
||
|
|
location.href = 'admin_User_Online2.aspx?key=" + escape(key.value) + "";
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
</script>
|
||
|
|
</head>
|
||
|
|
<body>
|
||
|
|
<form id="form1" runat="server">
|
||
|
|
<div class="main">
|
||
|
|
<div class="bt1">会员登录记录管理</div>
|
||
|
|
|
||
|
|
<div class="bt3" id="p_table">
|
||
|
|
<div class="ltitle">用户名:<input id="text_key" type="text" style=" width:200px;" /> <input id="Member_search" type="button" value="查询用户" onclick="search2()" class="chaxun" />
|
||
|
|
</div>
|
||
|
|
<table width="100%" class="addtable">
|
||
|
|
|
||
|
|
<tr>
|
||
|
|
<th>SessionID</th>
|
||
|
|
<th class=" Blue"><a href="admin_User_Online2.aspx?order=0">登录时间</a></th>
|
||
|
|
<th>登录IP</th>
|
||
|
|
<th>登录域名</th>
|
||
|
|
<th>登录ID</th>
|
||
|
|
<th class=" Blue"><a href="admin_User_Online2.aspx?order=1">是否在线</a></th>
|
||
|
|
<th>退出时间</th>
|
||
|
|
</tr>
|
||
|
|
<asp:Repeater ID="Repeater1" runat="server">
|
||
|
|
<ItemTemplate>
|
||
|
|
<tr class="nopadding" <%#(Container.ItemIndex + 1)%2==0?"bgColor=\"#f4f4f4\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#f4f4f4\"'":"bgColor=\"#ffffff\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#ffffff\"'"%>>
|
||
|
|
<td><%#Eval("SessionId")%></td>
|
||
|
|
<td><%#Eval("InTime")%></td>
|
||
|
|
<td><%#Eval("IP")%></td>
|
||
|
|
<td><%#Eval("MAC")%></td>
|
||
|
|
<td><%#Eval("CMemberId")%></td>
|
||
|
|
<td><%#Eval("IsOnline").ToString()=="1"?"是":"否"%></td>
|
||
|
|
<td><%#Eval("OutTime")%></td>
|
||
|
|
</tr>
|
||
|
|
</ItemTemplate>
|
||
|
|
</asp:Repeater>
|
||
|
|
|
||
|
|
<tr>
|
||
|
|
<td colspan="9" style="text-align:center">
|
||
|
|
<webdiyer:AspNetPager ID="MyPager" AlwaysShow="true" runat="server"
|
||
|
|
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
|
||
|
|
CustomInfoHTML="共 <font color="red">%RecordCount%</font> 条记录 当前 <font color="red">%CurrentPageIndex%/%PageCount%</font> 页"
|
||
|
|
PrevPageText="上一页" ShowPageIndexBox="Always" ShowCustomInfoSection="Left"
|
||
|
|
SubmitButtonText="Go" TextAfterPageIndexBox="页" ShowBoxThreshold="100"
|
||
|
|
CurrentPageButtonPosition="Center" ShowMoreButtons="False" PageIndexBoxType="DropDownList"
|
||
|
|
TextBeforePageIndexBox="转到" UrlPaging="True">
|
||
|
|
</webdiyer:AspNetPager>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
</form>
|
||
|
|
</body>
|
||
|
|
</html>
|