You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
350 lines
18 KiB
Plaintext
350 lines
18 KiB
Plaintext
<!--#include virtual="/include/site-seting.asp" -->
|
|
<!--#include virtual="/common/Function.asp" -->
|
|
<!--#include virtual="/common/function-tour.asp"-->
|
|
<!--#include virtual="/include/CTP-ClickAndOrder.asp"-->
|
|
<%
|
|
City = changeParaStr(SafeRequest("fromCity",0))
|
|
City2 = changeParaStr(SafeRequest("ToCity",0))
|
|
capCity = capitalize(City)
|
|
capCity2= capitalize(City2)
|
|
If City="" OR City2="" Then
|
|
Response.Status = "404 not fond"
|
|
Response.End()
|
|
End If
|
|
|
|
urlCityTourInfo = "/tour/{0}tour/{1}/"
|
|
imgurl = "http://images.chinahighlights.com"
|
|
|
|
If capCity2 = "Xian" Then capCity2 = "Xi'an"
|
|
|
|
sql="SELECT DISTINCT CLI_SN, CLI_NO, CLI2_Name, CLI_Days,CLP_TwoToFiveAdultPrice, "&_
|
|
" dbo.GetFullPathByPII_SN(CLI_ListImage, 1) AS pic, CLI2_AttractionList, "&_
|
|
" CLI2_PassCity, CLI2_Introduction, CLI_LineType, CLI_CityName, CLI_PackageClass, "&_
|
|
" ISNULL "&_
|
|
" ((SELECT TOP 1 FGD_AdultPrice "&_
|
|
" FROM tourmanager.dbo.FixedGroupDate "&_
|
|
" WHERE (FGD_State = 1) AND (FGD_Departure >= GETDATE()) AND "&_
|
|
" (FGD_CLI_SN = CLI_SN) "&_
|
|
" ORDER BY FGD_Departure), 0) AS G_Price, CLI_OrderNum,CustomerLineInfo.CLI_CII_SN,CLI2_Http, dbo.GetCityName(CLI_CII_SN, "&site_lgc&") AS cityname "&_
|
|
"FROM CustomerLineInfo2 INNER JOIN "&_
|
|
" CustomerLineInfo ON CustomerLineInfo2.CLI2_CLI_SN = CustomerLineInfo.CLI_SN INNER JOIN "&_
|
|
" CustomerLinePrice ON CustomerLineInfo.CLI_SN = CustomerLinePrice.CLP_CLI_SN "&_
|
|
"WHERE CLI2_EntranceCity = '"&City&" ' "&_
|
|
" AND CustomerLineInfo.CLI_CityName = '"&City2&"' "&_
|
|
" AND CustomerLineInfo.CLI_State = 1005004 "&_
|
|
" AND (CLI2_LGC = 1) "&_
|
|
" AND CustomerLinePrice.clp_pricetype = 2 "&_
|
|
" AND CustomerLineInfo.DeleteFlag = 0 "&_
|
|
" AND CustomerLineInfo2.DeleteFlag = 0 "&_
|
|
" AND CustomerLinePrice.DeleteFlag = 0 "&_
|
|
" AND (CLI_DEI_SN = 1) "&_
|
|
"ORDER BY CLI_OrderNum"
|
|
'Response.Write(Sql)
|
|
Set rs = server.CreateObject("adodb.recordset")
|
|
rs.Open sql, conn, 1, 1, 1
|
|
|
|
Dim theme_tour_name_cache
|
|
ttn_SQL = "Select SYC_SN,SYC2_CodeDiscribe from V_System_Code where SYC_Type = 6 and LGC_LGC = " & Site_lgc
|
|
Set ttn_rs = Server.Createobject("adodb.recordset")
|
|
ttn_rs.open ttn_SQL,conn,1,1,1
|
|
If Not ttn_rs.Eof Then
|
|
theme_tour_name_cache = ttn_rs.getRows
|
|
End If
|
|
ttn_rs.close
|
|
Set ttn_rs = Nothing
|
|
|
|
Function get_theme_tour_name(LineType, theme_tour_name_cache)
|
|
'Response.Write(LineType)
|
|
'Response.End()
|
|
If LineType = "" Then
|
|
Exit Function
|
|
End If
|
|
If IsArray(theme_tour_name_cache) Then
|
|
For g_i = 0 to Ubound(theme_tour_name_cache, 2)
|
|
'Response.Write(theme_tour_name_cache(1, g_i) )
|
|
If LineType = Trim(theme_tour_name_cache(0, g_i)) Then
|
|
get_theme_tour_name = theme_tour_name_cache(1, g_i)
|
|
End If
|
|
Next
|
|
End If
|
|
|
|
End Function
|
|
|
|
%>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title><%= capCity &" "& capCity2 %> Tours,<%= capCity2 %> Tours from <%= capCity %> - China Highlights</title>
|
|
<meta name="Copyright" content="www.chinahighlights.com, copyrights reserved." />
|
|
<meta name="keywords" content="<%= capCity &" "& capCity2 %> Tours, <%= capCity2 %> Tours from <%= capCity %>" />
|
|
<meta name="description" content="<%= capCity &" "& capCity2 %> Tours, List of <%= capCity2 %> Tours from <%= capCity %>. All tours are customized to meet your personal needs." />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="robots" content="all" />
|
|
<link href="http://data.chinahighlights.com/css/global-all.css" rel="stylesheet" type="text/css" media="all" />
|
|
<link href="http://data.chinahighlights.com/css/tour-public.css" rel="stylesheet" type="text/css" media="all" />
|
|
<link href="http://data.chinahighlights.com/css/tour.css" rel="stylesheet" type="text/css" media="all" />
|
|
<script language="javascript" src="http://data.chinahighlights.com/js/jquery.js"></script>
|
|
<script language="javascript" src="/js/newcalendar.js"></script>
|
|
<script type="text/javascript" src="http://data.chinahighlights.com/js/ChtPublic.js"></script>
|
|
<script type='text/javascript' src='/js/boxyapp.js'></script>
|
|
<script language="javascript" src="/js/flytriptype.js"></script>
|
|
<script type="text/javascript" language="javascript" src="http://data.chinahighlights.com/js/global-nav.js"></script>
|
|
<script>
|
|
function ds(_s){
|
|
if ($("#"+_s).css("display")=="block") return false;
|
|
$("#d1").fadeOut(800);
|
|
$("#d2").fadeOut(800);
|
|
$("#d3").fadeOut(800);
|
|
$("#"+_s).slideDown(800);
|
|
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
<!--#include virtual="/include/headerWrapper-2012.asp" -->
|
|
<div id="content">
|
|
<div id="contentHead">
|
|
<div id="subNav"><a href="/">Home</a> <a href="/tour/">China Tours</a> <%= capCity &" "& capCity2 %> Tours</div>
|
|
|
|
<h1><%= capCity &" "& capCity2 %> Tours</h1>
|
|
</div>
|
|
<div id="subContent">
|
|
<div class="boxleft"> <span class="borderTitle" onclick="ds('d1')">Quick Search</span>
|
|
<div class="boxmiddle" style="display:none " id="d1">
|
|
<form name="toursearchpanelform" method="post" action="/tour/tour-list.asp">
|
|
<div class="boxContent roundCorner">
|
|
<select name="price" id="price" class="roundCorner">
|
|
<option value="1">- Price Per Person -</option>
|
|
<option value="1">US$1,000 Or less</option>
|
|
<option value="2">US$1,000-2,000</option>
|
|
<option value="3">US$2,000-3,000</option>
|
|
<option value="4">US$3,000-4,000</option>
|
|
<option value="5">US$4,000-5,000</option>
|
|
<option value="6">US$5,000-6,000</option>
|
|
<option value="7">More than US$6,000</option>
|
|
</select>
|
|
<select name="seldays" id="selDays" class=" nomargin roundCorner">
|
|
<option value="0"> - Length of Tour - </option>
|
|
<option value="1">1-4 days</option>
|
|
<option value="2">5-9 days</option>
|
|
<option value="3">10-14 days</option>
|
|
<option value="4">15-19 days</option>
|
|
<option value="5">20-24 days</option>
|
|
<option value="6">More Than 24 days</option>
|
|
</select>
|
|
<div class="cityName">
|
|
<ul>
|
|
<li>
|
|
<input type="checkbox" name="sc" value="Beijing" onclick="checkd()">
|
|
Beijing</li>
|
|
<li>
|
|
<input type="checkbox" name="sc" value="Shanghai" onclick="checkd()">
|
|
Shanghai</li>
|
|
<li>
|
|
<input type="checkbox" name="sc" value="Xian" onclick="checkd()">
|
|
Xian</li>
|
|
<li>
|
|
<input type="checkbox" name="sc" value="Guilin" onclick="checkd()">
|
|
Guilin</li>
|
|
<li>
|
|
<input name="sc" value="Lhasa" onclick="checkd()" type="checkbox">
|
|
Lhasa</li>
|
|
<li>
|
|
<input name="sc" value="Yangtze" onclick="checkd()" type="checkbox">
|
|
Yangtze</li>
|
|
<li class="last"><a href="javascript:;" onclick="return ShowIFrame('','/forms/selectcity.htm',610,580,'bottom');" rel="nofollow"><strong>Select more cities</strong></a></li>
|
|
</ul>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div class="cityselectedBox">
|
|
<textarea class="roundCorner" name="city" id="city" >
|
|
</textarea>
|
|
<div class="searchButton2"><a href="javascript:document.toursearchpanelform.submit()">Search Now»</a> </div>
|
|
<p style="font-size:11px; margin-top:20px;"><a href="/tour/search-tour.asp" rel="nofollow">Advanced Search</a></p>
|
|
<div class="clear"></div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="bgbottom"></div>
|
|
</div>
|
|
<div class="boxleft"> <span class="borderTitle" onclick="ds('d2')">Tours by Theme</span>
|
|
<div class="boxmiddle" style="display:" id="d2">
|
|
<div class="boxContent roundCorner">
|
|
<ul class="tourTheme">
|
|
<li><a href="/tour/top-china-tours/">Top 10 China Tours</a></li>
|
|
<li><a href="/tour/classic-china-tours/">Classic China Tours</a></li>
|
|
<li><a href="/tour/yangtze-river-tours/">Yangtze River Tours</a></li>
|
|
<li><a href="/tour/minority-discovery/">Minority Discovery</a></li>
|
|
<li><a href="/tour/china-world-heritage-tours/">China World Heritage Tours</a></li>
|
|
<li><a href="/tour/tibet-impression/">Tibet Impression</a></li>
|
|
<li><a href="/tour/silk-road-adventure/">Silk Road Adventure</a></li>
|
|
<li><a href="/tour/luxury-china-tours/">China Signature Tours</a></li>
|
|
<li><a href="/tour/china-train-travel/">China Train Travel</a></li>
|
|
<li><a href="/tour/year.htm">China Tours 2013</a></li>
|
|
<li><a href="/tour/china-tour-list/chinatours/ordernum/">Complete China Tours</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="bgbottom"></div>
|
|
</div>
|
|
<div class="boxleft"> <span class="borderTitle" onclick="ds('d3')">Tours by Destination</span>
|
|
<div class="boxmiddle" style="display:none" id="d3">
|
|
<div class="boxContentL roundCorner">
|
|
<ul class="tourTheme">
|
|
<li><a href="/beijing/tours.htm">Beijing</a></li>
|
|
<li><a href="/shanghai/tours.htm">Shanghai</a></li>
|
|
<li><a href="/chengdu/tours.htm">Chengdu</a></li>
|
|
<li><a href="/dalian/tours.htm">Dalian</a></li>
|
|
<li><a href="/dunhuang/tours.htm">Dunhuang</a></li>
|
|
<li><a href="/hangzhou/tours.htm">Hangzhou</a></li>
|
|
<li><a href="/hong-kong/tours.htm">Hong Kong</a></li>
|
|
<li><a href="/lhasa/tours.htm">Lhasa</a></li>
|
|
<li><a href="/pingyao/tours.htm">Pingyao</a></li>
|
|
<li><a href="/sanya/tours.htm">Sanya</a></li>
|
|
<li><a href="/wuhan/tours.htm">Wuhan</a></li>
|
|
<li><a href="/yichang/tours.htm">Yichang</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="boxContentR roundCorner">
|
|
<ul class="tourTheme">
|
|
<li><a href="/xian/tours.htm">Xian</a></li>
|
|
<li><a href="/guilin/tours.htm">Guilin</a></li>
|
|
<li><a href="/chongqing/tours.htm">Chongqing</a></li>
|
|
<li><a href="/datong/tours.htm">Datong</a></li>
|
|
<li><a href="/guangzhou/tours.htm">Guangzhou</a></li>
|
|
<li><a href="/harbin/tours.htm">Harbin</a></li>
|
|
<li><a href="/kunming/tours.htm">Kunming</a></li>
|
|
<li><a href="/lijiang/tours.htm">Lijiang</a></li>
|
|
<li><a href="/qingdao/tours.htm">Qingdao</a></li>
|
|
<li><a href="/suzhou/tours.htm">Suzhou</a></li>
|
|
<li><a href="/huangshan/tours.htm">Huangshan</a></li>
|
|
<li><a href="/zhangjiajie/tours.htm">Zhangjiajie</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div class="bgbottom"></div>
|
|
</div>
|
|
</div>
|
|
<div id="mainContent">
|
|
<p>Looking for <%= capCity2 %> tours from <%= capCity %>? We have selected some of the most popular tours to <%= capCity2 %> from <%= capCity %>, check out from the following categories. Alternatively, <a href="/forms/tailormadetours.htm" rel="nofollow">Tailor make a tour</a> to meet your own needs.</p>
|
|
<%
|
|
if capCity = "Beijing" then
|
|
%>
|
|
</p>
|
|
<ul class="sideTrips">
|
|
<li><a href="/tour/beijing-shanghai-tours/">Beijing Shanghai Tours</a></li>
|
|
<li><a href="/tour/beijing-xian-tours/">Beijing Xi'an Tours</a></li>
|
|
<li><a href="/tour/beijing-hong-kong-tours/">Beijing Hong Kong Tours</a></li>
|
|
<li><a href="/tour/beijing-chengde-tours/">Beijing Chengde Tours</a></li>
|
|
<li><a href="/tour/beijing-datong-tours/">Beijing Datong Tours</a></li>
|
|
<li><a href="/tour/beijing-lhasa-tours/">Beijing Lhasa Tours</a></li>
|
|
</ul>
|
|
<%
|
|
end if
|
|
%>
|
|
<%
|
|
if capCity = "Shanghai" then
|
|
%>
|
|
</p>
|
|
<ul class="sideTrips">
|
|
<li><a href="/tour/shanghai-huangshan-tours/">Shanghai Huangshan Tours</a></li>
|
|
<li><a href="/tour/shanghai-suzhou-tours/">Shanghai Suzhou Tours</a></li>
|
|
<li><a href="/tour/shanghai-hangzhou-tours/">Shanghai Hangzhou Tours</a></li>
|
|
<li><a href="/tour/shanghai-xian-tours/">Shanghai Xi'an Tours</a></li>
|
|
<li><a href="/tour/shanghai-beijing-tours/">Shanghai Beijing Tours</a></li>
|
|
</ul>
|
|
<%
|
|
end if
|
|
%>
|
|
<%
|
|
if capCity = "Hong Kong" then
|
|
%>
|
|
</p>
|
|
<ul class="sideTrips">
|
|
<li><a href="/tour/hong-kong-guilin-tours/">Hong Kong Guilin Tours</a></li>
|
|
<li><a href="/hong-kong/yangtze-tours/">Hong Kong Yangtze Cruise Tours</a></li>
|
|
<li><a href="/tour/hong-kong-beijing-tours/">Hong Kong Beijing Tours</a></li>
|
|
<li><a href="/tour/hong-kong-xian-tours/">Hong Kong Xi'an Tours</a></li>
|
|
<li><a href="/tour/hong-kong-shanghai-tours/">Hong Kong Shanghai Tours</a></li>
|
|
<li><a href="/tour/hong-kong-luoyang-tours/">Hong Kong Luoyang Tours</a></li>
|
|
</ul>
|
|
<%
|
|
end if
|
|
%>
|
|
<div class="clear"></div>
|
|
<p> </p>
|
|
<%
|
|
i = 1
|
|
If not(rs.Eof And rs.Bof) Then
|
|
Do While Not rs.eof
|
|
sn = rs("cli_sn")
|
|
title = rs("CLI2_Name")
|
|
Price = rs("CLP_TwoToFiveAdultPrice")
|
|
CLI_NO = trim(rs("CLI_NO"))
|
|
If isnull(rs("pic")) OR rs("pic") = Empty Then
|
|
pic = "/pic/unknown.gif"
|
|
Else
|
|
pic = imgurl & rs("pic")
|
|
End If
|
|
|
|
|
|
If rs("CLI2_Http") <> "" Then
|
|
CityTourInfoUrl=rs("CLI2_Http")
|
|
Else
|
|
If rs("CLI_PackageClass") = 202004 OR rs("CLI_PackageClass") = 202006 OR rs("CLI_PackageClass") = 202008 Then'长线,GP
|
|
CityTourInfoUrl = "/tour/" &rs("CLI_NO") &"/"
|
|
ElseIf rs("CLI_PackageClass") = 202003 OR rs("CLI_PackageClass") = 202005 OR rs("CLI_PackageClass") = 202007 Then '一地
|
|
CityTourInfoUrl = strFormat(urlCityTourInfo,array(changeStrPara(rs("cityname")),lcase(CLI_NO)))
|
|
End If
|
|
End If
|
|
|
|
|
|
If rs("CLI_Days") > 1 Then
|
|
days = rs("CLI_Days") & "-Day"
|
|
Else
|
|
days = rs("CLI_Days") & "-Day"
|
|
End If
|
|
Price = setFigure(rs("CLP_TwoToFiveAdultPrice"))
|
|
passcity = replace(rs("CLI2_PassCity"),capCity,"<span class=""selectedCity"">"&capCity&"</span>")
|
|
passcity = replace(passcity,capCity2,"<span class=""selectedCity"">"&capCity2&"</span>")
|
|
passcity = FormatTourCity(passcity)
|
|
the_theme_tour_name = get_theme_tour_name(Left(rs("CLI_LineType"), 4), theme_tour_name_cache)
|
|
url_the_theme_tour_name = LCase(Replace(Trim(the_theme_tour_name), " ", "-"))
|
|
%>
|
|
<div class="toursearchList" <% If i>10 Then %>style="display: none;"<% End If %>>
|
|
<div class="searchlistPic roundCorner"><a href="<%=lcase(CityTourInfoUrl)%>" rel="nofollow"><img src="<%=pic %>" border="0" /></a></div>
|
|
<div class="searchlistContent">
|
|
<h2><a href="<%=lcase(CityTourInfoUrl)%>"><%=title%></a> <span>(<%=CLI_NO%>)</span></h2>
|
|
<h3>
|
|
<% =days %>
|
|
<%=passcity%> Tour</h3>
|
|
<ul>
|
|
<li><%=rs("CLI2_Introduction")%> <a href="#<%=rs("CLI2_PassCity")%>" onclick="javascript:return ShowIFrame('','/tour/tourmap.asp?Adname=<% =rs("CLI2_PassCity") %>',425,380,'bottom');//show_tour_map(this);" rel="nofollow">View Map</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="searchlistPrice"> <span class="fullPrice">Full price from:</span><br>
|
|
<span class=" highlightBold red_price">$<%=setFigure(getPriceNine(Clng(price),INTERVAL))%></span> p/p
|
|
<div class="viewDetail"><a href="<%=lcase(CityTourInfoUrl)%>" rel="nofollow"><img src="http://data.chinahighlights.com/pic/view-details.png"></a></div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<%
|
|
rs.movenext
|
|
Loop
|
|
Else
|
|
GotoErrPage
|
|
End If
|
|
rs.close %>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div class="contentBottom"></div>
|
|
<!--#include virtual="/include/footer-link-tour.asp" -->
|
|
</div>
|
|
</body>
|
|
<script type="text/javascript" src="/js/tour-china-tour-from.js"></script>
|
|
</html>
|