<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><!--#include file="../Include/Conno.asp" --><!--#include file="../Include/function.asp" --><!--#include file="../Include/ShowPage.asp" --><!--#include file="../sql/Neeao_SqlIn.Asp" -->
<%
dim rs,mSql
dim mStartStation,mEndStation,mWeek
dim mStartStationName,mEndStatioinName
function myto(str)
  dim temp
  temp=str
  if temp="1" then Temp="一"
  if temp="2" then Temp="二"
  if temp="3" then Temp="三"
  if temp="4" then Temp="四"
  if temp="5" then Temp="五"
  if temp="6" then Temp="六"
  if temp="7" then Temp="七"
  myto=temp
end function

'List
if Request.QueryString("action")="list" then
  mStartStation="30"
  mStartStationName="西安"
  mEndStation=Trim(Request.QueryString("CityID"))
  mEndStationName=Trim(Request.QueryString("CityName"))

  mWeek=""
  Session("mStartStation")=mStartStation
  Session("mEndStation")=mEndStation
  Session("mWeek")=mWeek
  Session("mStartStationName")=mStartStationName
  Session("mEndStationName")=mEndStationName  
end if

'Search
if Request.QueryString("action")="search" then
  
  mStartStation=Trim(Request.Form("selStartStation"))
  mEndStation=Trim(Request.Form("selEndStation"))
  mWeek=Trim(Request.Form("selWeek"))
  Session("mStartStation")=mStartStation
  Session("mEndStation")=mEndStation
  Session("mWeek")=mWeek
  
  'Read StartStionName
  mSql="Select F_CityName From Plane_CityType Where F_ID="&mStartStation
  Set rs=conn.Execute(mSql)
  If not rs.Eof then mStartStationName=rs(0)
  Session("mStartStationName")=mStartStationName
  rs.Close
  
  'Read EndStationName
  If Trim(mEndStation)>"0" then
    mSql="Select F_CityName From Plane_CityType Where F_ID="&mEndStation
    Set rs=conn.Execute(mSql)
    If not rs.Eof then mEndStationName=rs(0)
	Session("mEndStationName")=mEndStationName	
    rs.Close
  Else
    Session("mEndStationName")="所有通航城市"
  End if
end if
%><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>襄樊机票预订,武汉机场,机票预订电话：0713-8384956,旅行社,自助旅游,飞机航班,机票预订,襄樊生活网</title>
<meta name="description"content="襄樊生活网旅游频道是襄樊地区旅游出行,旅行社,自助旅游,出行自备,域外风采,旅游景点,旅游情报,公交线路,铁路时刻,飞机航班等全方位于一体的襄樊本地化旅游信息服务频道">
<meta name="keywords" content="旅行社,自助旅游,飞机航班,机票预订,襄樊机票预订,机票预订电话,0713-8384956,旅行社,自助旅游,飞机航班,机票预订">
<LINK href="../css/Menu.css" type=text/css rel=stylesheet>
<LINK href="../css/aTour.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3059" name=GENERATOR>
<SCRIPT src="../js/029bxw.js" type=text/javascript></SCRIPT>
</head>
<body>
<!--页面开始-->
<!--页面顶部开始-->
<!--#include file="../include/tourmenu.htm"-->
<!--页面顶部结束-->
<!--页面标题开始-->
<DIV id="aTitle"><img src="../images/Icon/001.gif"/> 您的位置：<A href="/">首页</A>&nbsp;&gt;&gt;&nbsp;<A href="/tour/index.asp">旅游出行</A>&nbsp;&gt;&gt;&nbsp;<A href="/tour/Plane_index.asp">机票预订</A>&nbsp;&nbsp;<font color="#ff0000">特价机票预订电话:029-86691188</font></DIV>
<!--页面标题结束-->
<!--页面正文结束-->
<table width="960" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
<div class="aTourLeft" style="width:560px;margin:5px 0px 0px 0px; padding:3px 5px 3px 5px;background-color:#F9FCFE">
<div id="aTourList1" style=" height:150px; text-align:center; line-height:20px">
<!--#include file="IncPlaneSearch.asp"-->
<ul id="aTourList1Ul">
<!--循环开始--><%keyword=trim(request("keyword"))
 m_Parameter = "keyword="&keyword&""
    dim m_RecordCount,m_PageNo,m_Page
    m_RecordCount=0 : m_PageNo=0 : m_Page=0
	m_PageSize = 10 
    m_PageNo = Trim(Request.querystring("PageNo"))
	Set rs = Server.createobject("Adodb.RecordSet")
    mSql="Select * From Plane_ScheduledFlightView"
	mSql = mSql+" Where F_StartStation='"&Session("mStartStation")&"'"
	if Session("mEndStation")>"0" then
	   mSql = mSql+" and F_EndStation='"&Session("mEndStation")&"'"
	End if
	rs.open mSql,conn,1,1
	if rs.Eof then
	   response.write "<br><p align='center'><font color=666666><B>站内暂时没有您所查看的信息</B></font></p><br>"
    else
      m_RecordCount = rs.RecordCount
      rs.PageSize = m_PageSize
      m_Page = rs.PageCount
      if m_PageNo = ""  then m_PageNo =1
      if cint(m_PageNo) < 1 or cint(m_PageNo) > m_Page then m_PageNo = 1
      rs.AbsolutePage = m_PageNo
      rc = m_PageSize
      re = 1
	  m_Count = 1
      Do while not rs.eof and rc>0
	  m_Count = m_Count +1
	  if m_Count mod 2 then m_BgColor = "ffffff" else m_BgColor = "f2f2f2"
        ShowContent()
      rs.MoveNext
      re = re+1
      rc = rc-1
    Loop
	rs.Close
 End if	
 Sub ShowContent()%>
