<!--#include file="conn.asp"-->
<%
  sql= "select * from com_message"
  Set rs0=server.CreateObject("adodb.recordset")
  rs0.open sql,conn,1,3
  
  rs0.addnew
  rs0("type")=request.Form("type")
  rs0("titlecn")=SaveRequest("title",0)
  rs0("yname")=SaveRequest("yname",0)
  rs0("tel")=SaveRequest("contact",0)
  rs0("textcn")=SaveRequest("comment",0)
  rs0("proid")=request.Form("proid")
  rs0("xjb")=request.Form("xjb")
  rs0("mydate")=Now()
  
  rs0.update
  rs0.close
  set rs0=nothing
'Response.Redirect "products_show.asp?typeid="&request.Form("procid")&"&id="&request.Form("proid")
response.write "<script LANGUAGE='javascript'>alert('提交成功，感谢您的支持！');history.go(-1);</script>"
response.end
  %>