Line 1: #ExternalChecksum("D:\web\aoyou\line\show.aspx","{ff1816ec-aa5e-4d10-87f7-6f4963833460}","B0FED361EBAFB19DAE0925F627C85EB6D1207458")
Line 2: '------------------------------------------------------------------------------
Line 3: ' <auto-generated>
Line 4: ' This code was generated by a tool.
Line 5: ' Runtime Version:4.0.30319.18444
Line 6: '
Line 7: ' Changes to this file may cause incorrect behavior and will be lost if
Line 8: ' the code is regenerated.
Line 9: ' </auto-generated>
Line 10: '------------------------------------------------------------------------------
Line 11:
Line 12: Option Strict Off
Line 13: Option Explicit On
Line 14:
Line 15: Imports Microsoft.VisualBasic
Line 16: Imports System
Line 17: Imports System.Collections
Line 18: Imports System.Collections.Generic
Line 19: Imports System.Collections.Specialized
Line 20: Imports System.ComponentModel.DataAnnotations
Line 21: Imports System.Configuration
Line 22: Imports System.Data
Line 23: Imports System.Data.SqlClient
Line 24: Imports System.Linq
Line 25: Imports System.Text
Line 26: Imports System.Text.RegularExpressions
Line 27: Imports System.Web
Line 28: Imports System.Web.Caching
Line 29: Imports System.Web.DynamicData
Line 30: Imports System.Web.Profile
Line 31: Imports System.Web.Security
Line 32: Imports System.Web.SessionState
Line 33: Imports System.Web.UI
Line 34: Imports System.Web.UI.HtmlControls
Line 35: Imports System.Web.UI.WebControls
Line 36: Imports System.Web.UI.WebControls.WebParts
Line 37: Imports System.Xml.Linq
Line 38: Imports TourEx.BLL
Line 39: Imports TourEx.Common
Line 40: Imports TourEx.Common.Utils
Line 41:
Line 42: Namespace ASP
Line 43:
Line 44: <System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()> _
Line 45: Public Class line_show_aspx
Line 46: Inherits Global.TourEx.Web._line_show
Line 47: Implements System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler
Line 48:
Line 49: Private Shared __initialized As Boolean
Line 50:
Line 51: Private Shared __fileDependencies As Object
Line 52:
Line 53:
Line 54: #ExternalSource("D:\web\aoyou\line\show.aspx",7)
Line 55:
Line 56: Protected Overrides Sub OnInit(ByVal e As System.EventArgs)
Line 57: MyBase.OnInit(e)
Line 58: If iscache Then
Line 59: Exit Sub
Line 60: End If
Line 61: TourExStr.AppendLine("<!DOCTYPE html PUBLIC ""-//W3C//XHD XHTML 1.0 Transitional//EN"" ""http://www.w3.org/TR/xhtml1/XHD/xhtml1-transitional.dtd"">")
Line 62: TourExStr.AppendLine("<html xmlns=""http://www.w3.org/1999/xhtml"">")
Line 63: TourExStr.AppendLine("<head>")
Line 64: TourExStr.AppendLine("<meta http-equiv=""Content-Type"" content=""text/html;charset=utf-8""/>")
Line 65: TourExStr.AppendLine("<meta http-equiv=""X-UA-Compatible"" content=""IE=Edge,chrome=1"" />")
Line 66: IF l.seo=0 Then
Line 67: TourExStr.AppendLine("<title>" & l.name & "_【线路_报价_" & Cname & "出发】 - " & sitename & "</title>")
Line 68: TourExStr.Append("<meta name=""keywords"" content=""")
Line 69: Dim R_1 As DataRow() = linecategory.GetList().Select("T_ID=" & l.categoryid,"")
Line 70: If R_1.Length > 0 Then
Line 71:
Line 72: TourExStr.Append("" & cname & "到" & R_1(0)("t_name") & "旅游," & R_1(0)("t_name") & "旅游")
Line 73: End If
Line 74: R_1 = NoThing
Line 75:
Line 76: TourExStr.AppendLine(""">")
Line 77: TourExStr.AppendLine("<meta name=""description"" content=""遨游旅行网提供" & Cname & "" & l.name & "。" & l.brief & "。轻松旅游,就找大连山水国际旅行社有限公司官网-遨游旅行网。"">")
Line 78: Else
Line 79: TourExStr.AppendLine("<title>" & l.seotitle & "</title>")
Line 80: TourExStr.AppendLine("<meta name=""keywords"" content=""" & l.seokey & """>")
Line 81: TourExStr.AppendLine("<meta name=""description"" content=""" & l.seodesc & """>")
Line 82: End IF
Line 83: TourExStr.AppendLine("<link rel=""stylesheet"" type=""text/css"" href=""/style/" & webconfig.WebSiteStyle & "/css/common.css""/>")
Line 84: TourExStr.AppendLine("<link rel=""stylesheet"" type=""text/css"" href=""/style/" & webconfig.WebSiteStyle & "/css/line.css""/>")
Line 85: TourExStr.AppendLine("<script type=""text/javascript"">")
Line 86: TourExStr.AppendLine(" function iFrameHeight() {")
Line 87: TourExStr.AppendLine(" var ifm = document.getElementById(""lineReviews"");")
Line 88: TourExStr.AppendLine(" var subWeb = document.frames ? document.frames[""lineReviews""].document : ifm.contentDocument;")
Line 89: TourExStr.AppendLine(" if (ifm != null && subWeb != null) {")
Line 90: TourExStr.AppendLine(" ifm.height = subWeb.body.scrollHeight + 20;")
Line 91: TourExStr.AppendLine(" }")
Line 92: TourExStr.AppendLine(" }")
Line 93: TourExStr.AppendLine(" function iFrameHeights() {")
Line 94: TourExStr.AppendLine(" var ifm = document.getElementById(""lineQuestions"");")
Line 95: TourExStr.AppendLine(" var subWeb = document.frames ? document.frames[""lineQuestions""].document : ifm.contentDocument;")
Line 96: TourExStr.AppendLine(" if (ifm != null && subWeb != null) {")
Line 97: TourExStr.AppendLine(" ifm.height = subWeb.body.scrollHeight + 20;")
Line 98: TourExStr.AppendLine(" }")
Line 99: TourExStr.AppendLine(" }")
Line 100: TourExStr.AppendLine("</" & "script>")
Line 101: TourExStr.AppendLine("<!--[if lte IE 6]>")
Line 102: TourExStr.AppendLine("<script src=""/js/transparentbng.js"" type=""text/javascript""></" & "script>")
Line 103: TourExStr.AppendLine("<script type=""text/javascript"">")
Line 104: TourExStr.AppendLine("DD_belatedPNG.fix('ul,img,li,input,b,div,a,*');//IE6 png透明解决方案")
Line 105: TourExStr.AppendLine("</" & "script>")
Line 106: TourExStr.AppendLine("<![endif]-->")
Line 107: TourExStr.AppendLine("</head>")
Line 108: TourExStr.AppendLine("<body>")
Line 109: TourExStr.AppendLine(" <!--页头开始-->")
Line 110: TourExStr.AppendLine(" <div id=""header"">")
Line 111: TourExStr.AppendLine(" <div class=""shortCut"">")
Line 112: TourExStr.AppendLine(" <div class=""wrapper clearfix"">")
Line 113: TourExStr.AppendLine(" <div class=""loginBar"">")
Line 114: TourExStr.AppendLine(" <p id=""unlogin"" style=""display:none;"">您好,欢迎来到" & sitename & "!")
Line 115: TourExStr.AppendLine(" <span><a href=""javascript:void(0);"" id=""login"" rel=""nofollow"">会员登录</a>|<a href=""" & weburl & "usercenter/reg.aspx"" rel=""nofollow"">免费注册</a></span></p>")
Line 116: TourExStr.AppendLine(" <p id=""logined"" style=""display:none;"">您好<em class=""user"" id=""logined_name""></em>,欢迎来到" & sitename & "!<span><a href=""" & weburl & "usercenter"" >会员中心</a>|<a href=""" & weburl & "usercenter/login.aspx?act=out"" id=""loginout"" rel=""nofollow"">退出</a></span></p>")
Line 117: TourExStr.AppendLine(" </div>")
Line 118: TourExStr.AppendLine(" <ul class=""headList clearfix"">")
Line 119: TourExStr.AppendLine("<li><a href=""http://www.oruchina.com/about-5/"" target=""_blank"">资质验证</a></li>")
Line 120: TourExStr.AppendLine(" <li><a href=""" & lineurl & "line/customize.aspx"" target=""_blank"">旅游定制</a></li>")
Line 121: TourExStr.AppendLine(" <li><a href=""/feedback.aspx"" target=""_blank"">意见反馈</a></li>")
Line 122: TourExStr.AppendLine(" <li class=""drop weixin"">")
Line 123: TourExStr.AppendLine(" <a href=""javascript:void(0);"">关注我们</a><i></i>")
Line 124: TourExStr.AppendLine(" <div class=""dropDown"">")
Line 125: TourExStr.AppendLine(" <div class=""content"">")
Line 126: TourExStr.AppendLine(" <p>直接扫描下方二维码</p>")
Line 127: TourExStr.AppendLine(" <img src=""""/"" & OtherOtherwebconfig.WxCode & """""">")
Line 128: TourExStr.AppendLine(" </div>")
Line 129: TourExStr.AppendLine(" </div>")
Line 130: TourExStr.AppendLine(" </li>")
Line 131: TourExStr.AppendLine(" <li class=""drop webNav"">")
Line 132: TourExStr.AppendLine(" <a href=""javascript:void(0);"">网站导航</a><i></i>")
Line 133: TourExStr.AppendLine(" <div class=""dropDown"">")
Line 134: TourExStr.AppendLine(" <div class=""content"">")
Line 135: TourExStr.AppendLine(" <dl class=""clearfix"">")
Line 136: TourExStr.AppendLine(" <dt>旅游线路</dt>")
Line 137: Dim V_2 As Integer = 0
Line 138: For Each R_2 As DataRow In linecategory.GetList().Rows
Line 139: V_2 += 1
Line 140:
Line 141: TourExStr.AppendLine(" <dd><a href=""" & lineurl & "" & R_2("t_pagename") & ".aspx?cid=" & cpara & """ title=""" & R_2("t_pagename") & """ target=""_blank"">" & R_2("t_name") & "</a></dd>")
Line 142: Next
Line 143:
Line 144: TourExStr.AppendLine(" <dd><a href=""" & lineurl & "line/customize.aspx"" title=""高级定制"" target=""_blank"">高级定制</a></dd>")
Line 145: TourExStr.AppendLine(" </dl>")
Line 146: TourExStr.AppendLine(" <dl class=""clearfix"">")
Line 147: TourExStr.AppendLine(" <dt>旅游服务</dt>")
Line 148: TourExStr.AppendLine(" <!--<dd><a href=""" & hotelurl & "hotel/"" target=""_blank"">酒店预订</a></dd>-->")
Line 149: TourExStr.AppendLine(" <!--<dd><a href=""" & sceneryurl & "scenery/"" target=""_blank"">景点门票</a></dd>-->")
Line 150: TourExStr.AppendLine(" <dd><a href=""" & visaurl & "visa/"" target=""_blank"">出国签证</a></dd>")
Line 151: TourExStr.AppendLine(" <!--<dd><a href=""" & carurl & "car/"" target=""_blank"">旅游租车</a></dd>-->")
Line 152: TourExStr.AppendLine(" <dd><a href=""" & teamurl & "tuan/"" target=""_blank"">旅游团购</a></dd>")
Line 153: TourExStr.AppendLine(" <!--<dd><a href=""" & flighturl & "flight/"" target=""_blank"">国内机票</a></dd>-->")
Line 154: TourExStr.AppendLine(" <dd><a href=""" & travelsurl & "travels/"" target=""_blank"">游记攻略</a></dd>")
Line 155: TourExStr.AppendLine(" <dd><a href=""" & destinationurl & "destination/default.aspx"" target=""_blank"">目的地</a></dd>")
Line 156: TourExStr.AppendLine(" <!--<dd><a href=""" & guideurl & "guide/"" target=""_blank"">导游服务</a></dd>-->")
Line 157: TourExStr.AppendLine(" <!--<dd><a href=""" & gifturl & "gift/"" target=""_blank"">礼品兑换</a></dd>-->")
Line 158: TourExStr.AppendLine(" </dl>")
Line 159: TourExStr.AppendLine(" <dl class=""clearfix"">")
Line 160: TourExStr.AppendLine(" <dt>度假产品</dt>")
Line 161: Dim V_3 As Integer = 0
Line 162: Dim SqlStr_3 As String = "select t_id,T_Name,T_ModuleName,T_Sort from [" & TablePrefix & "g_type] order by t_sort Desc"
Line 163: Dim Dr_3 As SqlDataReader = General.DataList(SqlStr_3,0)
Line 164: If Dr_3.Read Then
Line 165: Do
Line 166: V_3+=1
Line 167: TourExStr.AppendLine(" <dd><a href=""" & geturl(Dr_3("t_ModuleName").ToString()) & "" & Dr_3("t_ModuleName").ToString() & "/list.aspx?mid=" & Dr_3("t_id").ToString() & """>" & Dr_3("t_name").ToString() & "</a></dd>")
Line 168: If Dr_3.Read = false Then
Line 169: Exit Do
Line 170: End If
Line 171: Loop
Line 172: End If
Line 173: Dr_3.Close()
Line 174:
Line 175: TourExStr.AppendLine(" </dl>")
Line 176: TourExStr.AppendLine(" </div>")
Line 177: TourExStr.AppendLine(" </div>")
Line 178: TourExStr.AppendLine(" </li>")
Line 179: TourExStr.AppendLine(" </ul>")
Line 180: TourExStr.AppendLine(" </div>")
Line 181: TourExStr.AppendLine(" </div>")
Line 182: TourExStr.AppendLine(" <div class=""wrapper headInfo clearfix"">")
Line 183: TourExStr.AppendLine(" <div class=""headLogo"">")
Line 184: TourExStr.AppendLine(" <a href=""" & weburl & """ title=""" & sitename & """><img src=""/" & sitelogo & """ alt=""" & sitename & """ width=""300"" height=""60"" /></a>")
Line 185: TourExStr.AppendLine(" </div>")
Line 186: TourExStr.AppendLine(" <!--头部搜索开始-->")
Line 187: TourExStr.AppendLine(" <div class=""headSearch"">")
Line 188: TourExStr.AppendLine(" <div class=""sform clearfix"">")
Line 189: TourExStr.AppendLine(" <i class=""left""> </i>")
Line 190: TourExStr.AppendLine(" <i class=""right""> </i>")
Line 191: TourExStr.AppendLine(" <form name=""searchform"" id=""searchform"" method=""get"">")
Line 192: TourExStr.AppendLine(" <ul class=""s clearfix"">")
Line 193: TourExStr.AppendLine(" <li><input type=""text"" class=""sInput"" name=""key"" autocomplete=""off"" id=""s_input""></li>")
Line 194: TourExStr.AppendLine(" <li><input type=""submit"" class=""sBtn"" value=""搜 索"" id=""s_button""></li>")
Line 195: TourExStr.AppendLine(" </ul>")
Line 196: TourExStr.AppendLine(" </form>")
Line 197: TourExStr.AppendLine(" <label class=""defaultKey"" id=""defaultKey"" for=""s_input"">请输入关键词</label>")
Line 198: TourExStr.AppendLine(" <div id=""optChange"" class=""option"">")
Line 199: TourExStr.AppendLine(" <div class=""optionCur"">旅 游</div>")
Line 200: TourExStr.AppendLine(" <dl class=""clearfix"">")
Line 201: TourExStr.AppendLine(" <dd text=""线 路"" url=""" & weburl & "line/list.aspx"" defaultkey=""线路关键词"">线 路</dd>")
Line 202: TourExStr.AppendLine(" <!--<dd text=""酒 店"" url=""" & hotelurl & "hotel/list.aspx"" defaultkey=""酒店关键词"">酒 店</dd>-->")
Line 203: TourExStr.AppendLine(" <!--<dd text=""门 票"" url=""" & sceneryurl & "scenery/list.aspx"" defaultkey=""景点门票关键词"">门 票</dd>-->")
Line 204: TourExStr.AppendLine(" <!--<dd text=""租 车"" url=""" & carurl & "car/list.aspx"" defaultkey=""租车关键词"">租 车</dd>-->")
Line 205: TourExStr.AppendLine(" <dd text=""签 证"" url=""" & visaurl & "visa/list.aspx"" defaultkey=""签证关键词"">签 证</dd>")
Line 206: TourExStr.AppendLine(" <dd text=""团 购"" url=""" & teamurl & "tuan/default.aspx"" defaultkey=""团购关键词"">团 购</dd>")
Line 207: TourExStr.AppendLine(" <dd text=""新 闻"" url=""" & newsurl & "news/list.aspx"" defaultkey=""新闻关键词"">新 闻</dd>")
Line 208: TourExStr.AppendLine(" </dl>")
Line 209: TourExStr.AppendLine(" </div>")
Line 210: TourExStr.AppendLine(" </div>")
Line 211: TourExStr.AppendLine(" </div>")
Line 212: TourExStr.AppendLine(" <!--头部搜索结束-->")
Line 213: TourExStr.AppendLine(" <div class=""tel"">")
Line 214: TourExStr.AppendLine(" <dl>")
Line 215: TourExStr.AppendLine(" <dt>" & sitetel & "</dt>")
Line 216: TourExStr.AppendLine(" <dd>预订热线工作时间:9:00-18:00</dd>")
Line 217: TourExStr.AppendLine(" </dl>")
Line 218: TourExStr.AppendLine(" </div>")
Line 219: TourExStr.AppendLine(" </div>")
Line 220: TourExStr.AppendLine(" <!--网站主菜单开始-->")
Line 221: TourExStr.AppendLine(" <div class=""headNav"">")
Line 222: TourExStr.AppendLine(" <div class=""wrapper navBox clearfix"">")
Line 223: TourExStr.AppendLine(" <ul class=""navList clearfix"">")
Line 224: Dim V_4 As Integer = 0
Line 225: Dim SqlStr_4 As String = "select n_id,n_name,n_module,n_url,n_level,n_categoryid,n_isblank,n_type,n_isdefault from [" & TablePrefix & "nav] where n_hide=0 and n_level=0 order by n_orderid"
Line 226: Dim Dr_4 As SqlDataReader = General.DataList(SqlStr_4,0)
Line 227: If Dr_4.Read Then
Line 228: Do
Line 229: V_4+=1
Line 230:
Line 231: dim url as string = ""
Line 232: if Dr_4("n_type").ToString() = 0 then
Line 233:
Line 234: TourExStr.AppendLine(" <li>")
Line 235: TourExStr.AppendLine(" <a href=""" & Dr_4("n_url").ToString() & """ " & iif(Dr_4("n_isblank").ToString() = 1,"target='_blank'","") & "><b></b><i></i><span>" & Dr_4("n_name").ToString() & "</span></a>")
Line 236: TourExStr.AppendLine(" </li>")
Line 237:
Line 238: else
Line 239: url = GetHeadTagNavUrl(Dr_4("n_id").ToString())
Line 240:
Line 241: TourExStr.AppendLine(" <li class=""on"">")
Line 242: TourExStr.AppendLine(" <a href=""" & url & """ id=""" & Dr_4("n_Module").ToString() & """ " & iif(Dr_4("n_isblank").ToString() = 1,"target='_blank'","") & "><b></b><i></i><span>" & Dr_4("n_name").ToString() & "</span></a>")
Line 243: TourExStr.AppendLine(" <div class=""subnav"">")
Line 244: TourExStr.AppendLine(" <div class=""list"">")
Line 245: Dim V_5 As Integer = 0
Line 246: Dim SqlStr_5 As String = "select n_id,n_name,n_module,n_url,n_level,n_categoryid,n_isblank,n_type,n_isdefault from [" & TablePrefix & "nav] where n_hide=0 and n_level=" & Dr_4("n_id").ToString() & " order by n_orderid"
Line 247: Dim Dr_5 As SqlDataReader = General.DataList(SqlStr_5,0)
Line 248: If Dr_5.Read Then
Line 249: Do
Line 250: V_5+=1
Line 251: url = Dr_5("n_url").ToString()
Line 252:
Line 253: if Dr_5("n_type").ToString() = 0 then
Line 254:
Line 255: TourExStr.AppendLine(" <a href='" & Iif(String.IsNullOrEmpty(Dr_5("n_url").ToString()),"javascript:void(0)",url) & "' " & iif(Dr_5("n_isblank").ToString() = "1","target='_blank'","") & ">" & Dr_5("n_name").ToString() & "</a>")
Line 256:
Line 257: else
Line 258: url =GetHeadTagChildNavUrl("",Dr_5("n_level").ToString(),Dr_5("n_categoryid").ToString())
Line 259:
Line 260: TourExStr.AppendLine(" <a href=""" & url & """ " & iif(Dr_5("n_isblank").ToString() = 1,"target='_blank'","") & " >" & Dr_5("n_name").ToString() & "</a>")
Line 261:
Line 262: end if
Line 263: If Dr_5.Read = false Then
Line 264: Exit Do
Line 265: End If
Line 266: Loop
Line 267: End If
Line 268: Dr_5.Close()
Line 269:
Line 270: TourExStr.AppendLine(" </div>")
Line 271: TourExStr.AppendLine(" </div>")
Line 272: TourExStr.AppendLine(" </li>")
Line 273:
Line 274: end if
Line 275:
Line 276: If Dr_4.Read = false Then
Line 277: Exit Do
Line 278: End If
Line 279: Loop
Line 280: End If
Line 281: Dr_4.Close()
Line 282:
Line 283: TourExStr.AppendLine(" </ul>")
Line 284: TourExStr.AppendLine(" </div>")
Line 285: TourExStr.AppendLine(" <div class=""navBg""></div>")
Line 286: TourExStr.AppendLine(" </div>")
Line 287: TourExStr.AppendLine(" <!--网站主菜单结束-->")
Line 288: TourExStr.AppendLine(" </div>")
Line 289: TourExStr.AppendLine(" <!--页头结束-->")
Line 290: TourExStr.AppendLine(" <!--主体开始-->")
Line 291: TourExStr.AppendLine(" <div id=""main"" class=""show"">")
Line 292: TourExStr.AppendLine(" <div class=""wrapper"">")
Line 293: TourExStr.AppendLine(" <div class=""crumbs"">您所在位置:<a href=""" & weburl & """ title=""首页"">首页</a> > <a href=""" & lineurl & "line/"" title=""线路"">线路 </a> > <a href=""" & lineurl & "" & tpagename & ".aspx?cid=" & cpara & """ title=""" & tname & """>" & tname & "</a> > " & l.name & "</div>")
Line 294: TourExStr.AppendLine(" <div class=""topMod"">")
Line 295: TourExStr.AppendLine(" <div class=""topHd clearfix"">")
Line 296: TourExStr.AppendLine(" <h2>")
Line 297: TourExStr.AppendLine(" " & l.name & "")
Line 298: TourExStr.AppendLine(" <i class=""lineIco tuiJian"" style=""display:" & iif(l.tj=0,"none","inline-block") & """>推荐</i>")
Line 299: TourExStr.AppendLine(" <i class=""lineIco teJia"" style=""display:" & iif(l.TeJia=0,"none","inline-block") & """>特价</i>")
Line 300: TourExStr.AppendLine(" <i class=""lineIco reMai"" style=""display:" & iif(l.ReMai=0,"none","inline-block") & """>热卖</i>")
Line 301: TourExStr.AppendLine(" <i class=""lineIco xinPin"" style=""display:" & iif(l.XingPin=0,"none","inline-block") & """>新品</i>")
Line 302: TourExStr.AppendLine(" <i class=""lineIco tuanGou"" style=""display:" & iif(l.TuanGou=0,"none","inline-block") & """>团购</i>")
Line 303: TourExStr.AppendLine(" </h2>")
Line 304: TourExStr.AppendLine(" </div>")
Line 305: TourExStr.AppendLine(" <div class=""tuanIco sIco" & l.offeredproperties & """> </div>")
Line 306: TourExStr.AppendLine(" <div class=""clearfix"">")
Line 307: TourExStr.AppendLine(" <!--图片幻灯-->")
Line 308: TourExStr.AppendLine(" <div class=""focusBox clearfix"">")
Line 309: TourExStr.AppendLine(" <div class=""txMovie"">")
Line 310: TourExStr.AppendLine(" <ul class=""focus_pic"" id=""focus_pic_list"">")
Line 311: Dim V_6 As Integer = 0
Line 312: For Each M_6 As TourEx.Model.linepic In linepic.GetList(0,"P_Pic,P_Title,P_Text","P_L_Id=" & L.id & " And P_Mark=1","P_OrderId,P_ID Desc")
Line 313: V_6 += 1
Line 314:
Line 315: TourExStr.AppendLine(" <li><a title=""" & M_6.title & """ href=""javascript:void(0);""> <img src=""" & FormatPic(M_6.pic,6) & """ alt=""" & M_6.title & """ text=""" & M_6.text & """ /></a></li>")
Line 316: Next
Line 317:
Line 318: TourExStr.AppendLine(" </ul>")
Line 319: TourExStr.AppendLine(" <div class=""focus_nav""> ")
Line 320: TourExStr.AppendLine(" <ul id=""focus_smaillPic_list"">")
Line 321: Dim V_7 As Integer = 0
Line 322: For Each M_7 As TourEx.Model.linepic In linepic.GetList(0,"P_Pic,P_Title,P_Text","P_L_Id=" & L.id & " And P_Mark=1","P_OrderId,P_ID Desc")
Line 323: V_7 += 1
Line 324:
Line 325: TourExStr.AppendLine(" <li><a><img src=""" & FormatPic(M_7.pic,3) & """><span class=""cover""></span></a></li>")
Line 326: Next
Line 327:
Line 328: TourExStr.AppendLine(" </ul>")
Line 329: TourExStr.AppendLine(" <a href=""javascript:;"" title=""上一个"" class=""navPrev"">上一个</a>")
Line 330: TourExStr.AppendLine(" <a href=""javascript:;"" title=""下一个"" class=""navNext"">下一个</a>")
Line 331: TourExStr.AppendLine(" </div>")
Line 332: TourExStr.AppendLine(" </div>")
Line 333: TourExStr.AppendLine(" </div>")
Line 334: TourExStr.AppendLine(" <!--图片幻灯结束-->")
Line 335: TourExStr.AppendLine(" <!--线路介绍-->")
Line 336: TourExStr.AppendLine(" <div class=""topInfo"">")
Line 337: TourExStr.AppendLine(" <div class=""priceBox""> ")
Line 338: TourExStr.AppendLine(" <a href=""#review"" class=""price"">")
Line 339: TourExStr.AppendLine(" <span class=""r"">客户满意度:</span> <strong>" & Iif(l.Reviewss = 0, 5,Tourex.Common.Utils.CalReviewScore((l.Rating_0+l.Rating_1+l.Rating_2+l.Rating_3) / l.Reviewss,20,5)) & "分</strong>")
Line 340: TourExStr.AppendLine(" <i>" & l.reviewss & "条<br>点评</i>")
Line 341: TourExStr.AppendLine(" </a>")
Line 342: TourExStr.AppendLine(" </div>")
Line 343: TourExStr.AppendLine(" <ul class=""infoList"">")
Line 344: TourExStr.AppendLine(" <li><label style=""position: relative;top: 6px;"">起步价格</label><em>¥</em><span class=""p"">" & l.Price & "</span>起</li>")
Line 345: TourExStr.AppendLine(" <li><label>线路编号</label>" & l.number & "</li>")
Line 346: TourExStr.AppendLine(" <li><label>预订提醒</label>建议提前" & l.earlybird & "天</li>")
Line 347: TourExStr.AppendLine(" <li><label>出发城市</label>" & cname & "</li>")
Line 348: TourExStr.AppendLine(" <li class=""t"">")
Line 349: TourExStr.AppendLine(" <label>线路主题</label>")
Line 350: Dim V_8 As Integer = 0
Line 351: For Each R_8 As DataRow In linetopics.GetList().Select("t_id in (" & l.TopicsID.Trim(",") & ")","")
Line 352: V_8 += 1
Line 353:
Line 354: TourExStr.AppendLine(" <span class=""s" & V_8 & """>" & R_8("t_name") & "</span>")
Line 355: Next
Line 356:
Line 357: TourExStr.AppendLine(" </li>")
Line 358: TourExStr.AppendLine(" <li><label>往返交通</label>" & l.traffic & "</li>")
Line 359: TourExStr.AppendLine(" <li class=""pay clearfix"">")
Line 360: TourExStr.AppendLine(" <label>付款方式</label>")
Line 361: TourExStr.AppendLine(" <span class=""yes"" style=""display:" & iif(PayPaywebconfig.Alipay,"","none") & """>支付宝</span>")
Line 362: TourExStr.AppendLine(" <span class=""yes"" style=""display:" & iif(PayPaywebconfig.Tenpay,"","none") & """>财付通</span>")
Line 363: TourExStr.AppendLine(" <span class=""yes"" style=""display:" & iif(PayPaywebconfig.Ips,"","none") & """>环迅</span>")
Line 364: TourExStr.AppendLine(" <span class=""yes"" style=""display:" & iif(PayPaywebconfig.YeePay,"","none") & """>易宝</span>")
Line 365: TourExStr.AppendLine(" <span class=""yes"" style=""display:" & iif(PayPaywebconfig.ChinaBankPayment,"","none") & """>网银在线</span>")
Line 366: TourExStr.AppendLine(" <span class=""yes"" style=""display:" & iif(PayPayPaywebconfig.AlipayFastPayment,"","none") & """>快捷支付(支付宝网银支付)</span>")
Line 367: TourExStr.AppendLine(" <span class=""yes"" style=""display:" & iif(PayPaywebconfig.Bill,"","none") & """>快钱</span>")
Line 368: TourExStr.AppendLine(" </li>")
Line 369: TourExStr.AppendLine(" </ul>")
Line 370: TourExStr.AppendLine(" <div class=""bottomBox clearfix"">")
Line 371: TourExStr.AppendLine(" <a href=""javascript:;"" class=""btnCollection"" id=""collection"" onclick=""favorites('line'," & l.id & ")"">+收藏线路</a>")
Line 372: TourExStr.AppendLine(" <div class=""shareTo"">")
Line 373: TourExStr.AppendLine(" <!-- Baidu Button BEGIN -->")
Line 374: TourExStr.AppendLine(" <div id=""bdshare"" class=""bdshare_b"" style=""line-height: 12px;"">")
Line 375: TourExStr.AppendLine(" <img src=""http://bdimg.share.baidu.com/static/images/type-button-1.jpg"" /></div>")
Line 376: TourExStr.AppendLine(" <script type=""text/javascript"" id=""bdshare_js"" data=""type=button"" ></" & "script>")
Line 377: TourExStr.AppendLine(" <script type=""text/javascript"" id=""bdshell_js""></" & "script>")
Line 378: TourExStr.AppendLine(" <script type=""text/javascript""> document.getElementById(""bdshell_js"").src = ""http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion="" + new Date().getHours();</" & "script>")
Line 379: TourExStr.AppendLine(" <!-- Baidu Button END -->")
Line 380: TourExStr.AppendLine(" </div>")
Line 381: TourExStr.AppendLine(" </div>")
Line 382: TourExStr.AppendLine(" <div class=""brief"">" & getstring(l.Brief,220,"...") & "</div>")
Line 383: TourExStr.AppendLine(" </div>")
Line 384: TourExStr.AppendLine(" <!--线路介绍结束-->")
Line 385: TourExStr.AppendLine(" </div>")
Line 386: TourExStr.AppendLine(" </div>")
Line 387: TourExStr.AppendLine(" <!--价格类型-->")
Line 388: TourExStr.AppendLine(" <div class=""personMod"" id=""ticketBox"">")
Line 389: TourExStr.AppendLine(" <div class=""lineType clearfix"">")
Line 390: TourExStr.AppendLine(" <input type=""hidden"" name=""pricetype"" id=""o_pricetype"" />")
Line 391: TourExStr.AppendLine(" <div id=""linePrice""></div>")
Line 392: TourExStr.AppendLine(" </div>")
Line 393: TourExStr.AppendLine(" <div class=""makeOrder clearfix"">")
Line 394: TourExStr.AppendLine(" <dl class=""clearfix"">")
Line 395: TourExStr.AppendLine(" <dt><a href=""javascript:;"" id=""booking"">开始预订</a></dt>")
Line 396: TourExStr.AppendLine(" <dd>出发日期</dd>")
Line 397: TourExStr.AppendLine(" <dd>")
Line 398: TourExStr.AppendLine(" <div class=""inputWrap"">")
Line 399: TourExStr.AppendLine(" <div class=""dateText""></div>")
Line 400: TourExStr.AppendLine(" <div class=""dateCon"">")
Line 401: TourExStr.AppendLine(" <div class=""box"">")
Line 402: TourExStr.AppendLine(" <input type=""hidden"" name=""o_startdate"" id=""o_startdate"" />")
Line 403: TourExStr.AppendLine(" <ul id=""startdate"">")
Line 404: TourExStr.AppendLine(" </ul>")
Line 405: TourExStr.AppendLine(" </div>")
Line 406: TourExStr.AppendLine(" </div>")
Line 407: TourExStr.AppendLine(" </div>")
Line 408: TourExStr.AppendLine(" </dd>")
Line 409: TourExStr.AppendLine(" <dd class=""person"" id=""person"">")
Line 410: TourExStr.AppendLine(" </dd>")
Line 411: TourExStr.AppendLine(" </dl>")
Line 412: TourExStr.AppendLine(" </div>")
Line 413: TourExStr.AppendLine(" <div class=""promotioninfo"" id=""promotioninfo"">")
Line 414: TourExStr.AppendLine(" </div>")
Line 415: TourExStr.AppendLine(" </div>")
Line 416: TourExStr.AppendLine(" <!--价格类型结束-->")
Line 417: TourExStr.AppendLine(" <!--日历开始-->")
Line 418: TourExStr.AppendLine(" <div class=""calendar"">")
Line 419: TourExStr.AppendLine(" <div class=""outer clearfix"">")
Line 420: TourExStr.AppendLine(" <div class=""outer clearfix"" id=""calendarcontainer"">")
Line 421: TourExStr.AppendLine(" </div>")
Line 422: TourExStr.AppendLine(" </div>")
Line 423: TourExStr.AppendLine(" </div>")
Line 424: TourExStr.AppendLine(" <!--日历结束-->")
Line 425: TourExStr.AppendLine(" <div class=""mainBox clearfix"">")
Line 426: TourExStr.AppendLine(" <div class=""mainCon"">")
Line 427: TourExStr.AppendLine(" <ul class=""navBox clearfix"">")
Line 428: TourExStr.AppendLine(" <li tag=""trip""><a href=""javascript:;"" class=""cur"">参考行程</a></li>")
Line 429: TourExStr.AppendLine(" <li tag=""cost""><a href=""javascript:;"">费用说明</a></li>")
Line 430: TourExStr.AppendLine(" <li tag=""instructions""><a href=""javascript:;"">预订须知</a></li>")
Line 431: TourExStr.AppendLine(" <li tag=""prompt""><a href=""javascript:;"">温馨提示</a></li>")
Line 432: TourExStr.AppendLine(" <li tag=""process""><a href=""javascript:;"">预订流程</a></li>")
Line 433: TourExStr.AppendLine(" <li tag=""review""><a href=""javascript:;"">客户点评</a></li>")
Line 434: TourExStr.AppendLine(" <li tag=""consults""><a href=""javascript:;"">在线咨询</a></li>")
Line 435: TourExStr.AppendLine(" <li class=""goTicket""><a href=""javascript:void(0)"" id=""sbooking"">立即购买</a></li>")
Line 436: TourExStr.AppendLine(" </ul>")
Line 437: TourExStr.AppendLine(" <!--线路详细描述-->")
Line 438: TourExStr.AppendLine(" <div class=""itemList"">")
Line 439: TourExStr.AppendLine(" <!--产品特色-->")
Line 440: TourExStr.AppendLine(" <div id=""trip"" class=""itemBox trip clearfix"">")
Line 441: TourExStr.AppendLine(" <div class=""itemHd"">参考行程<i></i></div>")
Line 442: TourExStr.AppendLine(" <div class=""clearfix"">")
Line 443: TourExStr.AppendLine(" <div class=""tripItem"">")
Line 444: TourExStr.AppendLine(" <div><a href=""" & lineurl & "line/print.aspx?id=" & l.id & """ class=""print"">打印行程</a> <a href=""" & lineurl & "line/down.aspx?id=" & l.id & """ class=""download"">下载行程</a></div>")
Line 445: TourExStr.AppendLine(" <div class=""tit""><span>行程特色</span></div>")
Line 446: TourExStr.AppendLine(" <div class=""content reset clearfix"">")
Line 447: TourExStr.AppendLine(" " & L.SpecialServices & "")
Line 448: TourExStr.AppendLine(" </div>")
Line 449: TourExStr.AppendLine(" </div>")
Line 450: TourExStr.AppendLine(" <div class=""tripItem"">")
Line 451: TourExStr.AppendLine(" <div class=""tit""><span>详细行程</span></div>")
Line 452: TourExStr.AppendLine(" <div class=""content trips clearfix"" id=""TravelContainer"">" & lazyload(l.text,webpath & "images/loading.gif") & "</div> ")
Line 453: TourExStr.AppendLine(" </div>")
Line 454: TourExStr.AppendLine(" </div>")
Line 455: TourExStr.AppendLine(" </div>")
Line 456: TourExStr.AppendLine(" <!--产品特色结束-->")
Line 457: TourExStr.AppendLine(" <!--费用说明-->")
Line 458: TourExStr.AppendLine(" <div id=""cost"" class=""itemBox cost clearfix"">")
Line 459: TourExStr.AppendLine(" <div class=""itemHd"">费用说明<i></i></div>")
Line 460: TourExStr.AppendLine(" <div class=""content"" id=""pricelist"">")
Line 461: Dim V_9 As Integer = 0
Line 462: For Each M_9 As TourEx.Model.lineprice In lineprice.GetList(0,"","p_lineid=" & l.id & " and p_hide=0","p_orderid asc,p_id asc")
Line 463: V_9 += 1
Line 464:
Line 465: TourExStr.AppendLine(" <div class=""costList"" p_name=""" & M_9.name & """ p_id=""" & M_9.id & """ rackrate=""" & M_9.rackrate & """ tqtype=""" & M_9.tqtype & """>")
Line 466: TourExStr.AppendLine(" <div class=""costHd clearfix""><span>" & M_9.name & "<b></b></span></div>")
Line 467: TourExStr.AppendLine(" <ul style=""display:none;"">")
Line 468: Dim V_10 As Integer = 0
Line 469: For Each M_10 As TourEx.Model.priceandcrowd In priceandcrowd.GetList(0,"","pc_priceid=" & M_9.id,"")
Line 470: V_10 += 1
Line 471:
Line 472: TourExStr.AppendLine(" <li crowdid=""" & M_10.crowdid & """ bonus=""" & M_10.bonus & """ diyong=""" & M_10.diyong & """ crowdname=""" & M_10.crowdname & """>" & M_10.crowdtext & "</li>")
Line 473: Next
Line 474:
Line 475: TourExStr.AppendLine(" </ul>")
Line 476: TourExStr.AppendLine(" <dl class=""clearfix"">")
Line 477: TourExStr.AppendLine(" <dt>费用包含</dt>")
Line 478: TourExStr.AppendLine(" <dd class=""reset clearfix"">")
Line 479: TourExStr.AppendLine(" " & M_9.feeincludes & "")
Line 480: TourExStr.AppendLine(" </dd>")
Line 481: TourExStr.AppendLine(" </dl>")
Line 482: TourExStr.AppendLine(" <dl class=""clearfix"">")
Line 483: TourExStr.AppendLine(" <dt>费用不包含</dt>")
Line 484: TourExStr.AppendLine(" <dd class=""reset clearfix"">")
Line 485: TourExStr.AppendLine(" " & M_9.feenoincludes & "")
Line 486: TourExStr.AppendLine(" </dd>")
Line 487: TourExStr.AppendLine(" </dl>")
Line 488: TourExStr.AppendLine(" </div>")
Line 489: Next
Line 490:
Line 491: TourExStr.AppendLine(" </div>")
Line 492: TourExStr.AppendLine(" </div>")
Line 493: TourExStr.AppendLine(" <!--费用说明结束-->")
Line 494: TourExStr.AppendLine(" <!--预订须知-->")
Line 495: TourExStr.AppendLine(" <div id=""instructions"" class=""itemBox instructions clearfix"">")
Line 496: TourExStr.AppendLine(" <div class=""itemHd"">预订须知<i></i></div>")
Line 497: TourExStr.AppendLine(" <div class=""content"">")
Line 498: TourExStr.AppendLine(" <div class=""reset clearfix"">")
Line 499: TourExStr.AppendLine(" " & l.booknotes & "")
Line 500: TourExStr.AppendLine(" </div>")
Line 501: TourExStr.AppendLine(" </div>")
Line 502: TourExStr.AppendLine(" </div>")
Line 503: TourExStr.AppendLine(" <!--预订须知结束-->")
Line 504: TourExStr.AppendLine(" <!--预订流程-->")
Line 505: TourExStr.AppendLine(" <div id=""prompt"" class=""itemBox prompt clearfix"">")
Line 506: TourExStr.AppendLine(" <div class=""itemHd"">温馨提示<i></i></div>")
Line 507: TourExStr.AppendLine(" <div class=""content"">")
Line 508: TourExStr.AppendLine(" <div class=""reset clearfix"">")
Line 509: TourExStr.AppendLine(" " & l.reminder & "")
Line 510: TourExStr.AppendLine(" </div>")
Line 511: TourExStr.AppendLine(" </div>")
Line 512: TourExStr.AppendLine(" </div>")
Line 513: TourExStr.AppendLine(" <div id=""process"" class=""itemBox process clearfix"">")
Line 514: TourExStr.AppendLine(" <div class=""itemHd"">预订流程<i></i></div>")
Line 515: TourExStr.AppendLine(" <div class=""content"">")
Line 516: TourExStr.AppendLine(" <div class=""reset clearfix"">")
Line 517: TourExStr.AppendLine(" " & l.BookingProcess & "")
Line 518: TourExStr.AppendLine(" </div>")
Line 519: TourExStr.AppendLine(" </div>")
Line 520: TourExStr.AppendLine(" </div>")
Line 521: TourExStr.AppendLine(" <!--预订流程结束-->")
Line 522: TourExStr.AppendLine(" <!--客户点评-->")
Line 523: TourExStr.AppendLine(" <div id=""review"" class=""itemBox review clearfix"">")
Line 524: TourExStr.AppendLine(" <div class=""itemHd"">客户点评<i></i></div>")
Line 525: TourExStr.AppendLine(" <iframe src=""/line/reviews.aspx?id=" & l.id & """ id=""lineReviews"" name=""lineReviews"" height=""110%"" width=""100%"" scrolling=""no"" frameborder=""0"" onload=""iFrameHeight()""></iframe>")
Line 526: TourExStr.AppendLine(" </div>")
Line 527: TourExStr.AppendLine(" <!--点评结束-->")
Line 528: TourExStr.AppendLine(" <!--在线咨询开始-->")
Line 529: TourExStr.AppendLine(" <div id=""consults"" class=""itemBox consults clearfix"">")
Line 530: TourExStr.AppendLine(" <div class=""itemHd"">在线咨询<i></i></div>")
Line 531: TourExStr.AppendLine(" <iframe src=""/line/questions.aspx?id=" & l.id & """ id=""lineQuestions"" name=""lineQuestions"" height=""110%"" width=""100%"" scrolling=""no"" frameborder=""0"" onload=""iFrameHeights()""></iframe>")
Line 532: TourExStr.AppendLine(" </div>")
Line 533: TourExStr.AppendLine(" <!--在线咨询结束-->")
Line 534: TourExStr.AppendLine(" </div> ")
Line 535: TourExStr.AppendLine(" <!--线路详细描述结束-->")
Line 536: TourExStr.AppendLine(" </div>")
Line 537: TourExStr.AppendLine(" </div>")
Line 538: TourExStr.AppendLine(" </div>")
Line 539: TourExStr.AppendLine(" </div>")
Line 540: TourExStr.AppendLine(" <!--主体结束-->")
Line 541: TourExStr.AppendLine(" <!--页脚开始-->")
Line 542: TourExStr.AppendLine(" <div id=""footer"">")
Line 543: TourExStr.AppendLine(" <div class=""assure"">")
Line 544: TourExStr.AppendLine(" <div class=""wrapper clearfix"">")
Line 545: TourExStr.AppendLine(" <ul class=""clearfix"">")
Line 546: TourExStr.AppendLine(" <li class=""d1"">让您放心出游</li>")
Line 547: TourExStr.AppendLine(" <li class=""d2"">深度品质线路任选</li>")
Line 548: TourExStr.AppendLine(" <li class=""d3"">大连出发旅游首选</li>")
Line 549: TourExStr.AppendLine(" <li class=""d4"">全球邮轮旅行</li>")
Line 550: TourExStr.AppendLine(" <li class=""d5"">大连出发精品海岛旅行</li>")
Line 551: TourExStr.AppendLine(" </ul>")
Line 552: TourExStr.AppendLine(" </div>")
Line 553: TourExStr.AppendLine(" </div>")
Line 554: TourExStr.AppendLine("<div id=""footer"">")
Line 555: TourExStr.AppendLine(" <div class=""artBox"">")
Line 556: TourExStr.AppendLine(" <div class=""wrapper clearfix"">")
Line 557: TourExStr.AppendLine(" <div class=""faq clearfix"">")
Line 558: dim idxn as integer = 0
Line 559: Dim V_11 As Integer = 0
Line 560: For Each R_11 As DataRow In helpcategory.GetList().Rows
Line 561: V_11 += 1
Line 562:
Line 563: idxn = idxn + 1
Line 564: TourExStr.AppendLine(" <dl class=""d" & idxn & """>")
Line 565: TourExStr.AppendLine(" <dt>" & R_11("t_name") & "</dt>")
Line 566: Dim V_12 As Integer = 0
Line 567: For Each R_12 As DataRow In help.GetList().Select("h_categoryid=" & R_11("t_id"),"")
Line 568: V_12 += 1
Line 569:
Line 570: TourExStr.AppendLine(" <dd><a href=""" & IIF(R_12("h_url").length=0,weburl & "help.aspx?id=" & R_12("h_id"),R_12("h_url")) & """ target=""_blank"">" & R_12("h_title") & "</a></dd>")
Line 571: If V_12 >= 4 Then
Line 572: Exit For
Line 573: End If
Line 574: Next
Line 575:
Line 576: TourExStr.AppendLine(" </dl>")
Line 577: If V_11 >= 5 Then
Line 578: Exit For
Line 579: End If
Line 580: Next
Line 581:
Line 582: TourExStr.AppendLine(" </div>")
Line 583: TourExStr.AppendLine(" </div>")
Line 584: TourExStr.AppendLine(" </div>")
Line 585: TourExStr.AppendLine(" <div class=""wrapper clearfix"">")
Line 586: TourExStr.AppendLine(" <div class=""netMark clearfix"">")
Line 587: TourExStr.AppendLine("<a href=""http://www.baidu.com/s?wd=www.oruchina.com@v&vmp_ec=9e7f359a04417cf3462220731d42b35n2d0V0Xsc5d739S=bc08jYuld5javG6985yc8X934c7d2J603ddb31f23&vmp_ectm=1423688800&from=vs"" rel=""nofollow"" title=""百度信誉档案"" target=""_blank""><img src=""/images/temp/baidu.png"" width=""110"" height=""36"" alt=""认证图标""/></a>")
Line 588: TourExStr.AppendLine(" <a href=""javascript:;"" rel=""nofollow"" title=""认证图标""><img src=""" & weburl & "images/mark1.png"" width=""110"" height=""36"" alt=""认证图标""/></a>")
Line 589: TourExStr.AppendLine(" <a href=""javascript:;"" rel=""nofollow"" title=""认证图标""><img src=""" & weburl & "images/mark2.png"" width=""110"" height=""36"" alt=""认证图标""/></a>")
Line 590: TourExStr.AppendLine(" <a href=""javascript:;"" rel=""nofollow"" title=""认证图标""><img src=""" & weburl & "images/mark3.png"" width=""118"" height=""36"" alt=""认证图标""/></a>")
Line 591: TourExStr.AppendLine(" <a href=""javascript:;"" rel=""nofollow"" title=""认证图标""><img src=""" & weburl & "images/mark4.png"" width=""122"" height=""36"" alt=""认证图标""/></a>")
Line 592: TourExStr.AppendLine(" <a href=""javascript:;"" rel=""nofollow"" title=""认证图标""><img src=""" & weburl & "images/mark5.png"" width=""122"" height=""36"" alt=""认证图标""/></a>")
Line 593: TourExStr.AppendLine(" <a href=""javascript:;"" rel=""nofollow"" title=""认证图标""><img src=""" & weburl & "images/mark6.png"" width=""122"" height=""36"" alt=""认证图标""/></a>")
Line 594: TourExStr.AppendLine(" <a href=""javascript:;"" rel=""nofollow"" title=""认证图标""><img src=""" & weburl & "images/mark7.png"" width=""122"" height=""36"" alt=""认证图标""/></a>")
Line 595: TourExStr.AppendLine(" </div>")
Line 596: TourExStr.AppendLine(" <div class=""linksBox clearfix"">")
Line 597: Dim V_13 As Integer = 0
Line 598: For Each R_13 As DataRow In about.GetList().Select("A_PID=" & 0,"")
Line 599: V_13 += 1
Line 600: If V_13 > 1 Then
Line 601:
Line 602: TourExStr.Append(" | ")
Line 603: End If
Line 604:
Line 605: TourExStr.Append("<a href=""" & IIF(R_13("a_url")="",weburl & "About.aspx?id=" & R_13("a_id"),R_13("a_url")) & """>" & R_13("a_title") & "</a>")
Line 606: Next
Line 607:
Line 608: TourExStr.AppendLine(" | <a href=""" & weburl & "sitemap.aspx"" target=""_blank"">网站地图</a>")
Line 609: TourExStr.AppendLine(" </div>")
Line 610: TourExStr.AppendLine(" <div class=""copyright"">")
Line 611: TourExStr.AppendLine(" <p>Copyright © 2010-2015 大连山水国际旅行社有限公司 All Rights Reserved. Powered By <a target=""_blank"" href=""http://www.oruchina.com"">大连山水旅行网</a></p>")
Line 612: TourExStr.AppendLine(" <p>地址:" & siteaddress & " | 服务热线:" & sitetel & " | 技术QQ:" & siteqq & " | E-mail:" & siteemail & " | <a target=""_blank"" href=""https://beian.miit.gov.cn/"" rel=""nofollow"">" & siteicp & "</a></p><p>" & WebConfig.ExternalCodeDefault & "</p>")
Line 613: TourExStr.AppendLine(" <p></p>")
Line 614: TourExStr.AppendLine(" </div>")
Line 615: TourExStr.AppendLine(" <div class=""siteLinks"">")
Line 616: TourExStr.AppendLine(" <dl class=""clearfix"">")
Line 617: TourExStr.AppendLine(" <dt><a href="""" target=""_blank"" title=""友情链接"">友情链接:</a></dt>")
Line 618: TourExStr.AppendLine(" <dd>")
Line 619: Dim V_14 As Integer = 0
Line 620: For Each R_14 As DataRow In textlink.GetList().Rows
Line 621: V_14 += 1
Line 622:
Line 623: TourExStr.AppendLine(" <span><a href=""" & R_14("l_url") & """ title=""" & R_14("l_name") & """ target=""_blank"">" & R_14("l_name") & "</a></span>")
Line 624: Next
Line 625:
Line 626: TourExStr.AppendLine(" </dd>")
Line 627: TourExStr.AppendLine(" </dl>")
Line 628: TourExStr.AppendLine(" </div>")
Line 629: TourExStr.AppendLine(" </div>")
Line 630: TourExStr.AppendLine(" </div>")
Line 631: TourExStr.AppendLine(" <!--页脚结束-->")
Line 632: TourExStr.AppendLine(" <input name=""hidelineid"" id=""hidelineid"" type=""hidden"" value=""" & l.id & """ />")
Line 633: TourExStr.AppendLine(" <div id=""citypiclist"" style=""display:none"">")
Line 634: Dim V_15 As Integer = 0
Line 635: Dim SqlStr_15 As String = "select t_id,t_name,p_pic,t_id,t_text,t_path,t_english From [" & TablePrefix & "citypic] INNER JOIN [" & TablePrefix & "citylibrary] On p_cityid=t_id INNER JOIN [" & TablePrefix & "linescenery] ON p_cityid=ls_cityid and ls_lineid=" & l.id & " Where p_default=1"
Line 636: Dim Dr_15 As SqlDataReader = General.DataList(SqlStr_15,0)
Line 637: If Dr_15.Read Then
Line 638: Do
Line 639: V_15+=1
Line 640: TourExStr.AppendLine(" <div url=""" & destinationurl & "destination/show.aspx?cid=" & para(Dr_15("t_english").ToString(),Dr_15("t_id").ToString()) & """ d_id=""" & Dr_15("t_id").ToString() & """ p_title=""" & Dr_15("t_name").ToString() & """ p_pic=""" & FormatPic(Dr_15("p_pic").ToString(),2) & """ p_pics=""" & FormatPic(Dr_15("p_pic").ToString(),6) & """></div>")
Line 641: If Dr_15.Read = false Then
Line 642: Exit Do
Line 643: End If
Line 644: Loop
Line 645: End If
Line 646: Dr_15.Close()
Line 647:
Line 648: TourExStr.AppendLine(" </div> ")
Line 649: TourExStr.AppendLine(" <!--页脚脚本开始-->")
Line 650: TourExStr.AppendLine(" <div id=""footerJs"">")
Line 651: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/sys/js/jquery.js""> </" & "script>")
Line 652: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/js/jquery.SuperSlide.js""></" & "script>")
Line 653: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/js/jquery.pin.js""></" & "script>")
Line 654: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/js/common.js""></" & "script>")
Line 655: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/js/Calendar.js""></" & "script>")
Line 656: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/sys/js/localStorage.js""> </" & "script>")
Line 657: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/js/line.js""></" & "script>")
Line 658: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/sys/js/jquery.validate.js""> </" & "script>")
Line 659: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/sys/js/jquery.validate.check.js""> </" & "script>")
Line 660: TourExStr.AppendLine(" <script type=""text/javascript"" src=""/js/lineshow.js""></" & "script>")
Line 661: TourExStr.AppendLine(" <script type=""text/javascript"">")
Line 662: TourExStr.AppendLine(" var historyKey = 'LocalLineBrowseHistory';")
Line 663: TourExStr.AppendLine(" $(document).ready(function () {")
Line 664: TourExStr.AppendLine(" $('.headNav').find('#line').addClass('cur');")
Line 665: TourExStr.AppendLine(" //大图切换")
Line 666: TourExStr.AppendLine(" $("".txMovie"").slide({ titCell: "".focus_nav li"", mainCell: "".focus_pic"", autoPlay: true, delayTime: 100, startFun: function (i, p) {")
Line 667: TourExStr.AppendLine(" //控制小图自动翻页")
Line 668: TourExStr.AppendLine(" if (i == 0) { jQuery("".txMovie .navPrev"").click() } else if (i % 5 == 0) { jQuery("".txMovie .navNext"").click() }")
Line 669: TourExStr.AppendLine(" }")
Line 670: TourExStr.AppendLine(" });")
Line 671: TourExStr.AppendLine(" //小图滚动")
Line 672: TourExStr.AppendLine(" $("".txMovie"").slide({ mainCell: "".focus_nav ul"", prevCell: "".navPrev"", nextCell: "".navNext"", effect: ""top"", vis: 5, scroll: 5, delayTime: 0, autoPage: true, pnLoop: false });")
Line 673: TourExStr.AppendLine(" $('.tips').hover( //下拉文字提示")
Line 674: TourExStr.AppendLine(" function () {")
Line 675: TourExStr.AppendLine(" $(this).css({ 'z-index': 100 }).find('.hoverTip').show();")
Line 676: TourExStr.AppendLine(" }, function () {")
Line 677: TourExStr.AppendLine(" $('.tips').css({ 'z-index': 1 });")
Line 678: TourExStr.AppendLine(" $(this).find('.hoverTip').hide();")
Line 679: TourExStr.AppendLine(" }")
Line 680: TourExStr.AppendLine(" );")
Line 681: TourExStr.AppendLine(" $('.calendar td').hover( //日历鼠标经过效果")
Line 682: TourExStr.AppendLine(" function () {")
Line 683: TourExStr.AppendLine(" if ($(this).find("".money"").length > 0) {")
Line 684: TourExStr.AppendLine(" $(this).addClass('hover');")
Line 685: TourExStr.AppendLine(" }")
Line 686: TourExStr.AppendLine(" }, function () {")
Line 687: TourExStr.AppendLine(" $(this).removeClass('hover');")
Line 688: TourExStr.AppendLine(" }")
Line 689: TourExStr.AppendLine(" );")
Line 690: TourExStr.AppendLine(" imagePreview();")
Line 691: TourExStr.AppendLine(" personOption();")
Line 692: TourExStr.AppendLine(" $('.review .more').click(function () {//点评更多显示")
Line 693: TourExStr.AppendLine(" var obj = $(this).parents('dd').find('.moreInfo');")
Line 694: TourExStr.AppendLine(" if (obj.is(':hidden')) {")
Line 695: TourExStr.AppendLine(" obj.slideDown();")
Line 696: TourExStr.AppendLine(" $(this).addClass('moreUp');")
Line 697: TourExStr.AppendLine(" } else {")
Line 698: TourExStr.AppendLine(" obj.slideUp();")
Line 699: TourExStr.AppendLine(" $(this).removeClass('moreUp');")
Line 700: TourExStr.AppendLine(" }")
Line 701: TourExStr.AppendLine(" });")
Line 702: TourExStr.AppendLine(" $('.mainCon .navBox').pin({//菜单跟随")
Line 703: TourExStr.AppendLine(" containerSelector: '.mainCon'")
Line 704: TourExStr.AppendLine(" });")
Line 705: TourExStr.AppendLine(" $('.mainCon .navBox li').click(function () { //点击菜单定位到相应的位置")
Line 706: TourExStr.AppendLine(" var tag = $(this).attr('tag');")
Line 707: TourExStr.AppendLine(" var pos = $('.' + tag).offset().top - 44;")
Line 708: TourExStr.AppendLine(" $('.mainCon .navBox li').find('a').removeClass('cur');")
Line 709: TourExStr.AppendLine(" $(this).find('a').addClass('cur');")
Line 710: TourExStr.AppendLine(" $('html,body').animate({ scrollTop: pos }, 0);")
Line 711: TourExStr.AppendLine(" });")
Line 712: TourExStr.AppendLine(" $(window).scroll(function () { //菜单跟随选中")
Line 713: TourExStr.AppendLine(" var scrollTop = $(window).scrollTop();")
Line 714: TourExStr.AppendLine(" var height = $('.mainCon .navBox').height() - 0;")
Line 715: TourExStr.AppendLine(" if (scrollTop) {")
Line 716: TourExStr.AppendLine(" $('.mainCon .itemBox').each(function (i) {")
Line 717: TourExStr.AppendLine(" if ((scrollTop + height) >= $(this).offset().top) {")
Line 718: TourExStr.AppendLine(" var myClass = $(this).attr('id');")
Line 719: TourExStr.AppendLine(" $('.mainCon .navBox li').find('a').removeClass('cur');")
Line 720: TourExStr.AppendLine(" $('.mainCon .navBox li[tag=""' + myClass + '""]').find('a').addClass('cur');")
Line 721: TourExStr.AppendLine(" }")
Line 722: TourExStr.AppendLine(" });")
Line 723: TourExStr.AppendLine(" if (scrollTop > $('#trip').offset().top) {")
Line 724: TourExStr.AppendLine(" $('.navBox li.goTicket').show();")
Line 725: TourExStr.AppendLine(" } else {")
Line 726: TourExStr.AppendLine(" $('.navBox li.goTicket').hide();")
Line 727: TourExStr.AppendLine(" }")
Line 728: TourExStr.AppendLine(" }")
Line 729: TourExStr.AppendLine(" });")
Line 730: TourExStr.AppendLine(" $('.trips .daysNavBox').pin({//天数跟随")
Line 731: TourExStr.AppendLine(" containerSelector: '.trips'")
Line 732: TourExStr.AppendLine(" });")
Line 733: TourExStr.AppendLine(" $('.trips .daysNavBox li').click(function () { //点击天数定位到相应的位置")
Line 734: TourExStr.AppendLine(" var tag = $(this).attr('tag');")
Line 735: TourExStr.AppendLine(" var pos = $('.' + tag).offset().top - 56;")
Line 736: TourExStr.AppendLine(" $('.trips .daysNavBox li').find('a').removeClass('cur');")
Line 737: TourExStr.AppendLine(" $(this).find('a').addClass('cur');")
Line 738: TourExStr.AppendLine(" $('html,body').animate({ scrollTop: pos }, 0);")
Line 739: TourExStr.AppendLine(" });")
Line 740: TourExStr.AppendLine(" $(window).scroll(function () { //天数跟随选中")
Line 741: TourExStr.AppendLine(" var scrollTop = $(window).scrollTop();")
Line 742: TourExStr.AppendLine(" var height = $('.trips .daysNavBox').height() - 0;")
Line 743: TourExStr.AppendLine(" if (scrollTop) {")
Line 744: TourExStr.AppendLine(" $('.trips .tripList').each(function (i) {")
Line 745: TourExStr.AppendLine(" if ((scrollTop + height) >= $(this).offset().top) {")
Line 746: TourExStr.AppendLine(" var myClass = $(this).attr('id');")
Line 747: TourExStr.AppendLine(" $('.trips .daysNavBox li').find('a').removeClass('cur');")
Line 748: TourExStr.AppendLine(" $('.trips .daysNavBox li[tag=""' + myClass + '""]').find('a').addClass('cur');")
Line 749: TourExStr.AppendLine(" }")
Line 750: TourExStr.AppendLine(" });")
Line 751: TourExStr.AppendLine(" }")
Line 752: TourExStr.AppendLine(" });")
Line 753: TourExStr.AppendLine(" RecordBrowseHistory();")
Line 754: TourExStr.AppendLine(" });")
Line 755: TourExStr.AppendLine(" link['linebooking'] = '" & lineurl & "order/line/booking.aspx?id=" & l.id & "';")
Line 756: TourExStr.AppendLine(" link['linebooking'] += link['linebooking'].indexOf('?') != -1 ? '&' : '?';")
Line 757: TourExStr.AppendLine(" function RecordBrowseHistory() {")
Line 758: TourExStr.AppendLine(" var data = WbLocalStorage.get(historyKey);")
Line 759: TourExStr.AppendLine(" var item = '<item id=""" & L.ID & """><id>" & L.ID & "</id><name>' + """ & L.Name & """.replace(/'/g, ""‘"").replace(/""/g, """ & Chrw(8221) & """) + '</name><pic>' + upfolder + '" & L.PreviewPic & "</pic><price>" & L.Price & "</price><url>' + window.location.href + '</url></item>';")
Line 760: TourExStr.AppendLine(" if (typeof (data) != ""undefined"" && data != null && $.trim(data) != """") {")
Line 761: TourExStr.AppendLine(" var str = """";")
Line 762: TourExStr.AppendLine(" var obj = $(data);")
Line 763: TourExStr.AppendLine(" if (typeof (obj) != ""undefined"" && obj.length > 0) {")
Line 764: TourExStr.AppendLine(" if (obj.filter('[id=""" & L.ID & """]').length == 0) {")
Line 765: TourExStr.AppendLine(" var len = obj.length < 9 ? obj.length : 9;")
Line 766: TourExStr.AppendLine(" for (var i = 0; i < len; i++) {")
Line 767: TourExStr.AppendLine(" str += '<item id=""' + $(obj[i]).find(""id"").text() + '""><id>' + $(obj[i]).find(""id"").text() + '</id><name>' + $(obj[i]).find(""name"").text() + '</name><pic>' + $(obj[i]).find(""pic"").text() + '</pic><price>' + $(obj[i]).find(""price"").text() + '</price><url>' + $(obj[i]).find(""url"").text() + '</url></item>';")
Line 768: TourExStr.AppendLine(" }")
Line 769: TourExStr.AppendLine(" WbLocalStorage.set(historyKey, item + str);")
Line 770: TourExStr.AppendLine(" }")
Line 771: TourExStr.AppendLine(" }")
Line 772: TourExStr.AppendLine(" } else {")
Line 773: TourExStr.AppendLine(" WbLocalStorage.set(historyKey, item);")
Line 774: TourExStr.AppendLine(" }")
Line 775: TourExStr.AppendLine(" }")
Line 776: TourExStr.AppendLine(" this.imagePreview = function () { //鼠标经过放大图片")
Line 777: TourExStr.AppendLine(" xOffset = 5;")
Line 778: TourExStr.AppendLine(" yOffset = 20;")
Line 779: TourExStr.AppendLine(" $(""a.preview"").hover(function (e) {")
Line 780: TourExStr.AppendLine(" this.t = this.title;")
Line 781: TourExStr.AppendLine(" this.title = """";")
Line 782: TourExStr.AppendLine(" var c = (this.t != """") ? ""<br/>"" + this.t : """";")
Line 783: TourExStr.AppendLine(" $(""body"").append(""<div id='preview'><img src='"" + this.rel + ""' alt='Image preview' />"" + c + ""</div>"");")
Line 784: TourExStr.AppendLine(" var w = $('#preview').width() + e.pageX;")
Line 785: TourExStr.AppendLine(" var d = $('#preview').width();")
Line 786: TourExStr.AppendLine(" var s = document.body.clientWidth;")
Line 787: TourExStr.AppendLine(" $(""#preview"").css(""top"", (e.pageY - xOffset) + ""px"").fadeIn(""fast"");")
Line 788: TourExStr.AppendLine(" if (w > s) {")
Line 789: TourExStr.AppendLine(" $(""#preview"").css(""left"", (e.pageX - yOffset - d) + ""px"");")
Line 790: TourExStr.AppendLine(" } else {")
Line 791: TourExStr.AppendLine(" $(""#preview"").css(""left"", (e.pageX + yOffset) + ""px"");")
Line 792: TourExStr.AppendLine(" }")
Line 793: TourExStr.AppendLine(" },")
Line 794: TourExStr.AppendLine(" function () {")
Line 795: TourExStr.AppendLine(" this.title = this.t;")
Line 796: TourExStr.AppendLine(" $(""#preview"").remove();")
Line 797: TourExStr.AppendLine(" });")
Line 798: TourExStr.AppendLine(" $(""a.preview"").mousemove(function (e) {")
Line 799: TourExStr.AppendLine(" var w = $('#preview').width() + e.pageX;")
Line 800: TourExStr.AppendLine(" var d = $('#preview').width();")
Line 801: TourExStr.AppendLine(" var s = document.body.clientWidth;")
Line 802: TourExStr.AppendLine(" $(""#preview"").css(""top"", (e.pageY - xOffset) + ""px"");")
Line 803: TourExStr.AppendLine(" if (w > s) {")
Line 804: TourExStr.AppendLine(" $(""#preview"").css(""left"", (e.pageX - yOffset - d) + ""px"");")
Line 805: TourExStr.AppendLine(" } else {")
Line 806: TourExStr.AppendLine(" $(""#preview"").css(""left"", (e.pageX + yOffset) + ""px"");")
Line 807: TourExStr.AppendLine(" }")
Line 808: TourExStr.AppendLine(" });")
Line 809: TourExStr.AppendLine(" }; ")
Line 810: TourExStr.AppendLine(" </" & "script>")
Line 811: TourExStr.AppendLine(" </div>")
Line 812: TourExStr.AppendLine(" <!--页脚脚本结束-->")
Line 813: TourExStr.AppendLine("</body>")
Line 814: TourExStr.Append("</html>")
Line 815: Response.Write(writecache(FormatUrl(TourExStr.ToString)))
Line 816: TourExStr = NoThing
Line 817: End Sub
Line 818:
Line 819: #End ExternalSource
Line 820:
Line 821:
Line 822: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Line 823: Public Sub New()
Line 824: MyBase.New
Line 825: Dim dependencies() As String
Line 826: CType(Me,Global.TourEx.Web._line_show).AppRelativeVirtualPath = "~/line/show.aspx"
Line 827: If (Global.ASP.line_show_aspx.__initialized = false) Then
Line 828: dependencies = New String(0) {}
Line 829: dependencies(0) = "~/line/show.aspx"
Line 830: Global.ASP.line_show_aspx.__fileDependencies = Me.GetWrappedFileDependencies(dependencies)
Line 831: Global.ASP.line_show_aspx.__initialized = true
Line 832: End If
Line 833: Me.Server.ScriptTimeout = 30000000
Line 834: End Sub
Line 835:
Line 836: Protected ReadOnly Property Profile() As System.Web.Profile.DefaultProfile
Line 837: Get
Line 838: Return CType(Me.Context.Profile,System.Web.Profile.DefaultProfile)
Line 839: End Get
Line 840: End Property
Line 841:
Line 842: Protected Overrides ReadOnly Property SupportAutoEvents() As Boolean
Line 843: Get
Line 844: Return false
Line 845: End Get
Line 846: End Property
Line 847:
Line 848: Protected ReadOnly Property ApplicationInstance() As ASP._global_asax
Line 849: Get
Line 850: Return CType(Me.Context.ApplicationInstance,ASP._global_asax)
Line 851: End Get
Line 852: End Property
Line 853:
Line 854: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Line 855: Private Sub __BuildControlTree(ByVal __ctrl As line_show_aspx)
Line 856:
Line 857: #ExternalSource("D:\web\aoyou\line\show.aspx",1)
Line 858: __ctrl.EnableViewState = false
Line 859:
Line 860: #End ExternalSource
Line 861:
Line 862: #ExternalSource("D:\web\aoyou\line\show.aspx",1)
Line 863: Me.InitializeCulture
Line 864:
Line 865: #End ExternalSource
Line 866: End Sub
Line 867:
Line 868: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Line 869: Protected Overrides Sub FrameworkInitialize()
Line 870: MyBase.FrameworkInitialize
Line 871: Me.__BuildControlTree(Me)
Line 872: Me.AddWrappedFileDependencies(Global.ASP.line_show_aspx.__fileDependencies)
Line 873: End Sub
Line 874:
Line 875: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Line 876: Public Overrides Function GetTypeHashCode() As Integer
Line 877: Return 5381
Line 878: End Function
Line 879:
Line 880: <System.Diagnostics.DebuggerNonUserCodeAttribute()> _
Line 881: Public Overrides Sub ProcessRequest(ByVal context As System.Web.HttpContext)
Line 882: MyBase.ProcessRequest(context)
Line 883: End Sub
Line 884: End Class
Line 885: End Namespace
Line 886:
|