<!--#INCLUDE FILE="conn.asp" -->
<Meta http-equiv="Expires" Content="0">
<Meta http-equiv="Pragma" Content="No-cach">
<Meta name="none" >
<%
if request.cookies("online")<>"yes" then
response.redirect "../guestbook"
end if
PageTitile("回复留言")
if session("user_type")="管理员" then
exec="select * from guestbook where ID="&request.querystring("id")
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1 
%>
<form name="form1" method="post" action="replys.asp">
              
  <table width="60%" border="0" cellspacing="0" cellpadding="0" height="134" align="center">
    <tr bordercolor="#FF0000"> 
      <th height="30" colspan="2" background="images/bg002.gif"><font color="#FF0000">回复信息</font></th>
    </tr>
    <tr> 
      <td height="171" width="19%" bgcolor="#E8FFE8">&nbsp;&nbsp;回复内容：</td>
      <td height="171" width="81%" bgcolor="#E8FFE8"> 
        <textarea name="reply" cols="45" rows="10"><%=rs("reply")%></textarea>
        <input type="hidden" name="id" value="<%=rs("ID")%>">
      </td>
    </tr>
    <tr align="center"> 
      <td height="37" colspan="2" bgcolor="#66CC00"> 
        <input type="submit" name="Submit" value="确定回复">
        &nbsp;&nbsp;&nbsp; 
        <input type="submit" name="Submit2" value="取消回复">
      </td>
    </tr>
  </table>
              </form>
			  <%
rs.close
set rs=nothing
conn.close
set conn=nothing
else
msgbox("对不起，您不是管理员")
end if%>