<!--#include file="inc/conn.asp"-->
<!--#include file="inc/safe.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/const.asp"-->
<%
if MemberName="" then
  response.Redirect("userlogin.asp")
  response.end
end if

dim m_id,clubid
m_id=request.QueryString("id")
clubid=request.QueryString("clubid")
ChkNumber(m_id)
ChkNumber(clubid)

if chkhz(clubid,userid)=false then
  response.Write "<script language='javascript'>alert('您没有权力删除此兴趣圈文章信息！');history.back(-1)</script>"
  response.end
end if

conn.execute "delete from jlbnews where id="& m_id
conn.execute "delete from jlbreply where newsid="& m_id

conn.close
set conn=nothing
response.write "<script language='javascirpt'>window.close()</script>"
%>