<!--#INCLUDE FILE="conn.asp" -->
<%
on error resume next
if request.cookies("online")<>"yes" then
response.redirect "../guestbook"
end if
if session("user_type")="管理员" then
exec="delete from guestbook where [ID]="&request.querystring("id")
conn.execute(exec) 
response.redirect "default.asp"
else
msgbox("对不起,您没有这个权限")
end if%>