<!--#include file="../0.asp"--><!--#include file="../../../conn/zkconn.asp"-->
<%
set rs = conn.execute("select id from user_name where name='"&session("www.loogoo.com")&"'")
userid=rs("id")
rs.close
set rs = conn.execute("select userid from user_faq where id="&Request("id")&"")
userid2=rs("userid")
rs.close
if userid=userid2 then
conn.execute("Delete user_faq where id="&request("id")&"")
Response.Write("<script>alert(""删除成功"");location.href=""edit.asp?page="&request("page")&""";</script>")
else
Response.Write("对不起，您不能删除该条信息。如有疑问请与网站管理员联系。")
end if
set rs=nothing
%>