<!--#include file="conn.asp"-->
<!--#include file="chkadmin.asp"-->
<%dim id
id=Request.QueryString("id")
dim sql,rs
sql="select * from Message where ID="&id
set rs=conn.execute(sql)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="../style.css" rel="stylesheet" type="text/css">
<STYLE>
BODY {
	    scrollbar-face-color : #96A2AD;
	    scrollbar-shadow-color : #96A2AD;
	    scrollbar-highlight-color : #96A2AD;
	    scrollbar-3dlight-color : #96A2AD;
	    scrollbar-darkshadow-color : #96A2AD;
	    scrollbar-track-color : #CCCCCC;
	    scrollbar-arrow-color : #FFFFFF;
}
</STYLE>
</head>

<body>
<form name="form1" method="post" action="message_edit_save.asp">
  <table border="0" align="center" cellpadding="2" cellspacing="0" bgcolor="#EEEEEE">
    <tr bgcolor="#708090"> 
      <td colspan="2" align="center" class="TdBorderB"><font color="#FFFFFF">添加公告</font></td>
    </tr>
    <tr> 
      <td align="right" class="TdBorderRB">标题</td>
      <td class="TdBorderB">
<input name="Title" type="text" class="input" id="Title" value="<%=rs(1)%>" size="50"></td>
    </tr>
    <tr> 
      <td align="right" class="TdBorderRB">内容</td>
      <td class="TdBorderB"><textarea name="Content" cols="50" rows="8" id="Content"><%=rs(2)%></textarea></td>
    </tr>
    <tr align="center"> 
      <td colspan="2"><input name="id" type="hidden" id="id" value="<%=id%>"> 
        <%if power(5)="0" then
	response.write "<font color=red>您没有修改公告的权限</font>&nbsp;&nbsp;"
else
	response.write "<input name='Submit' type='submit' class='button' value=' 提 交 '>&nbsp;&nbsp;"
end if
response.write "<input name='Submit' type='button' class='button' value=' 返 回 ' onclick='javascript:history.back()'>"
%> </td>
    </tr>
  </table>
</form>
</body>
</html>
<%set rs=nothing
conn.close
set conn=nothing%>