<!--#include file="../conn2.asp"-->
<!--#include file="set.asp"--><head>
<LINK 
href="css.css" type=text/css rel=stylesheet>
<%


	action=request.querystring("action")
	bid=request.querystring("bid")
	 if action="edit" then
	set bidreco=server.createobject("adodb.recordset")
	    sqlstr="select * from board where bid=" &bid
	    bidreco.open sqlstr,conn,1,1
	   
%>

</head>
<div align="center">
  <center>
    <br>
    <table width="90%" border="0" align="center" cellpadding="2" cellspacing="1" bordercolordark="#FFFFFF" bgcolor="F6F6F6">
      <form method="post" action="save_board.asp?bid=<%=bidreco("bid")%>">
        <tr bgcolor="#FFFFFF"> 
          <td height="23" colspan="2" align="center" class="norightbuttonborder2"><font color="#FFFFFF">社区栏目修改</font></td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="30%" height="23" align="center"><div align="right">论坛名称：</div></td>
          <td width="70%" height="23"> <input type="text" name="bidname" size="49" maxlength="60" class=textbox_shiixian_hui  value="<%=bidreco("bidname")%>"> 
          </td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="30%" height="23" align="center"><div align="right">论坛logo：</div></td>
          <td width="70%" height="23"> <input type="text" name="logo" size="49" maxlength="60" class=textbox_shiixian_hui  value="<%=bidreco("logo")%>"> 
          </td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="30%" height="23" align="center"><div align="right">排序：</div></td>
          <td width="70%" height="23"> <input type="text" name="px" size="17" maxlength="60" class=textbox_shiixian_hui  value="<%=bidreco("px")%>">
            请填写数字 </td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td width="30%" height="79" align="center"><div align="right">论坛介绍：</div></td>
          <td width="70%" height="79"> <textarea name="bidinfo" cols="48" rows="5" class="textbox_shiixian_hui" ><%=bidreco("bidinfo")%></textarea> 
          </td>
        </tr>
        <tr bgcolor="#FFFFFF"> 
          <td height="29" colspan="2" align="center"> <p align="center"> 
              <input name="B1" type="submit" class="button" value=" 修 改">
            </p></td>
        </tr>
      </form>
    </table>
  </center>
</div>
<%elseif action="add" then%>
<br>
<table width="90%" border="0" align="center" cellpadding="2" cellspacing="1" bordercolordark="#FFFFFF" bgcolor="F6F6F6">
  <form method="post" action="new_save.asp">
    <tr bgcolor="#FFFFFF"> 
      <td height="23" colspan="2" align="center" class="norightbuttonborder2"><font color="#FFFFFF">社区栏目添加</font></td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="30%" height="23" align="center"><div align="right">论坛名称：</div></td>
      <td width="70%" height="23"> <input type="text" name="bidname" size="49" maxlength="60" class=textbox_shiixian_hui> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="30%" height="23" align="center"><div align="right">论坛logo：</div></td>
      <td width="70%" height="23"> <input name="logo" type="text" class=textbox_shiixian_hui value="images/index_45.gif" size="49" maxlength="60"> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="30%" height="23" align="center"><div align="right">排序：</div></td>
      <td width="70%" height="23"> <input type="text" name="px" size="17" maxlength="60" class=textbox_shiixian_hui>
        请填写数字 </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="30%" height="79" align="center"><div align="right">论坛介绍：</div></td>
      <td width="70%" height="79"> <textarea name="bidinfo" cols="48" rows="5" class="textbox_shiixian_hui" ></textarea> 
      </td>
    </tr>
    <tr bgcolor="#FFFFFF"> 
      <td height="29" colspan="2" align="center"> <p align="center"> 
          <input name="B12" type="submit" class="button" value=" 提 交">
        </p></td>
    </tr>
  </form>
</table>
<BR>
<div align="center">
  <center>
   
  </center>
</div><%end if %>