<li>
<TABLE width="100%" border=0 align="center" cellPadding=1 cellSpacing=1 class=xz>
  <TBODY>
    <TR>
      <TD height=2 colSpan=5 bgcolor="#f2f2f2"></TD>
    </TR>
    <TR>
      <TD width="11%"><B><FONT color=#007103>航班号：</FONT></B></TD>
      <TD colSpan=2><FONT color=#007103> <a href="/Tour/Plane_Order.asp?ID=<%=rs("F_ID")%>" target="_blank"><%= rs("F_SFNumber") %></a></FONT></TD>
      <TD width="8%" align="right"><B><FONT color=#007103>机型：</FONT></B></TD>
      <TD colSpan=2><%=rs("F_PlaneName")%></TD>
    </TR>
    <TR align=middle bgColor=#efefef>
      <TD></TD>
      <TD width="30%" align=left>起飞地： <%=Session("mStartStationName")%> [ <%= rs("F_TakeOffTime") %> ]</TD>
      <!--<td>经停</td>-->
      <TD width="18%">本周启航时间</TD>
      <TD colspan="2">新价格</TD>
      <TD width="23%">下订单</TD>
    </TR>
    <TR align=middle bgColor=#efefef>
      <TD bgColor=#ffffff>&nbsp;</TD>
      <TD align=left>到达地： <%=Session("mEndStationName")%> [ <%= rs("F_ArriveTime") %> ]</TD>
      <!--<td>0</td>-->
      <TD> <%=rs("F_Schedule") %></TD>
      <TD colspan="2"><%=rs("F_MemberPrice") %></TD>
      <TD><a href="/Tour/Plane_Order.asp?ID=<%=rs("F_ID")%>"><font color="#FF0000">订购</font></a></TD>
    </TR>
  </TBODY>
</TABLE>
</li>
<%End Sub%>
<!--循环结束-->
</ul>
</div>
<div style="width:540px; padding:10px; text-align:center"><% Call ShowPage(m_Parameter)%></div>
</div>
<div style="margin-bottom:5px"><img src="Images/BgLine04.gif"></div>
<!--#include file="IncTourBottom.asp" -->
    </td>
    <td width="25" valign="top">
	<div class="aCenter05"> | 生活需要信息信息源于生活贴近生活服务生活
	</td>
    <td width="370" valign="top">
<!--#include file="IncTourRight.asp" -->
	</td>
  </tr>
</table>
<!--#include file="IncTourPic.asp" -->
<!--页面正文结束-->
<!--版权开始--><!--#include file="../include/CopyRight.htm"--><!--版权结束-->
<!--页面结束-->
</body>
</html>
