📄 default_small.asp
字号:
<HTML><HEAD><TITLE>机票系统</TITLE>
<!--#include file="Conn.asp"-->
<!--#include file="Config.asp"-->
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="css.css" type=text/css rel=stylesheet>
<script language="javascript" src="js/public.js"></script>
<SCRIPT language=javascript src="js/calendar.js"></SCRIPT>
<SCRIPT language=javascript src="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>
</HEAD>
<BODY>
<table id=gnTable cellspacing=0 cellpadding=0 width=150 align=center border=0 style="DISPLAY: block;">
<form name="dcform" action="searching.asp" method="post" target="_blank" onSubmit="return CheckPara(this)">
<input type="hidden" name="filename" value="<%=request.ServerVariables("SCRIPT_NAME")%>">
<input name="Istrue" type="hidden" id="Istrue" value="0">
<input name="order_flag" type="hidden" id="order_flag" value="0">
<input name="today" type="hidden" value="<%=date()%>">
<tr background="images_index/top_2.gif">
<td width="108" background="images_index/top_2.gif"><img src="images_index/top_1.gif" width="15" height="11"></td>
<td width="100" background="images_index/top_2.gif"></td>
<td width="192" align="right" background="images_index/top_2.gif"><img src="images_index/top_3.gif" width="14" height="11"></td>
</tr>
<tr>
<td colspan=3 align="right" background="images_index/index_yellowbg.gif">
<table cellspacing=0 cellpadding=0 width="100%" align=center border=0 class="lrborder">
<tr>
<td height="25" colspan="2" background="images_index/index_timequery3.gif"><img src="images_index/index_yellowniu1.gif" width=108 height=26 id=gn_spanIdA><span class="tabb" style="CURSOR: hand"><img src="images_index/index_yellowniu2.gif" width=99 height=26 id=gn_spanIdB></span></td>
</tr>
<tr>
<td height="25" align="center"></td>
<td width="94%"><input onClick=showfancheng() type=radio checked value=1 name=radio>
<span class="STYLE4">单 程</span>
<input onClick=showvfancheng() type=radio value=2 name=radio>
<span class="STYLE4">往 返</span></td>
</tr>
<tr>
<td width="6%" height="25" align="center" class=tp> </td>
<td class=tp>出发城市
<select name=StartCity01 id="StartCity01" style="WIDTH: 120px">
<option value=CAN selected>G广州</option>
<script> document.write(citystr)</script>
</select></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>
</tr>
<tr>
<td height="25" align="center" class=tp> </td>
<td class=tp>出发日期
<input name="StrDate01" type="text" style="width:100px" value="<%=date()+1%>" id="StrDate01" onClick="javascript:calendar();" readonly></td>
</tr>
<tr>
<td height=25 align="center"> </td>
<td height=10>起飞时间
<select name=select id="select2">
<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 id=fcrq style="DISPLAY: none" >
<td height=25 align="center"> </td>
<td >
返程日期
<input name=StrDate03 id=StrDate03 style="WIDTH:100px"
onClick="javascript:calendar();" value="" readonly> </td>
</tr>
<tr>
<td height=25 align="center"> </td>
<td height=10>
航空公司
<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>
</tr>
<tr>
<td height=30 colspan="2" align="center"><input type=image height=25 width=125 src="images_index/index_button_search.gif" name=image></td>
</tr>
</table></td>
</tr>
<tr background="images_index/bottom_2.gif">
<td background="images_index/bottom_2.gif"><img src="images_index/bottom_1.gif" width="12" height="6"></td>
<td background="images_index/bottom_2.gif"></td>
<td align="right" background="images_index/bottom_2.gif"><img src="images_index/bottom_3.gif" width="9" height="6"></td>
</tr>
</form>
</table>
<!-------标记-------->
<table id=gjTable style="DISPLAY:none" cellspacing=0 cellpadding=0 width=150 align=center border=0>
<form action="searching.asp" method="post" name=gjform target="_blank" onSubmit="return CheckPara(this)">
<input type="hidden" name="filename" value="<%=request.ServerVariables("SCRIPT_NAME")%>">
<input name="Istrue" type="hidden" id="Istrue" value="0">
<input name="order_flag" type="hidden" id="order_flag" value="0">
<input name="today" type="hidden" value="<%=date()%>">
<tr background="images_index/top_2.gif">
<td width="108" background="images_index/top_2.gif"><img src="images_index/top_1.gif" width="15" height="11"></td>
<td width="99" background="images_index/top_2.gif"></td>
<td width="193" align="right" background="images_index/top_2.gif"><img src="images_index/top_3.gif" width="14" height="11"></td>
</tr>
<tr>
<td background="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="2" background="images_index/index_timequery3.gif"><img src="images_index/index_yellowniu5.gif" name="gj_spanIdA" width=108 height=26 id=gj_spanIdA><img id=gj_spanIdB height=26 src="images_index/index_yellowniu6.gif" width=99></td>
</tr>
<tr>
<td height="25" align="center"></td>
<td width="94%"><input onClick="gjdancheng()" type="radio" checked value=1 name="radio">
<font color=#8e863e>单 程</font>
<input onClick="gjwangfan()" type="radio" value=2 name="radio">
<font color="#8e863e">往 返</font></td>
</tr>
<tr><td width="6%" height="25" align="center" class=tp> </td>
<td class=tp>出发城市
<select name="StartCity01" id="StartCity01" style="WIDTH: 120px;">
<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>
</tr>
<tr><td height="25" align="center" > </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 + -