<!--#include file="../conn2.asp"-->
<!--#include file="set.asp"-->

<% menu=request.querystring("menu")
select case menu
case ""
Set rs = Server.CreateObject("ADODB.Recordset")
sql = "SELECT *  FROM bbsinfo"
rs.open sql, conn, 1,1

case "save"
Set rs1 = Server.CreateObject("ADODB.Recordset")
sql = "SELECT  *  FROM bbsinfo "
rs1.open sql, conn, 3,3
RS1("bbsname")=request.form("bbsname")
RS1("logo")=request.form("logo")
RS1("copyright")=request.form("copyright")
rs1.update
rs1.Close
set rs1=nothing
response.redirect "bbsinfo.asp"  
end select
%><head>

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

<div align="center"> <center> <form method="post" action="?menu=save"> <br>
<table width="90%" border="0" cellpadding="2" cellspacing="1" bordercolordark="#FFFFFF" bgcolor="F6F6F6">
  <tr bgcolor="#FFFFFF" class=a1> 
    <td colspan="2" align="center" class="norightbuttonborder2"><font color="#FFFFFF">社区基本设置</font></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td width="24%"> <p align="center">论坛名称</td>
    <td width="76%"><font color="#336699"> 
      <input name="bbsname" type="text" class="textbox_shiixian_hui" value=<%=rs("bbsname")%> size="50">
      </font></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td width="24%"> <p align="center">logo地址</td>
    <td width="76%"><font color="#336699"> 
      <input name="logo" type="text" class="textbox_shiixian_hui" value=<%=rs("logo")%> size="50">
      </font></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td width="24%"> <p align="center">版权信息</td>
    <td width="76%"><font color="#336699"> 
      <input name="copyright" type="text" class="textbox_shiixian_hui" value="<%=rs("copyright")%>" size="50">
      </font></td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td colspan="2"> <p align="center"> 
        <input name="send" type="submit" class="button" value=" 提 交" >
      </p></td>
  </tr>
</table>