<!--#include file="conn.asp"-->
<!--#include file="uft8.asp"-->
<!--#include file="str.asp"-->
<%
name=change(jiema(Request("b1")))
qq=change(Request("b2"))
mail=change(Request("b3"))
content=change(jiema(Request("b4")))
If  Request.Cookies("book")="" Then
Response.Cookies("book")=0
end if
If name="" or qq="" or mail="" or content="" or cint(Request.Cookies("book"))>10 Then
Response.Cookies("tishi") =bianma("小屁孩！学会灌水了，看招！")
Response.Cookies("blocked") =1
response.end
end if
set rs=server.CreateObject("adodb.recordset")
sql="select * from book"
rs.open sql,conn,1,3
rs.addnew
rs(1)=qq
rs(2)=name
rs(3)=mail
rs(4)=content
rs(5)=now()
rs(6)=""
rs(7)=Request.Cookies("ip")
rs(8)=jiema(Request.Cookies("pro"))
rs(9)=jiema(Request.Cookies("city"))
rs(10)=0
rs.update
rs.close
set rs=nothing
Response.Cookies("book")=cint(Request.Cookies("book"))+1
Response.Cookies("blocked") =1
%> 




