代码修改后的版本,全部提交
This commit is contained in:
73
Mtxfw.shop/_Admin/admin_User_log.aspx
Normal file
73
Mtxfw.shop/_Admin/admin_User_log.aspx
Normal file
@@ -0,0 +1,73 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="admin_User_log.aspx.cs" Inherits="Mtxfw.shop._Admin.admin_User_log" %>
|
||||
<%@ 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.4.4.min.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_log.aspx?key=" + escape(key.value) + "";
|
||||
|
||||
};
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div class="main">
|
||||
<div class="bt1">网站统计 - 访问页面详情</div>
|
||||
<div class="bt2">
|
||||
<asp:Button ID="Btn_Run" OnClick="Run_Click" OnClientClick="return confirm('确定要刪除所有访问记录?')" runat="server" Text="刪除所有访问记录"></asp:Button>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="bt3" id="p_table">
|
||||
<table width="100%" class="addtable">
|
||||
|
||||
<tr>
|
||||
<td>日期</td>
|
||||
<td>IP</td>
|
||||
<td>浏览器</td>
|
||||
<td>访问次数</td>
|
||||
<td style="width:20%;">访问页面</td>
|
||||
<td style="width:20%;">来源页面</td>
|
||||
</tr>
|
||||
<asp:Repeater ID="Repeater1" runat="server">
|
||||
<ItemTemplate>
|
||||
<tr <%#(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("OperatingTime")%></td>
|
||||
<td><%#Eval("OperatingIP")%></td>
|
||||
<td><%#Eval("OperatingBrowse")%></td>
|
||||
<td><%#Eval("Orders")%></td>
|
||||
<td style="word-break:break-all; width:300px;"><%#Eval("OperatingPage")%></td>
|
||||
<td style="word-break:break-all;"><%#Eval("SourcePage")%></td>
|
||||
</tr>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
|
||||
<tr>
|
||||
<td colspan="8" 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>
|
||||
Reference in New Issue
Block a user