

<head>
<LINK 
href="css.css" type=text/css rel=stylesheet>

<!--#include file="../conn2.asp"-->
<!--#include file="set.asp"-->
<%Set rs = Server.CreateObject("ADODB.Recordset")     
sql = "SELECT * FROM member where manbid>0"     
rs.open sql, conn, 1, 3 

%>
</head>

<body>
<p align="center"><br>
<div align="center">
  <center>
    <table width="90%" border="0" align="center" cellpadding="2" cellspacing="1" bordercolordark="#FFFFFF" bgcolor="F6F6F6">
      <tr bgcolor="#FFFFFF"> 
        <td colspan="4" class="norightbuttonborder2"><div align="center"><font color="#FFFFFF">社区版主管理</font></div></td>
      </tr>
      <tr bgcolor="#FFFFFF"> 
        <td colspan="4" class="norightbuttonborder3"><table width="43%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr> 
              <td><div align="center"><a href="add_admin.asp">添加管理员</a></div></td>
              <td><div align="center"></div></td>
              <td><div align="center"></div></td>
              <td><div align="center"></div></td>
            </tr>
          </table></td>
      </tr>
      <tr bgcolor="#FFFFFF"> 
        <td width="48%"> <p align="center"><b>用户名</b></p></td>
        <td width="24%"> <p align="center"><b>管理论坛</b></td>
        <td colspan="2"> <p align="center"><b>操作</b></td>
      </tr>
      <%do while not rs.eof%>
      <tr bgcolor="#FFFFFF"> 
        <td width="48%"> <p align="center"><%=rs("username")%>　</p></td>
        <td width="24%"> <p align="center"> 
            <%if rs("manbid")=20000 then 
        response.write"论坛管理员" 
        elseif rs("manbid")=8888 then
        response.write"超级管理员" 
        elseif rs("manbid")=9999 then
        response.write"论坛贵宾"
        else
        set bidreco=server.createobject("adodb.recordset")
    	sqlstr="select * from board where bid="&rs("manbid")&""
    	bidreco.open sqlstr,conn,1,1
        %>
            <%=bidreco("bidname")%> 
            <%end if%>
          </p></td>
        <td width="14%"> <p align="center"><a href="add_admin.asp?username=<%=rs("username")%>">修改</a></td>
        <td width="14%"> <p align="center"><a href="add_admin.asp?id=<%=rs("id")%>&amp;menu=del" class="C_shenhong"><strong>删除</strong></a></td>
      </tr>
      <%rs.movenext
    loop%>
    </table>
  </center>
</div>

</body>

