⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orderit.asp

📁 漂亮的欧美旅游模板
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%Option Explicit%>
<!--#include file="db_conn.asp"-->
<!--#include file="my_libs/my_request.asp"-->
<!--#include file="my_libs/my_lib.asp"-->
<!--#include file="my_libs/comm.asp"-->
<%
call head("线路预订_"&arrlist_s(0))
call top()
dim sqll,rsl,idl,linename
idl=my_request("id",1)
sqll="select zm_linename from ssort_lines where id="&idl
set rsl=conn.execute (sqll)
linename=rsl(0)
rsl.close
set rsl=nothing

%>
<script src="my_libs/jsdate.js"></script>


<script language=javascript>
function showlist(dd){
if(dd.style.display=="none"){
dd.style.display="";
}else{
dd.style.display="none";
}
}
</script>
<script language=javascript>
function checkform(){
if(form1.ssort_do0.value==''){
alert("您的姓名未填写!");
form1.ssort_do0.focus();
return false;
}
if(form1.ssort_do1.value==''){
alert("您的联系地址未填写!");
form1.ssort_do1.focus();
return false;
}
if(form1.ssort_do2.value==''){
alert("您的联系电话未填写!");
form1.ssort_do2.focus();
return false;
}
if(form1.ssort_do3.value==''){
alert("您的来游人数未填写!");
form1.ssort_do3.focus();
return false;
}
if(form1.ssort_do7.value==''){
alert("您的来游时间未填写!");
form1.ssort_do7.focus();
return false;
}
if(form1.ssort_do8.value==''){
alert("您的返程时间未填写!");
form1.ssort_do8.focus();
return false;
}
}
</script>
<div align="center">
<table border="0" width="760" cellpadding="4" class=istable height="28">
	<tr class=smallblack>
		<td>当前位置: 网站首页 &gt;&gt; 线路预订</td>
	</tr>
</table>

	</div>
<div align="center">
	<table border="0" width="760" cellpadding="4" class=istable>
		<form action=oderit_save.asp method=post name=form1 onSubmit='return checkform();'><tr>
			<td class=toptd height="28">&nbsp;<span style="font-size: 12px">您准备预订这条线路:</span><%=linename%></td>
		</tr>
		</table>
</div>
<div align="center">
	<table border="0" width="760" id="table1" cellspacing="1">
		<tr class=smallblack>
			<td>
			<input type="checkbox" name="open" checked disabled>请填写如下信息(此信息为必填)</td>
		</tr>
	</table>
	<table border="0" width="760" cellpadding="2" class=istable id=basic>
     <tr class=smallblack>
			<td width="105" align="right">姓名:</td>
			<td width="225"><input type="text" name="ssort_do0" size="20"></td>
			<td width="119" align="right">联系地址:</td>
			<td width="285"><input type="text" name="ssort_do1" size="38"></td>
		</tr>
		<tr class=smallblack>
			<td width="105" align="right">电话:</td>
			<td width="225"><input type="text" name="ssort_do2" size="20"></td>
			<td width="119" align="right">来游人数:</td>
			<td width="285"><select size="1" name="ssort_do3">
			<%
			dim i
			for i=1 to 20%>
			<option value=<%=i%>><%=i%></option>
			<%next%>
			</select></td>
		</tr>
		<tr class=smallblack>
			<td width="105" align="right">需要导游:</td>
			<td width="225"><select size="1" name="ssort_do4">
			<option selected value="需要">需要</option>
			<option value="不需要">不需要</option>
			<option value="随便">随便</option>
			</select></td>
			<td width="119" align="right">希望拼团:</td>
			<td width="285"><select size="1" name="ssort_do5">
			<option value="希望" selected>希望</option>
			<option value="不希望">不希望</option>
			<option value="无所谓">无所谓</option>
			</select></td>
		</tr>
		<tr class=smallblack>
			<td width="105" align="right">预订时间:</td>
			<td width="225">
			<input type="text" name="ssort_do6" size="20" value="<%=now()%>" readonly></td>
			<td width="119" align="right">来游日期:</td>
			<td width="285">
			<input type="text" name="ssort_do7" size="20" readonly><a href="#SelectDate" onclick="SD(this,'document.form1.ssort_do7')"><img border="0" src="images/button.gif" width="34" height="21"></a></td>
		</tr>
		<tr class=smallblack>
			<td width="105" align="right">返程日期:</td>
			<td width="225">
			<input type="text" name="ssort_do8" size="20" readonly><a href="#SelectDate" onclick="SD(this,'document.form1.ssort_do8')"><img border="0" src="images/button.gif" width="34" height="21"></a></td>
			<td width="119" align="right">补充事项:</td>
			<td width="285">
			<input type="text" name="ssort_do9" size="38"></td>
		</tr>
	</table>
</div>
<div align="center">
	<table border="0" width="760" id="table2">
		<tr class=smallblack>
			<td>
			<input type="checkbox" name="close" value="checkbox" id=close onClick='showlist(other);'>其他信息(选填
			,选择填写请在左边小框画“√”)</td>
		</tr>
	</table>
	<table border="0" width="760" cellpadding="0" class=istable id=other style='display:none'>
		<tr>
			<td class=smallblack width="102" align="right">联系QQ:</td>
			<td class=smallblack width="181">
			<input type="text" name="ssort_do10" size="20"></td>
			<td class=smallblack width="85" align="right">年&nbsp;&nbsp;&nbsp; 龄:</td>
			<td class=smallblack width="140">
			<input type="text" name="ssort_do11" size="8"></td>
			<td class=smallblack width="79" align="right">电子邮件:</td>
			<td class=smallblack width="159">
			<input type="text" name="ssort_email2" size="20"></td>
		</tr>
		<tr>
			<td class=smallblack width="102" align="right">主页地址:</td>
			<td class=smallblack width="181">
			<input type="text" name="ssort_do13" size="20"></td>
			<td class=smallblack width="85" align="right">手机号码:</td>
			<td class=smallblack width="140">
			<input type="text" name="ssort_do14" size="17"></td>
			<td class=smallblack width="79" align="right">传&nbsp;&nbsp;&nbsp; 真:</td>
			<td class=smallblack width="159">
			<input type="text" name="ssort_do15" size="20"></td>
		</tr>
		<tr>
			<td class=smallblack width="102" align="right">工作单位:</td>
			<td class=smallblack width="181">
			<input type="text" name="ssort_do16" size="20"></td>
			<td class=smallblack width="85" align="right">身份证:</td>
			<td class=smallblack width="140">
			<input type="text" name="ssort_do17" size="17"></td>
			<td class=smallblack width="79" align="right">邮政编码:</td>
			<td class=smallblack width="159">
			<input type="text" name="ssort_do18" size="20">
			<input type="hidden" name="ssort_do21" value=<%=idl%>>
			</td>
		</tr>
		<tr>
			<td class=smallblack width="102" align="right">您的想法:</td>
			<td class=smallblack colspan="5" width="652">
			<textarea rows="5" name="ssort_do19" cols="72"></textarea></td>
		</tr>
		<tr>
			<td class=smallblack width="102" align="right">备&nbsp;&nbsp;&nbsp; 
			注:</td>
			<td class=smallblack colspan="5" width="652">
			<textarea rows="5" name="ssort_do20" cols="72"></textarea></td>
		</tr>
		</table>
</div>
<table border="0" width="760" align=center>
	<tr>
		<td align=center><input type="submit" value="确定预订(下单)" name="B1">&nbsp; <input type="reset" value="重置" name="B2"></td>
	</tr></form>
</table>

<%call htmlend()%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -