www.gusucode.com > 漂亮的地方旅游景点景观介绍网站源代码 > order_ok.asp

    <!--#include file="config.asp" -->
<%
dim getinfo1,getinfo2,sp_cdz,crxm,zjhm,etxm,etsr,yesr,yexm,bxf,bxf2,bxf3,sp_lxr,s,sp_spdz,sp_gddh,sp_sjhm,f,cjr,lxr
getinfo1=request("getinfo1")
getinfo2=request("getinfo2")
if len(getinfo2)<10 then getinfo2=""
if getinfo1="" then response.Write"<SCRIPT language=javascript>alert('数据有误,请重新查询。' ) ;history.go(-2); </SCRIPT>"

sp_cdz=request("sp_cdz")
crxm=request("crxm")
zjhm=request("zjhm")
etxm=request("etxm")
etsr=request("etsr")
yesr=request("yesr")
yexm=request("yexm")
bxf=request("bxf")
bxf2=request("bxf2")
bxf3=request("bxf3")
s=request("s") '订票人数以]分开

sp_lxr=request("sp_lxr") '联系人
sp_spdz=request("sp_spdz") '联系人地址
sp_gddh=request("sp_gddh") '联系人电话
sp_sjhm=request("sp_sjhm") '联系人手机

f="|"
'乘机人信息汇总
cjr=crxm&f&zjhm&"$"&bxf&f&etxm&f&etsr&"$"&bxf2&f&yesr&"$"&bxf3&f&yexm&f&s
'联系人信息
lxr=sp_lxr&f&sp_spdz&f&sp_gddh&f&sp_sjhm&f&sp_cdz

'response.write getinfo1
'response.write lxr
call record(rs,"select * from jw_jpyd ",3)   
rs.addnew()
rs("getinfo1")=getinfo1
rs("getinfo2")=getinfo2
rs("userinfo")=lxr
rs("cjr")=cjr
rs("ctim")=now()
rs.update
call recordend(rs)
call connend()
call cc("预订成功!我们会尽快与您联系,谢谢")
response.end
%>