<!--#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

url=request.ServerVariables("HTTP_REFERER")

dim clubid
clubid=request.QueryString("clubid")

ChkNumber(clubid)

sql="insert into jlbhy(userid,clubid,dtime) values("& userid &","& clubid &",'"& now() &"')"
conn.execute sql
conn.close
set conn=nothing
response.Write "<script language='javascript'>alert('您已经成功加入此兴趣圈！');window.location='"& url &"';</script>"
%>