<!--#include file="../Include/Conn.asp" -->
<%
userid=request("userid")
club=request("club")
username=request("username")
book_name=request("book_name")
book_jg=request.form("book_jg")
if book_name="" then
response.write "<script LANGUAGE='javascript'>alert('发布信息出错，下面是产生错误的可能原因：\n\n·请输入标题');history.go(-1);</script>"
response.End()
end if
set rs=Server.CreateObject("Adodb.Recordset")
sql="select * from book_club"
rs.open sql,conn,1,3
rs.addnew
rs("book_user_id")=userid
rs("book_club")=club
rs("book_username")=username
rs("book_name")=book_name
rs("book_jg")=book_jg
rs("book_key")=1
rs.update
rs.close
set rs=nothing
response.Redirect("../club.asp?id="&club)
response.End()
%>