<!--#include file="conn.asp"-->
<!--#include file="../../inc/filter.asp"-->
<%
dim id,huodongname,imgurl
id=trim(request("id"))
if(id="") then
	response.Write("<script language=javascript>")
	response.Write("alert('参数不能为空');")
	response.Write("window.location='main_body.asp';")
	response.Write("</script>")
else
	if(ChkBadWord("id")<>0) then
		response.Write("<script language=javascript>")
		response.Write("alert('参数中包含非法字符');")
		response.Write("window.location='main_body.asp';")
		response.Write("</script>")
	else
		set rs=Server.CreateObject("ADODB.RecordSet")
		rs.open "select * from [fksf_huodong] where id="&id,conn,1,1
		if(rs.eof) then
			response.Write("<script language=javascript>")
			response.Write("alert('本系统无该活动');")
			response.Write("window.location='main_body.asp';")
			response.Write("</script>")
		else
			huodongname=rs("huodongname")
			imgurl=rs("pic")
			rs.close()
			set rs=nothing
		end if
	end if
end if

%>
