<!--#include file="../conn/conn.asp"-->
<!--#include file="../conn/nosql.asp"-->
<!--#include file="../conn/config.asp"-->
<!--#include file="../conn/page.asp"-->
<%if session("adminname")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆！');window.location.href='login.asp';</script>"
response.End
end if%>
<head>
<link href="../css.css" REL="stylesheet" TYPE="text/css">

<title></title>
<style type="text/css">
<!--
.style1 {color: #000000}
-->
</style>
</head>

<body topmargin="2" leftmargin="2">
<br>
<div align="center">
<center>
    <table width="90%" border="0" cellpadding="2" cellspacing="1" bordercolordark="#FFFFFF" bgcolor="#CCCCCC">
      <tr bgcolor="f1f1f1"> 
        <td height="25" colspan="4" class="norightbuttonborder2"><div align="center" class="style1">社区栏目管理 <a href="bbs_edit.asp?action=add">新增栏目</a></div></td>
      </tr>
      <tr bgcolor="#FFFFFF"> 
        <td width="75" height="25"> <p align="center"><b>序号</b></td>
        <td width="161" height="25"> 
          <p align="center"><b>论坛名称</b></td>
        <td width="162"><div align="center"><strong>版主</strong></div></td>
        <td height="25"> <p align="center"><b>管理操作</b></p></td>
      </tr>
      <%
    	set bidreco=server.createobject("adodb.recordset")
    	sqlstr="select * from snsn_bbsclass order by bbspx"
    	bidreco.open sqlstr,conn,1,1
        do while not bidreco.eof
	%>
      <tr bgcolor="#FFFFFF"> 
        <td width="75" height="25" align="center"><%=bidreco("bbspx")%>　</td>
        <td width="161" height="25" align="center"><%=bidreco("bbsname")%>　</td>
        <td width="162" height="25" align="center"><%=bidreco("bbsbz")%></td>
        <td height="25" align="center" bgcolor="#FFFFFF"><a href="bbs_edit.asp?bid=<%=bidreco("id")%>&action=edit">修改</a>  <a href="#" onclick="if(confirm('真的要删除吗？')){window.location.href='bbs_edit.asp?bid=<%=bidreco("id")%>&action=del'}"><strong>删除</strong></a></td>
      </tr> 
      <%  
			bidreco.movenext  
			loop  
			set bidreco=nothing  
			set conn=nothing %> 
    </table> 
  </center> 
</div> 
 
</body> 
 
