<!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="../sql/Neeao_SqlIn.Asp" -->
<%
 dim rs,m_SQL
 dim m_ID
 m_ID = clng(trim(Request.QueryString("ID")))
 m_SQL="Select * From Tour_TravelLine Where F_ID="&m_ID
 Set rs = conn.Execute(m_SQL)
 if trim(Request("action"))="add" then
 
  if Trim(Request.form("txtCheckCode"))<>CStr(session("CheckCode")) then
  response.write "<script language=javascript>alert('您输入的确认码和系统产生的不一致，请重新输入！');history.back()</Script>"
  Response.end
  end if
   m_TravelLineID = Request.Form("hidTravelLineID")
   m_BeginYear = Trim(Request.Form("selBeginYear"))
   m_BeginMonth = Trim(Request.Form("selBeginMonth"))
   m_BeginDay = Trim(Request.Form("selBeginDay"))
   m_EndYear = Trim(Request.Form("selEndYear"))
   m_EndMonth = Trim(Request.Form("selEndMonth"))
   m_EndDay = Trim(Request.Form("selEndDay"))
   m_Linkman = Trim(Request.Form("txtLinkman"))
   m_PersonNumber = Trim(Request.Form("txtPersonNumber"))
   m_CityNumber = Trim(Request.Form("txtCityNumber"))
   m_Tel = Trim(Request.Form("txtTel"))
   m_Email = Trim(Request.Form("txtEmail"))
   m_Address = Trim(Request.Form("txtAddress"))
   m_Price = Trim(Request.Form("hidPrice"))
   m_Memo = rTrim(Request.Form("txtMemo"))
   m_SQLt = "Insert Into Tour_TravelLineOrder(F_TravelLineID,F_BeginYear,F_BeginMonth,F_BeginDay,F_EndYear,F_EndMonth,F_EndDay,F_PersonNumber,F_Price,F_Linkman,F_Email,F_CityNumber,F_Tel,F_Address,F_Memo)Values"
   m_SQLt = m_SQLt + "("&m_TravelLineID&",'"&m_BeginYear&"','"&m_BeginMonth&"','"&m_BeginDay&"','"&m_EndYear&"','"&m_EndMonth&"','"&m_EndDay&"',"&m_PersonNumber&","&m_Price&",'"&m_Linkman&"','"&m_Email&"','"&m_CityNumber&"','"&m_Tel&"','"&m_Address&"','"&m_Memo&"')"
   conn.Execute(m_SQLt)
   Response.Write("<script language=javascript>alert('祝贺您，线路预定成功，我们会尽快与您联系！');window.location.replace('/Tour/Travel_LineShow.asp?ID="&m_id&"');</script>")
   Response.End()
 end if
%><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=rs("F_LineName")%>,旅游线路,旅行社,飞机航班,机票预订,旅游景点,襄樊生活网</title>
<meta name="description"content="襄樊生活网旅游频道是襄樊地区旅游出行,旅行社,自助旅游,出行自备,域外风采,旅游景点,旅游情报,公交线路,铁路时刻,飞机航班等全方位于一体的襄樊本地化旅游信息服务频道">
<meta name="keywords" content="旅行社,自助旅游,飞机航班,机票预订,<%=rs("F_LineName")%>,旅游景点">
<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>
<style type="text/css">
<!--
.style1 {
	color: #4972AE;
	font-weight: bold;
}
.style2 {color: #FF0000}
-->
</style>
<script language="JavaScript" src="../js/CheckForm.js"></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/Travel_Lineall.asp">旅游线路</A>&nbsp;&gt;&gt;&nbsp;<A href="/tour/Travel_LineShow.asp?ID=<%=m_id%>"><%=rs("F_LineName")%></A></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;">

<div style="width:540px; padding:10px; text-align:center">
<div class="aNTitle" style=" text-align:center"><%=rs("F_LineName")%></div>
<div style="margin:10px;text-align:left;BORDER-bottom: #9EC9EC 1px dotted; ">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="center">

	            <table width="100%" align="center" cellspacing="0" cellpadding="0">
                      <tr height="25">
                        <td width="80" class="content4"><span class="style1">组团单位：</span></td>
                        <td align="left"><a href="/Tour/Travel_Agency.asp?ID=<%=rs("F_TravelAgencyID")%>" class="content4 line" target="_blank">
				  <%
				  m_SQL = "Select f_id,f_travelagencyname From Tour_Travelagency Where F_id="&rs("F_TravelAgencyID")
	              Set rst = conn.Execute(m_SQL)
				  if not rst.eof then
				  F_TravelAgencyName=rst("F_TravelAgencyName")
				  %>
				  <%=F_TravelAgencyName%>
				  <%
				  end if
				  rst.close
				  %>
				  </a>                        </td>
                      </tr>
                      <tr height="25">
                        <td class="content4"><span class="style1">本次价格：</span></td>
		        <td align="left">￥<span class="content5 line"><%=rs("F_Price")%></span> 元</td>
                      </tr>
                      <tr height="25">
                        <td class="content4"><span class="style1">会 员 价：</span></td>
			<td align="left">￥<span class="content5 line"><%=rs("F_MemberPrice")%></span> 元 &nbsp;&nbsp;&nbsp;-><a href="/Member/Register.asp" target="_blank" class="dark line">成为会员</a></td>
                      </tr>
                      <tr height="25">
                        <td class="content4"><span class="style1">发团时间：</span></td>
                        <td align="left" class="content3 border dark a1"><%=rs("F_StartoffTime")%></td>
                      </tr>
	            </table>

		</td>

                <td width="226" height="145"  align="center" background="images/td/td_bg_001.gif">

		          <table width="200" border="0" cellpadding="0" cellspacing="0">
                    <tr height="23">
                      <td width="58"><span class="content4 style2"><strong>到达地点</strong></span></td>
                      <td width="142" align="left"><span class="content3"><%=rs("F_EndCityName")%></span> </td>
                    </tr>
                    <tr height="23">
                      <td><span class="content4 style2"><strong>旅游天数</strong></span></td>
                      <td align="left"><span class="content3"><%=rs("F_Linger")%>天</span> </td>
                    </tr>
                    <%  if rs("F_AirWays")<>"" then  %>
                    <tr height="23">
                      <td><span class="content4 style2"><strong>航空公司</strong></span></td>
                      <td align="left"><span class="content3"><%=rs("F_AirWays")%></span> (<span class="content3"><%=rs("F_Berth")%></span>) </td>
                    </tr>
                    <%
				end if
				%>
                    <tr height="23">
                      <td><span class="content4 style2"><strong>交通工具</strong></span></td>
                      <td align="left"><span class="content3"><%=rs("F_Traffic")%></span> </td>
                    </tr>
                    <tr height="23">
                      <td><span class="content4 style2"><strong>酒店等级</strong></span></td>
                      <td align="left"><span class="content3">
                        <%
		if rs("F_StarGrade")<>"" then
			  m_SQL="SELECT F_Value FROM Tour_StarGradeType WHERE F_ID =" & rs("F_StarGrade")
		  	  Set rst = conn.Execute(m_SQL)
			  if not rst.eof then
			    Response.Write rst(0)
			  else
			    Response.write "无"
			  end if
			  rst.Close
		 end if
			%>
      (
      <%
			  m_SQL="SELECT F_Value FROM Tour_HotelRoomType WHERE F_ID =" & rs("F_RoomType")
		  	  Set rst = conn.Execute(m_SQL)
			  if not rst.Eof then Response.Write rst(0)
			  rst.Close
			%>
      ) </span> </td>
                    </tr>
                  </table></td>
        </tr>
    </table>

	  <FIELDSET align="center" style="WIDTH: 95%"><LEGEND class=content4> <font color="#333333">简介</font> </LEGEND>
            <table width="90%" border="0" align="center" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="80" class="content3"><%=rs("F_Intro")%></td>
              </tr>
            </table>
    </FIELDSET>

            <table width="95%" border="0" align="center" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="30" background="images/td/bg_td_b_001.gif"><img src="images/td/td_b_001.gif"></td>
              </tr>
            </table>

            <table width="95%" border="0" align="center" cellspacing="4" cellpadding="0">
              <tr> 
                <td><table width="100%" cellspacing=4 cellpadding=10 border=0>
                    <tbody>
                    <%
					m_SQL = "Select * From Tour_TravelLineday Where F_travelline_id="&rs("f_id")
	                Set rst = conn.Execute(m_SQL)
					i=1
					f_bgcolor="#ffffff"
					do while not rst.eof
					if f_bgcolor="#ffffff" then
					f_bgcolor="#fcf5ed"
					else
					f_bgcolor="#ffffff"
					end if
					%>
                      <tr style="BACKGROUND-COLOR: <%=f_bgcolor%>"> 
                        <td class="content3"><li> <b>第<%=i%>天:</b><%=rst("f_content")%></li></td>
                      </tr>
                      <%
					  i=i+1
					  rst.movenext
					  loop
					  rst.close
					  %>
                    </tbody>
                  </table></td>
              </tr>
            </table>

            <table width="95%" border="0" align="center" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="30" background="images/td/bg_td_b_001.gif"><img src="images/td/td_b_002.gif"></td>
              </tr>
            </table>

            <table width="95%" border="0" align="center" cellspacing="4" cellpadding="0">
              <tr>
                <td class="content3" height="50">
                  <%
		  
		  arrSight =split(rs("F_SightFlag"),",")
		  for i = 0 to ubound(arrSight)
		    m_SQL = "SELECT F_ID,F_SightName FROM Tour_TravelSight WHERE F_ID="&cint(arrSight(i))
			Set rst = conn.Execute(m_SQL)
			if Not rst.Eof then
			  Response.write "<a target='_blank' href='/Tour/Travel_SightShow.asp?ID="&rst(0)&"'>"
			  Response.write rst(1)
			  Response.Write "</a>  "
			end if
			rst.Close
		  next
		  %>
                </td>
              </tr>
            </table>


            <table width="95%" border="0" align="center" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="30" background="images/td/bg_td_b_001.gif"><img src="images/td/td_b_003.gif"></td>
              </tr>
            </table>

            <table width="95%" border="0" align="center" cellspacing="4" cellpadding="0">
              <tr> 
                <td height="50" class="content3"><%=rs("F_event")%></td>
              </tr>
            </table>

            <table width="95%" border="0" align="center" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="30" background="images/td/bg_td_b_001.gif"><img src="images/td/td_b_004.gif"></td>
              </tr>
            </table>

            <table width="95%" border="0" align="center" cellspacing="4" cellpadding="0">
              <tr> 
                <td height="50" class="content3"><%=rs("F_careful")%></td>
              </tr>
            </table>


            <table width="95%" border="0" align="center" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="30" background="images/td/bg_td_b_001.gif"><img src="images/td/td_b_005.gif"></td>
              </tr>
            </table>

            <table width="95%" border="0" align="center" cellspacing="4" cellpadding="0">
              <tr> 
                <td height="50" class="content3"><%=rs("F_way")%></td>
              </tr>
            </table>

            <table width="95%" border="0" align="center" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="30" background="images/td/bg_td_b_001.gif"><img src="images/td/td_b_006.gif"></td>
              </tr>
              <tr> 
                <td height="30" align="right"><a href="javascript:window.print()" class="dark">打印此页</a></td>
              </tr>
            </table>
<table cellspacing="3" cellpadding="0" width="100%" border="0">
  <form action="/Tour/Travel_LineShow.asp?ID=<%=m_id%>" method="post" name="Form1" id="Form1" onSubmit="return CheckForm(this)">
    <tbody>
      <tr>
        <td align="right" width="20%">选择路线</td>
        <td align="middle" width="5%">*</td>
        <td width="75%"><span class="tdbg4">
          <input class="input1" style="width:250px;" size="30" value="<%=rs("F_LineName")%>" name="txtLineName" disabled="disabled" />
          <input name="hidTravelLineID" type="hidden" value="<%=m_ID%>" />
          <input name="hidPrice" type="hidden" value="<%=rs("F_Price")%>" />
          <input name="action" type="hidden" id="action" value="add">
</span></td>
      </tr>
      <tr>
        <td align="right">报名人数</td>
        <td align="middle">*</td>
        <td><span class="tdbg4">人数：
            <input class="input1" name="txtPersonNumber" value="1" size="5" maxlength="3" onBlur="if (isNaN(this.value)){this.value='0';  alert('类型错误,请输入数值型！');this.focus(); }" />
        人 </span></td>
      </tr>
      <tr>
        <td align="right">最早出发日期</td>
        <td align="middle">*</td>
        <td><span class="tdbg4">
          <select name="selBeginYear">
            <%
				 m_year=year(date())
				 for x=0 to 3
				 %>
            <option value="<%=m_year+x%>" ><%=m_year+x%></option>
            <% next %>
          </select>
年
<select name="selBeginMonth">
  <% m_month=month(date())
				for x=1 to 12
				%>
  <option value="<%=x%>" <% if x=m_month then %>selected<% end if %>><%=x%></option>
  <% next %>
</select>
月
<select name="selBeginDay">
  <%
				m_day=day(date())
				for x=1 to 31
				%>
  <option value="<%=x%>" <% if x=m_day then %>selected<% end if %>><%=x%></option>
  <% next %>
</select>
日</span></td>
      </tr>
      <tr>
        <td align="right">最晚出发日期</td>
        <td align="middle">*</td>
        <td><span class="tdbg4">
          <select   name="selEndYear">
            <%
				 m_year=year(date())
				 for x=0 to 3
				 %>
            <option value="<%=m_year+x%>" ><%=m_year+x%></option>
            <%
				 next
				 %>
          </select>
年
<select name="selEndMonth">
  <%
				m_month=month(date())
				for x=1 to 12
				%>
  <option value="<%=x%>" <% if x=m_month then %>selected<% end if %>><%=x%></option>
  <%
				next
				%>
</select>
月
<select name="selEndDay">
  <%
				m_day=day(date())
				for x=1 to 31
				%>
  <option value="<%=x%>" <% if x=m_day then %>selected<% end if %>><%=x%></option>
  <%
				next
				%>
</select>
日 </span></td>
      </tr>
      <tr>
        <td align="right">联系人</td>
        <td align="middle">*</td>
        <td><span class="tdbg4">
          <input class="input1" style="width:250px;" size="15" name="txtLinkman" check="^\S" warning="联系人不能为空">
        </span></td>
      </tr>
      <tr>
        <td align="right">联系电话</td>
        <td align="middle">*</td>
        <td><span class="tdbg4">
          <input class="input1" style="width:40px;" name="txtCityNumber" value="029" size="4" check="^\S" warning="联系电话不能为空">
-
<input class="input1" style="width:190px;" size="15" name="txtTel" />
        </span></td>
      </tr>
      <tr>
        <td align="right">注意事项</td>
        <td align="middle">：</td>
        <td>请正确填写电话(或者手机)，如果要输入多个固定电话号码，请使用&quot;/&quot;分隔；分机号码用&quot;-&quot;分隔，以方便我们尽快与您取得联系！</td>
      </tr>
      <tr>
        <td align="right">电子信箱</td>
        <td align="middle">&nbsp;</td>
        <td><span class="tdbg4">
          <input class="input1" style="width:250px;" size="30" name="txtEmail" />
        </span></td>
      </tr>
      <tr>
        <td align="right">联系地址</td>
        <td align="middle">&nbsp;</td>
        <td><span class="tdbg4">
          <input class="input1" size="40"  name="txtAddress" check="^\S" warning="联系地址不能为空">
        </span></td>
      </tr>
      <tr>
        <td align="right">其它说明</td>
        <td align="middle">&nbsp;</td>
        <td><span class="tdbg4">
          <textarea class="text" name="txtMemo" rows="6" wrap="virtual" cols="55"></textarea>
        </span></td>
      </tr>
	  <tr>
        <td align="right">验 证 码</td>
        <td align="middle">&nbsp;</td>
        <td><!--#include file="../Images/index/login.gif"--><input name="txtCheckCode" size="13" maxlength="4" style="BORDER-RIGHT: rgb(182,182,182) 1px solid; BORDER-TOP: rgb(182,182,182) 1px solid; FONT-WEIGHT: lighter; FONT-SIZE: 12px; BORDER-LEFT: rgb(182,182,182) 1px solid; BORDER-BOTTOM: rgb(182,182,182) 1px solid; FONT-FAMILY: 奔覆" check="^\S" warning="验证码不能为空"> 
                          <img src="../include/checkcode.asp"></td>
      </tr>
      <tr>
        <td align="middle" colspan="3" height="50"><span class="tdbg4">
          <input type="submit" name="Submit" value="确 认 预 定" style="HEIGHT: 25px" />
          <input type="reset" name="Submit2" value="重 新 填 写" style="HEIGHT: 25px" />
        </span></td>
      </tr>
    </tbody>
  </form>
</table>
<table width="95%" border="0" cellspacing="2" cellpadding="0">
  <tr>
    <td height="30" align="left" class="content5 dark line">*以上信息由当<font color="#FF0000"><%=F_TravelAgencyName%></font>提供发布，并由有<font color="#FF0000"><%=F_TravelAgencyName%></font>提供收款及各项服务。</td>
  </tr>
</table>
</div>
<div class="aNText2"></div> 
</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"> | 生活需要信息信息源于生活贴近生活服务生活</div>
	</td>
    <td width="370" valign="top">
<!--#include file="IncTourRight.asp" -->
	</td>
  </tr>
</table>
<!--#include file="IncTourPic.asp" -->
<!--页面正文结束-->
<!--版权开始-->
<!--#include file="../include/CopyRight.htm"--><!--版权结束-->
<!--页面结束-->
</body>
</html>
