<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><!--#include file="../Include/Conno.asp" -->
<!--#include file="../Include/function.asp" -->
<!--#include file="../sql/Neeao_SqlIn.Asp" -->
<%
arcID=Request("arcID")
action=Request("action")
if action="send" then
 if Trim(Request.form("txtCheckCode"))<>CStr(session("CheckCode")) then
   response.write "<script>alert('您输入的确认码和系统产生的不一致，请重新输入！');history.back();</Script>"
   Response.end
 end if

u_title=Request("title")
u_title=replace(u_title,"日你","*")
u_title=replace(u_title,"魂","*")
u_title=replace(u_title,"药","*")
u_title=replace(u_title,"操","*")
u_title=replace(u_title,"党","*")
u_title=replace(u_title,"法轮功","***")
u_title=replace(u_title,"江泽民","***")
u_title=replace(u_title,"胡锦涛","***")
u_title=replace(u_title,"三级片","我该死")
u_title=replace(u_title,"腚","*")
u_title=replace(u_title,"妓","*")
u_title=replace(u_title,"娼","*")
u_title=replace(u_title,"阴","*")
u_title=replace(u_title,"奸","*")
u_title=replace(u_title,"尻","*")
u_title=replace(u_title,"贱","*")
u_title=replace(u_title,"婊","*")
u_title=replace(u_title,"靠","*")
u_title=replace(u_title,"叉","*")
u_title=replace(u_title,"龟头","*")
u_title=replace(u_title,"屄","*")
u_title=replace(u_title,"赑","*")
u_title=replace(u_title,"妣","*")
u_title=replace(u_title,"肏","*")
u_title=replace(u_title,"尻","*")
u_title=replace(u_title,"屌","*")
CurUserID=Request("CurUserID")
username=trim(Request("username"))
if CurUserID="" then CurUserID=0
u_content=Request("content")
u_content=replace(u_content," ","&nbsp;")
u_content=replace(u_content,"  ","&nbsp;&nbsp;")
u_content=replace(u_content,vbcrlf,"<br>")
if username<>"" and u_title<>"" and u_content<>"" then  
u_content=replace(u_content,"药","*")
u_content=replace(u_content,"迷","*")
u_content=replace(u_content,"操","*")
u_content=replace(u_content,"枪","*")
u_content=replace(u_content,"党","*")
u_content=replace(u_content,"法轮功","***")
u_content=replace(u_content,"江泽民","***")
u_content=replace(u_content,"胡锦涛","***")
u_content=replace(u_content,"三级片","我该死")
u_content=replace(u_content,"腚","*")
u_content=replace(u_content,"妓","*")
u_content=replace(u_content,"娼","*")
u_content=replace(u_content,"阴蒂","*")
u_content=replace(u_content,"奸","*")
u_content=replace(u_content,"尻","*")
u_content=replace(u_content,"贱","*")
u_content=replace(u_content,"婊","*")
u_content=replace(u_content,"靠","*")
u_content=replace(u_content,"叉","*")
u_content=replace(u_content,"龟头","*")
u_content=replace(u_content,"屄","*")
u_content=replace(u_content,"赑","*")
u_content=replace(u_content,"妣","*")
u_content=replace(u_content,"肏","*")
u_content=replace(u_content,"尻","*")
u_content=replace(u_content,"屌","*")


u_pic=Request("pic")
u_ip=Request.ServerVariables("REMOTE_ADDR")
tbprice="insert into tb_ba (username,u_id,u_title,u_content,u_pic,u_ip) values ('"&username&"','"&CurUserID&"','"&u_title&"','"&u_content&"','"&u_pic&"','"&u_ip&"')"
conn.Execute(tbprice)
conn.Close
Response.write "<script>alert('您的信息己发布成功,点确定返回查看！');this.location.href='/ba/index.asp';</Script>"
Response.End()
end if
End if
%>