<%@ page language="C#" autoeventwireup="true" inherits="admin_manage_adminlist, 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">
<%
	PageContent.ImagePageBar=true;
  PageContent.Table="Sys_Admin";
	PageContent.Url = "adminlist.aspx?ord=" + Para("ord") + "&pn=@pagenumber@";
	
	PageContent.SQL="select A_ID,A_Name,A_Type,A_OnLineTime from Sys_Admin";
	
	PageContent.PageBody("@@Const.PageTable()@@","@@Const.PageBar(\"##Const.AddButton('adminitem.aspx?ord=" + Para("ord") + "')## ##Const.DeleteButton()##\")@@","<tr id='trhead'>@content@</tr>","<tr id='tr_@A_Id@'>@content@</tr>");
	PageContent.AddList("@@Const.RowToggleAll()@@","@@Const.RowToggleItem('@A_ID@')@@");
	PageContent.AddList("<td>编号</td>","<td>@ItemNumber@</td>");
  PageContent.AddList("@@Const.PageOrderField('adminlist.aspx?ord=','A_Name','" + Para("ord") + "','用户名')@@", "<td>@A_Name@</td>");
	
	PageContent.AddList("@@Const.PageOrderField('adminlist.aspx?ord=','A_Type','"+Para("ord")+"','帐户类型')@@","<td>@@Csharp.GetSelectValue('@A_Type@','管理员,客服')@@</td>");
	PageContent.AddList("@@Const.PageOrderField('adminlist.aspx?ord=','A_OnLineTime','"+Para("ord")+"','最后登录时间')@@","<td>@A_OnLineTime@</td>");
	PageContent.AddList("<td> </td>","<td><a target='main' href='adminitem.aspx?id=@A_ID@' class='edit'>编辑</a></td>");
	
%>
<uc1:pageContent ID="PageContent" runat="server" />
</body>
</html>   
