📄 default_include.asp
字号:
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="/search/css.css" type=text/css rel=stylesheet>
<script language="javascript" src="/search/js/public.js"></script>
<SCRIPT language=javascript src="/search/js/calendar.js"></SCRIPT>
<SCRIPT language=javascript src="/search/js/address.js"></SCRIPT>
<SCRIPT language=javascript>
function CheckPara(strform){
if(strform.EndCity01.value == strform.StartCity01.value){
alert("出发城市和到达城市不能相同,请更正!");
strform.EndCity01.focus();
return false;
}
if(!isDateString(strform.StrDate01.value)){
alert("出发日期不是一个合法的日期,请更正,正确时间格式:YYYY-MM-DD");
strform.dcstartdate.focus();
return false;
}
if(stringToDate(strform.StrDate01.value) < stringToDate(strform.today.value)){
alert("出发日期不能小于现在日期,请检查重输!");
strform.StrDate01.focus();
return false;
}
//对往返程进行验证
if(strform.radio[1].checked){
if(strform.StrDate03.value == ""){
alert("您还没有输入返程日期,请输入(日期格式:YYYY-MM-DD)!");
strform.StrDate03.focus();
return false;
}
if(!isDateString(strform.StrDate03.value)){
alert("返程日期不是一个合法的日期,请更正,正确时间格式:YYYY-MM-DD");
strform.StrDate03.focus();
return false;
}
if(stringToDate(strform.StrDate03.value) < stringToDate(strform.today.value)){
alert("返程日期不能小于现在日期,请检查重输!");
strform.StrDate03.focus();
return false;
}
if(stringToDate(strform.StrDate03.value) < stringToDate(strform.StrDate01.value)){
alert("返程日期不能小于出发日期,请检查重输!");
strform.StrDate03.focus();
return false;
}
}
return true;
}
</SCRIPT>
<table id=gnTable cellspacing=0 cellpadding=0 width=400 align=center border=0 style="DISPLAY: block;">
<form name=dcform action="/search/searching.asp" method=post onSubmit="return CheckPara(this)" target="_blank">
<input type="hidden" name="filename" value="<%=request.ServerVariables("SCRIPT_NAME")%>">
<input name="today" type="hidden" value="<%=date()%>">
<tr background="/search/images_index/top_2.gif">
<td width="108" background="/search/images_index/top_2.gif"><img src="/search/images_index/top_1.gif" width="15" height="11"></td>
<td width="100" background="/search/images_index/top_2.gif"></td>
<td width="192" align="right" background="/search/images_index/top_2.gif"><img src="/search/images_index/top_3.gif" width="14" height="11"></td>
</tr>
<tr>
<td colspan=3 align="right" background="/search/images_index/index_yellowbg.gif">
<table cellspacing=0 cellpadding=0 width="100%" align=center border=0 class="lrborder">
<tr>
<td height="25" colspan="4" background="/search/images_index/index_timequery3.gif"><img src="/search/images_index/index_yellowniu1.gif" width=108 height=26 id=gn_spanIdA><span class="tabb" style="CURSOR: hand"><img src="/search/images_index/index_yellowniu2.gif" width=99 height=26 id=gn_spanIdB></span></td>
</tr>
<tr>
<td height="25" align="center"></td>
<td><input onClick=showfancheng() type=radio checked value=1 name="radio">
<span class="font_radio">单 程</span></td>
<td width="48%" colspan="2"><input onClick=showvfancheng() type=radio value=2 name="radio">
<span class="font_radio">往 返</span></td>
</tr>
<tr>
<td width="22%" height="25" align="center" class=tp>出发城市 </td>
<td width="30%" class=tp><select name=StartCity01 id="StartCity01" style="WIDTH: 120px">
<option value=CAN selected>G广州</option>
<script> document.write(citystr)</script>
</select></td>
<td colspan="2" class=tp> 出发日期
<input name="StrDate01" type="text" style="width:86px" value="<%=date()+1%>" id="StrDate01" onClick="javascript:calendar();" readonly></td>
</tr>
<tr>
<td height="25" align="center" class=tp>到达城市 </td>
<td class=tp><select name="EndCity01" id="EndCity01" style="WIDTH: 120px">
<option value="PEK" selected>B北京</option>
<script> document.write(citystr)</script>
</select></td>
<td colspan="2">
起飞时间
<select name="time01" id="time01">
<option value="" selected>全天</option>
<option value=6:00>6:00以后</option>
<option value=8:00>8:00以后</option>
<option value=10:00>10:00以后</option>
<option value=12:00>12:00以后</option>
<option value=14:00>14:00以后</option>
<option value=16:00>16:00以后</option>
<option value=18:00>18:00以后</option>
<option value=20:00>20:000以后</option>
<option value=22:00>22:00以后</option>
</select>
</td>
</tr>
<tr>
<td height="25" align="center" class=tp>航空公司 </td>
<td class=tp><select id="airlineCode01" name="airlineCode01">
<option value="">不限</option>
<option value="CA">国际航空公司</option>
<option value="CZ">南方航空公司</option>
<option value="MU">东方航空公司</option>
<option value="HU">海南航空公司</option>
<option value="ZH">深圳航空公司</option>
<option value="3U">四川航空公司</option>
<option value="MF">厦门航空公司</option>
<option value="FM">上海航空公司</option>
<option value="SC">山东航空公司</option>
<option value="CJ">北方航空公司</option>
</select></td>
<td colspan="2" id="fcrq" style="DISPLAY: none">
返程日期
<input name="StrDate03" id="StrDate03" style="WIDTH:86px"
onClick="javascript:calendar();" value="" readonly>
</td>
</tr>
<tr>
<td height=30> </td>
<td height=10 colspan="3"><input type=image height=25 width=125 src="/search/images_index/index_button_search.gif" name=image></td>
</tr>
</table></td>
</tr>
<tr background="/search/images_index/bottom_2.gif">
<td background="/search/images_index/bottom_2.gif"><img src="/search/images_index/bottom_1.gif" width="12" height="6"></td>
<td background="/search/images_index/bottom_2.gif"></td>
<td align="right" background="/search/images_index/bottom_2.gif"><img src="/search/images_index/bottom_3.gif" width="9" height="6"></td>
</tr>
</form>
</table>
<!-------标记-------->
<table id=gjTable style="DISPLAY: none" cellspacing=0 cellpadding=0 width=400 align=center border=0>
<form action="/search/searching.asp" method="post" name="gjform" onSubmit="return CheckPara(this)" target="_blank">
<input type="hidden" name="filename" value="<%=request.ServerVariables("SCRIPT_NAME")%>">
<input type="hidden" name="today" value="<%=date()%>">
<tr background="/search/images_index/top_2.gif">
<td width="108" background="/search/images_index/top_2.gif"><img src="/search/images_index/top_1.gif" width="15" height="11"></td>
<td width="99" background="/search/images_index/top_2.gif"></td>
<td width="193" align="right" background="/search/images_index/top_2.gif"><img src="/search/images_index/top_3.gif" width="14" height="11"></td>
</tr>
<tr>
<td background="/search/images_index/index_yellowbg.gif" colspan=3>
<table cellspacing=0 cellpadding=0 width="100%" align=center border=0 class="lrborder">
<tr>
<td height="25" colspan="4" background="/search/images_index/index_timequery3.gif"><img src="/search/images_index/index_yellowniu5.gif" name="gj_spanIdA" width=108 height=26 id=gj_spanIdA><img id=gj_spanIdB height=26 src="/search/images_index/index_yellowniu6.gif" width=99></td>
</tr>
<tr>
<td height="25" align="center"> </td>
<td><input onClick=gjdancheng() type=radio checked value=1 name=radio>
<font color=#8e863e>单 程</font> </td>
<td width="48%" colspan="2"><input onClick=gjwangfan() type=radio value=2 name=radio>
<font color=#8e863e>往 返</font></td>
</tr>
<tr><td width="22%" height="25" align="center" class=tp>出发城市
</td>
<td width="30%" class=tp><select name=StartCity01 id="StartCity01" style="WIDTH: 120px;">
<option value="CTU">C 成都</option>
<option value="CAN">G 广州</option>
<option value="HKG">H 香港</option>
<option value="SZX" selected>S 深圳</option>
<option value="PEK">B 北京</option>
<option value="SHA">S 上海</option>
<option value="MFM">M 澳门</option>
<option value="TPE">T 台北</option>
</select></td>
<td colspan="2" class=tp> 出发日期
<input name="StrDate01" type="text" style="WIDTH:86px" value="<%=date()+1%>" id="StrDate01" onClick="javascript:calendar();" readonly ></td>
</tr>
<tr><td height="25" align="center" class=tp>到达城市
</td>
<td class=tp><select id=EndCity01 style="WIDTH: 120;px" name=EndCity01>
<option value=AKU>A 阿克苏</option>
<option value=HDQ>A 亚特兰大</option>
<option value=AMS>阿姆斯特丹</option>
<option value=ATH>A 雅典</option>
<option value=BWI>B 巴尔的摩</option>
<option value=BKK>B 曼谷</option>
<option value=SXF>B 柏林</option>
<option value=BOM>B 孟买</option>
<option value=BOS>B 波士顿</option>
<option value=BSB>B 巴西利亚</option>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -