<!--#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
if session("user_type")="管理员" then
exec="select * from guestbook where ID="&request.form("id")
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,3
rs("reply")=request.form("reply")
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.redirect "default.asp"
else
msgbox("对不起,您没有这个权限")
end if%>