<%@ page language="C#" autoeventwireup="true" inherits="admin_manage_adminloglist, localhost_deploy" %>
<%@ Register src="../../common/pageContent.ascx" TagName="pageContent" TagPrefix="uc1" %>
<!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="/admin/common/client.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" >
</script>
</head>
<body class="mg3"	onresize="parent.WorkHeight()">
<%
	string s_where=GetSearchWhere();
	PageContent.ImagePageBar=true;
	PageContent.Table="Sys_AdminLog";
	PageContent.Safe=true;
	PageContent.Action="";
	PageContent.Url = "adminloglist.aspx?"+GetParameter() + "&ord=" + Para("ord") + "&pn=@pagenumber@";
  PageContent.SQL = "select   L_Time,L_ID,L_Type, L_Content,A_Name,(select top 1 P_Name from sys_popedom where  P_Code=L_Code) as P_name from Sys_AdminLog,Sys_Admin where A_ID=L_AID and " + s_where;

	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\"  \")@@  ","@content@","@content@");
	PageContent.Action="";//本页处理
	PageContent.AddList("<tr><td>编号</td>@@Const.PageOrderField('adminloglist.aspx?"+GetParameter() + "&ord=','A_Name','" + Para("ord") + "','管理员')@@@@Const.PageOrderField('adminloglist.aspx?"+GetParameter() + "&ord=','P_Name','" + Para("ord") + "','功能名称')@@@@Const.PageOrderField('adminloglist.aspx?"+GetParameter() + "&ord=','L_Time','" + Para("ord") + "','发生时间')@@@@Const.PageOrderField('adminloglist.aspx?"+GetParameter() + "&ord=','L_Type','" + Para("ord") + "','日志类型')@@<td>详细内容</td></tr>","<tr><td>@ItemNumber@</td><td>@A_Name@</td><td>@P_Name@</td><td>@L_Time@</td><td>@@Csharp.GetSelectValue('@L_Type@','##Const.AdminLogType()##')@@</td><td >&nbsp;@L_Content@</td></tr>");
	
%>
<%//=PageContent.SQL%>
<uc1:pageContent ID="PageContent" runat="server" />
<script type="text/javascript" >
//返回时使用
ShowSearchBar(1);
//parent.listPage=location.href+"&Rnd="+Math.random();
parent.WorkHeight();
</script>
</body>
</html>   