<!--#include file="utf-8.asp" -->
<!--#include file="js/Function.asp" -->
<!--#include file="../inc/MD5.asp" -->
<!--#include file="CheckAdmin.asp" -->
<!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>
<META NAME="copyright" CONTENT="Copyright 2010-2012 - shuaiweb.com" />
<META NAME="Author" CONTENT="世纪伟成  yidacms.com" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="js/admin.css" rel="stylesheet" type="text/css">
<title>管理员配置！</title>
<script language="JavaScript" src="js/admin.js" type="text/JavaScript"></script>
<script type="text/javascript" src="js/pop-up.js"></script>
</head>
<body>
<%

		set rs = server.createobject("adodb.recordset")
		sql="select * from shuaiweb_vipadministrator ORDER BY id ASC"
		rs.open sql,dbok,1,1
%>
<table width="98%" height="43" border="1"cellpadding="6" cellspacing="0" bordercolor="#cccccc" style="border-collapse:collapse" bgcolor="#FFFFFF" align="center">
		  <tr>
			<td bgcolor="#CCCCCC">ID</td>
			<td bgcolor="#CCCCCC">管理员名称</td>
			<td bgcolor="#CCCCCC">权限</td>
			<td bgcolor="#CCCCCC">创建时间</td>
			<td bgcolor="#CCCCCC">操作！</td>
		</tr>
		<%
		if rs.bof and rs.eof then
			response.write "暂无记录!"
				Else
		do while not rs.eof
		%>
		<tr onMouseOver="this.id='aa'" onMouseOut="this.id='bb'" class="cc">
			<td><%=rs("id")%></td>
			<td><% if rs("wait_ader") = 1 then response.write "<font color='red'>" & rs("username") & " | 超级管理员</font>" else response.write rs("username") %></td>
			<td><%=rs("wait_adyi")%></td>
			<td><%=rs("time")%></td>
			<td><a href="admin_adminedit.asp?id=<%=rs("id")%>"><img src="images/023.gif" alt="修改"/></a> 
                        <%
                         if rs("wait_ader") = 1 then
                          	response.write ""
                          		else
                        %>
                            <a href="admin_del.asp?t=admineditdel&id=<%=rs("id")%>"><img src="images/015.gif" alt="删除" onclick="{if(confirm('确定删除它吗?')){return true;}return false;}"/></a>
                        <%
                         end if
		rs.MoveNext 
		loop   
		End If
	        rs.Close
	        set rs=nothing
                        %>
               </td>
		</tr>

</body>
</html>
