<!--#include file="../conn.asp"-->
<!-- #include file="check_master.asp" -->
<!--#include file="../inc/htmlencode2.asp" -->
<%
if request("mb")=1 then
mbstr="普通主题贴模板"
elseif request("mb")=2 then
mbstr="回复贴子模板"
elseif request("mb")=3 then
mbstr="回复表单模板"
elseif request("mb")=4 then
mbstr="投票主题贴模板"
end if
set rs=server.createobject("adodb.recordset")
sql="select * from ftbbsmb where id=1"
rs.open sql,conn,1,3
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>论坛模版</title>
<link href="css/xmwuye.css" rel="stylesheet" type="text/css">
</head>

<body>

<form method="POST" action="savebbsmb.asp">
  <div align="center"><center>
      <table border="0" cellspacing="1" width="99%" bordercolorlight="#000000" bordercolordark="#FFFFFF" cellpadding="0" bgcolor="#000000">
        <tr bgcolor="#000066"> 
          <td width="100%" height="20"> 
            <div align="center"><center>
                <p><b><font color="#FFFFFF"><%=mbstr%>修改</font></b> 
              </center></div></td>
    </tr>
    <tr align="center">
      <td width="100%">
            <table border="0" cellspacing="0" width="100%" bgcolor="#000000" cellpadding="0" background="images/greystrip.gif">
              <tr bgcolor="#FFFFFF">
                <td width="77%"> <div align="center">
                    <textarea name="t1" cols="75" rows="25" class="smallarea" id="t1"><%'=unhtmlencode2(rs("postmb"))%></textarea>
                  </div></td>
              </tr>
<!--              <tr bgcolor="#FFFFFF"> 
                <td width="23%" align="right" valign="top" bgcolor="#F5F5F5">回复贴子模版：</td>
                <td width="77%"> <textarea name="t2" cols="80" rows="15" class="smallarea" id="t2"><%'=unhtmlencode2(rs("repostmb"))%></textarea> 
                </td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="23%" align="right" valign="top" bgcolor="#F4F4F4">回贴表单模版：</td>
                <td width="77%"> <textarea name="t3" cols="80" rows="15" class="smallarea" id="t3"><%'=unhtmlencode2(rs("repostformmb"))%></textarea> 
                </td>
              </tr>
              <tr bgcolor="#FFFFFF"> 
                <td width="23%" align="right" valign="top" bgcolor="#F5F5F5">投票主题贴模版：</td>
                <td width="77%"> <textarea name="t4" cols="80" rows="15" class="smallarea" id="t4"><%'=unhtmlencode2(rs("repostformmb"))%></textarea> 
                </td>
              </tr>-->
            </table>
      </td>
    </tr>
  </table>
  </center></div><div align="center"><center>
      <p> 
        <input type="submit" value=" 修改论坛模板 " name="cmdok" class="buttonface" <%if instr(session("admin_qs"),2)<=0 then%>disabled<%end if%>>
        &nbsp; 
        <input name="mb" type="hidden" id="mb" value="<%=request("mb")%>">
      </p>
  </center></div>
</form>
</body>
</html>
<%conn.close%>