<html>
<link href="../images/css.css" rel="stylesheet" type="text/css">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body topmargin="0" leftmargin="0" rightmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="52"><img src="images/main_1.jpg" width="52" height="55"></td>
        <td background="images/main_2.jpg" class="title1"><strong>首页关于我们处简介文字 <br>
        </strong></td>
        <td width="52"><img src="images/main_3.jpg" width="52" height="55"></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" background="images/main_4.gif">&nbsp;</td>
        <td class="td">

<!--#include file="conn.asp"-->
<!--#include file="admin.asp"-->
<!--#include file="Inc/articlechar.inc"-->

<%


if request("action")="save" then 
If request.form("content")="" Then
Response.Write("<script language=""JavaScript"">alert(""错误：您没输入公吿内容，请返回检查！！"");history.go(-1);</script>")
response.end
end if

Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from Affiche where id=65"
rs.open sql,conn,1,3


rs("content")=request.form("content")

rs.update
rs.close
response.redirect "about.asp"
end if

Set rs = Server.CreateObject("ADODB.Recordset")
sql="select  * from Affiche where id=65 "
rs.open sql,conn,1,1
%>

<!-- #include file="Inc/Head.asp" -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td align="center" valign="top">     
      <table width="100%" border="0" cellpadding="2" cellspacing="1" class="table_southidc">
        <tr class="tr_southidc"> 
          <form method="POST" action="about.asp?action=save">
          
            <td>
<div align="center"> 
                <table width="100%" border="0" cellspacing="2" cellpadding="3">
                  <tr> 
                    <td width="22%" height="25"> 
                      <div align="center">公告标题:</div></td>
                    <td width="78%">
<%=rs("title")%>                   </td>
                  </tr>
                  <tr> 
                    <td height="22"> 
                      <div align="center">公告内容:</div></td>
                    <td>
<textarea rows="8" name="Content" cols="45"><%=rs("content")%></textarea>                    </td>
                  </tr>
                  <tr> 
                    <td height="25" colspan="2"> 
                      <div align="center">
                        <input type="submit" value="提交公告" name="B1">
                        <input type="reset" value="全部重写" name="B2">
                      </div></td>
                  </tr>
                </table>
                </div></td>
          </form>
        </tr>
      </table>
       </td>
  </tr>
</table>
<%
Set Rs = Nothing 
Set Conn = Nothing 
rs.close
Conn.close
%>

<!-- #include file="Inc/Foot.asp" -->


  <!--#include file="foot.asp"--></td>
        <td width="15" background="images/main_5.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" background="images/main_4.gif">&nbsp;</td>
        <td background="images/main_9.gif">&nbsp;</td>
        <td width="15" background="images/main_5.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="52"><img src="images/main_6.gif" width="52" height="16"></td>
        <td background="images/main_7.gif" width="100%"></td>
        <td width="52"><img src="images/main_8.gif" width="52" height="16"></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
