<!--#include file="conn.asp"--><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="images/style.css" 
type=text/css rel=stylesheet>
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<BODY style="FONT-SIZE: 12px; v-text-align: center" leftMargin=0 topMargin=3
align="center" marginheight="0" marginwidth="0">
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#CCCCCC">

  <tr> 
    <td width="14%" bgcolor="e7e7e7"> <div align="center"><font color="#000000">后台管理员名称</font></div></td>
    <td width="22%" bgcolor="e7e7e7"> <div align="center"><font color="#000000">最后一次登陆IP</font></div></td>
    <td width="18%" bgcolor="e7e7e7"> <div align="center"><font color="#000000">上线时间</font></div></td>
    <td width="21%" bgcolor="e7e7e7"> <div align="center"><font color="#000000">最后上线</font></div></td>
    <td width="11%" bgcolor="e7e7e7"> <div align="center"><font color="#000000">修改</font></div></td>
    <td width="7%" bgcolor="e7e7e7"><div align="center"><font color="#000000">删除</font></div></td>
  </tr>
  <%
set rs=server.createobject("adodb.recordset")
sql="select * from admin"
rs.open sql,conn,1,1
i=0
do while not rs.eof

%>
  <tr> 
    <td bgcolor="#FFFFFF"> <div align="center"><a href="superuser.asp?id=<%=rs("id")%>&act=modify"><%=rs("Username")%></a></div></td>
    <td bgcolor="#FFFFFF"><%=rs("LoginIP")%></td>
    <td bgcolor="#FFFFFF"><div align="center"><%=rs("LoginTimes")%></div></td>
    <td bgcolor="#FFFFFF"><div align="center"><%=rs("LoginTime")%> </div></td>
    <td bgcolor="#FFFFFF"><div align="center"><a href="superuser.asp?id=<%=rs("id")%>&act=modify">修改</a></div></td>
    <td bgcolor="#FFFFFF"> <div align="center"><a href="superuser.asp?id=<%=rs("id")%>&act=del" onClick="{if(confirm('确定删除此管理员吗!?')){return true;}return false;}"> 
    删除</a></div></td>
  </tr>
  <% i=i+1 
rs.movenext 
loop 
rs.close
set rs=nothing
set conn=nothing%>
</table>
<div align="center">
  <p>
    <input name="newsuperuser" type="button" class="Submit" id="newsuperuser"  onClick="(location='superuser.asp?act=new')" value="新建一个管理员">
  </p>
</div>
</BODY></HTML>

