<!--#include file="conn.asp"-->
<!--#include file="../../inc/filter.asp"-->
<%
dim classname,id,subject,content
classname=trim(request("classname"))
id=trim(request("id"))
if(classname="" or id="") then
	response.Write("<script language=javascript>")
	response.Write("alert('参数不能为空');")
	response.Write("window.location='main_body.asp';")
	response.Write("</script>")
else
	if(ChkBadWord(classname)<>0 or 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_news] where id="&id,conn,1,1
		classname=rs("classname")
		subject=rs("subject")
		content=rs("content")
		rs.close()
		set rs=nothing
	end if
end if
%>