亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pro_data.asp

?? 機票預定系統 各個模塊的設計-ticket reservation systems detailed design system modules of the design
?? ASP
?? 第 1 頁 / 共 2 頁
字號:

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
'日期格式轉換
Function SenFe_Date(Content) 
If IsDate(Content) = False Then Exit Function 
Content = CDate(Content) 
SenFe_Date = Year(Content)&"-"& Right("0"&Month(Content),2)&"-"&Right("0"&Day(Content),2) 
End Function
'字符分割轉換函數
function  split_str(str,nu1,nu2)
   if len(str)>20 then
     aa=split(str,"&")
     bb=split(aa(nu1),"=")
     split_str=bb(nu2)
	else
	 exit function
	end if
end function
'================================
function ta_you(StartCity8,EndCity8)
		sqlf="select top 1 FeeOil1,FeeOil2,FeeOilDistance from system"
 	set rsf=conn.execute(sqlf)
 	if not rsf.eof then
 	  FeeOil1=rsf("FeeOil1")
 	  FeeOil2=rsf("FeeOil2")
 	  FeeOilDistance=rsf("FeeOilDistance")
	  if isnull(rsf("FeeOil1")) or rsf("FeeOil1")="" then
	   FeeOil1=0
	  end if
	  if isnull(rsf("FeeOil2")) or rsf("FeeOil2")="" then
	   FeeOil2=0
	  end if
	  if isnull(rsf("FeeOilDistance")) or rsf("FeeOilDistance")="" then
	   FeeOilDistance=0
	  end if
 	end if
 rsf.close
 set rsf=nothing
 	
   		sql2="  select distance  from TAPrice   where  not isnull(distance) and (航段='"&trim(StartCity8)+trim(EndCity8)&"'  or 航段='"&trim(EndCity8)+trim(StartCity8)&"')  "		  
           
	  
		   set rs=conn.execute(sql2)
  if not rs.eof then
  		if isnull(rs("distance")) or rs("distance")="" then 
		  ryou=clng(FeeOilDistance)
		  else
	      ryou=clng(rs("distance"))
		end if
		  session(ryou)=trim(ryou)
	      if ryou=>clng(FeeOilDistance) then ta_you=trim(FeeOil2)
	      if ryou<clng(FeeOilDistance) then ta_you=trim(FeeOil1)
		 else
		  ta_you=trim(FeeOil2) 
  end if
	rs.close
	set rs=nothing
end function
'=========================================
function ta_jianshe(StartCity8,EndCity8)

	sqlo="select top 1 FeeAirBuilding1,FeeAirBuilding2 from system"
 	set rso=conn.execute(sqlo)
 	if not rso.eof then
 	  FeeAirBuilding1=rso("FeeAirBuilding1")
 	  FeeAirBuilding2=rso("FeeAirBuilding2")
	  if isnull(rso("FeeAirBuilding1")) or rso("FeeAirBuilding1")="" then
	   FeeAirBuilding1=0
	  end if
	  if isnull(rso("FeeAirBuilding2")) or rso("FeeAirBuilding2")="" then
	   FeeAirBuilding2=0
	  end if	  
 	end if
 	rso.close
	set rso=nothing


   	sql3="  select ConstracteTax  from TAPrice   where  not isnull(ConstracteTax) and (航段='"&trim(StartCity8)+trim(EndCity8)&"'  or 航段='"&trim(EndCity8)+trim(StartCity8)&"')  "		  
    set rs=conn.execute(sql3)
	
if not rs.eof then
	    jianshe=clng(rs("ConstracteTax"))
		session(jianshe)=trim(jianshe)
	      if jianshe="" then 
		  ta_jianshe=FeeAirBuilding1
			  Else
		  ta_jianshe=FeeAirBuilding2
		  end If
	Else
	ta_jianshe=FeeAirBuilding1 
end if
	rs.close
	set rs=nothing
end function
'=========================================
function ta_distance(StartCity8,EndCity8)
	    	set rs=conn.execute("select distance from TAprice where  not isnull(distance) and (航段='"&trim(StartCity8)+trim(EndCity8)&"'  or  航段='"&trim(EndCity8)+trim(StartCity8)&"') ")
	if not rs.eof then
	ta_distance=clng(rs("distance"))   '里程
	end if
	rs.close
	set rs=nothing
end function
'=========================================


function    split_fly(str,nu1)
   if len(str)>1 then
           dd=split(str,"^")
		   If nul<=UBound(dd) then
           split_fly=dd(nu1)
		   Else 
		   split_fly=dd(UBound(dd))
		   End if

	else
	   exit function
	end if
end function
'=====================
function  fly_str(str)
 if len(str)>70 then
      proid=split(str,"&")
	  if ubound(proid)-1>=7 then
		  for i=7 to ubound(proid)-1 '分離
					fly_str=fly_str+proid(i)+"&"  '組合
		  next
		  fly_str=left(fly_str,len(fly_str)-1)
	  else
		errclose("對不起,暫無航班信息!")
		response.End
	  end if
 else
 	errclose("對不起,暫無航班信息!")
	response.End
 end if
end function
'=============================
function spzz(str)
  select case str
    case "YY"
          spzz="經濟艙"
	case "FF"
	      spzz="頭等艙"
	case "CC"
	      spzz="公務艙"
	case "00"
	      spzz="特價艙"
	case else
	spzz=str&"折"
  end select
end function
'==============================
function  isnonull(str,spstr)
  if len(str)>0 then
      arraystr=split(str,spstr)
        for t= 0 to ubound(arraystr)
           cstrdd=Mid(arraystr(t),3,1)
		    If cstrdd<>"0" Then
		          zz=zz+arraystr(t)+spstr			  
            Else
     		   If Mid(arraystr(t),5,1)<>""  Then
			     If Mid(arraystr(t),5,1)<>0 Then
			       zz=zz+arraystr(t)+spstr
				   ElseIf t=0 Then zz=""
				 End If 
			   Else
			    zz=zz+arraystr(t)+spstr
               End If   
            End If     
         Next
'isnonull=mid("BA000@",1,Len("BA000@")-1)
    If zz="" Then
    isnonull=str
	else
	isnonull=mid(zz,1,len(zz)-1)
	End if
  else
   isnonull=str
  end If
 end function
 '========================================
 %>
 <%
'' function  dprice(strd,spstrd,FlightNos,startcity,endcity)
	 
 '' if len(strd)>0 then
     ''str=split(strd,spstrd)
     ''for td= 0 to ubound(str)
 		  ''dsql="select Rebate,bunk,price from mybunkmessage where (FlightNo<>'' and  bunk<>'' and ifDynamicBunk=1 and bunk='"&UCase(left(str(td),1))&"' and  FlightNo='"&trim(FlightNos)&"' and flydate<=#"&Dates&"#  and endDatetime>=#"&Dates&"# ) or ( bunk<>'' and bunk='"&UCase(left(str(td),1))&"' and ifDynamicBunk=2 and AirwayName='"&trim(F_Airways(left(split_fly(fly_values(i),3),2)))&"' and  startcity='"&startcity&"' and  endcity='"&endcity&"' and  flydate<=#"&Dates&"#  and endDatetime>=#"&Dates&"# ) "
			'response.Write(dsql)&"<br>"
    	    ''set rs2=conn.execute(dsql)
    		''if not rs2.eof then
			    ''dprice=rs2("price")
				''dprice=((dprice*0.35+5)\10)*10
            	''zznew=left(str(td),2)&"00"&dprice
                ''zzd=zzd+zznew+spstrd
		   ''else
                ''zzd=zzd+str(td)+spstrd
				
         '' end if
              ''rs2.close

         ''Next
 	''dprice=mid(zzd,1,len(zzd)-1)
 ''Else
    ''dprice=strd 
''end if	
   ''set rs2=nothing
 ''end function%>
 <%
'===LYQ說明:此函數沒有用上
 function  dRebate(strd,spstrd,FlightNos,startcity,endcity)
	 
  if len(strd)>0 then
     str=split(strd,spstrd)
     for td= 0 to ubound(str)
 		  dsql="select Rebate,bunk,price from mybunkmessage where ( ifDynamicBunk=1 and bunk='"&UCase(left(str(td),1))&"' and  FlightNo='"&trim(FlightNos)&"' and flydate<=#"&Dates&"#  and endDatetime>=#"&Dates&"# ) or ( bunk='"&UCase(left(str(td),1))&"' and ifDynamicBunk=2 and AirwayName='"&trim(F_Airways(left(split_fly(fly_values(i),3),2)))&"' and (startcity='"&startcity&"' or startcity='') and  (endcity='"&endcity&"' or endcity='') and  flydate<=#"&Dates&"#  and endDatetime>=#"&Dates&"# ) "
			'response.Write(dsql)&"<br>"
    	    set rs8=conn.execute(dsql)
    		if not rs8.eof then 
			    dRebate=rs8("Rebate")
				zzRebate=dRebate
				zzr=zzr+zzRebate+spstrd
		   else
				zzr=zzr+str(td)+spstrd
				
          end if
              rs8.close
         Next
	dRebate=mid(zzr,1,len(zzr)-1)
 Else
	dRebate=strd 
end if	
   set rs8=nothing
 end Function
'===LYQ說明:此函數沒有用上
  function  dbunk(strd,spstrd,FlightNos,startcity,endcity)
	 
  if len(strd)>0 then
     str=split(strd,spstrd)
     for td= 0 to ubound(str)
 		  dsql="select Rebate,bunk,price from mybunkmessage where (FlightNo<>'' and  bunk<>'' and ifDynamicBunk=1 and bunk='"&UCase(left(str(td),1))&"' and  FlightNo='"&trim(FlightNos)&"' and flydate<=#"&Dates&"#  and endDatetime>=#"&Dates&"# ) or ( bunk<>'' and bunk='"&UCase(left(str(td),1))&"' and ifDynamicBunk=2 and AirwayName='"&trim(F_Airways(left(split_fly(fly_values(i),3),2)))&"' and  startcity='"&startcity&"' and  endcity='"&endcity&"' and  flydate<=#"&Dates&"#  and endDatetime>=#"&Dates&"# ) "
			'response.Write(dsql)&"<br>"
    	    set rs7=conn.execute(dsql)
    		if not rs7.eof then 
			    dbunk=rs7("bunk")
				zzbunk=dbunk
				zzb=zzb+zzbunk+spstrd
		   else
	            dbunk=""
				zzb=zzb+str(td)+spstrd
          end if
              rs7.close
         Next
    dbunk=mid(zzb,1,len(zzb)-1)
 Else
	dbunk=strd 
end if	
   set rs7=nothing
 end function

'===================================
function  sp_bunk(allstr,sp,leftnum) 'Split Bunk or Bunk of number only
    if len(allstr)>0 then
	   forstr=split(allstr,sp)
	   for pn=0 to ubound(forstr)
	     p1=p1+left(forstr(pn),leftnum)
	   next
	   sp_bunk=p1
	else
	 sp_bunk=allstr
	end if
end function
'==================================================
function  F_Airways(str)
         sql="select top 1 AirwayName,shortname from Airways where CarrierCode='"&trim(str)&"'"
		  set rs=conn.execute(sql)
		  if not rs.eof then
		      F_Airways=trim(rs("AirwayName"))
		  end if
			rs.close
end function
'=====================================
function  Airimg(str)
         sql="select PictureLogoPath from Airways where CarrierCode='"&trim(str)&"'"
		  set rs=conn.execute(sql)
		  if not rs.eof then
		      Airimg=trim(rs("PictureLogoPath"))
		   end if
			rs.close
end function
'============================
function   fly_time(str)
    fly_time=left(str,2)+":"+right(str,2)
end function
'=================================
function bunk_num(str)
    select case str
	  case "A"
	    bunk_num="≥9"
	   case else
	   bunk_num=str
	   end select
end function	
'=================================
function  codetocity(str)'中文三支代碼
		   set rs=conn.execute("select CityName from city where CityCode='"&str&"'")
		   if not rs.eof then
		     codetocity=trim(rs("CityName"))
		   else
		     codetocity=str
		   end if
			rs.close
end function
'=================================


function pricetodiscount(price,fullprice,ifint) '1 價錢轉換折扣,并且取5倍整數 2折扣轉換價錢 0價錢轉換折扣,
	if fullprice="" then
	fullprice=0
	end if
  if fullprice=0 then 
     pricetodiscount=0
	 exit function
  end if
  select case ifint
  	case 0
      aprice=price/fullprice*100
      aprice=round(aprice)
	  pricetodiscount=aprice
	case 1
      aprice=price/fullprice*100
      aprice=round(aprice)
      byu=aprice mod 10
       c=5
      if byu<3 then c=0 end if
      if byu>7 then c=10 end if
      pricetodiscount= aprice-(aprice mod 10)+c 
	case 2
	   if price=97 then
	    price=100
	   end if
	   if price=98 then
	    price=130
	   end if 
	   if price=99 then
	    price=150
	   end if
      pricetodiscount=((fullprice*price/100+5)\10)*10
  end select
end function

''LYQ說明:之前常規艙位的格式是:90T@0@*@常規價^85K@0@*@常規價^80H@0@*@常規價
''改過之后為:90T@9@*@常規價^85K@9@*@常規價^80H@9@*@常規價@G    G表示一般價格
function graner(airways)
  sql="select * from TADiscount where [航空公司]='"&airways&"'"
  set rs =conn.execute(sql)
  if not rs.eof then
     sssa=""
	 for ii=95 to 10 step -5
	   if isnull(rs("y"&ii)) then 
	      bb=""
	   else 
	      bb=Trim(rs("y"&ii))
	   end if
	   if bb<>"" then 
	   sssa=sssa+cstr(ii)&bb&"@"&"9"&"@"&"*"&"@"&"常規價"&"@"&"G"&"^"
	   end if 
	 next 
  end if 
  sssa=sssa+"97"&"Y"&"@"&"9"&"@"&"*"&"@"&"常規價"&"@"&"G"&"^"
  sssa=sssa+"98"&"C"&"@"&"9"&"@"&"*"&"@"&"常規價"&"@"&"G"&"^"

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品18久久久久久久久| 亚洲欧美激情一区二区| 美日韩一区二区| 日韩精品一区二| 国产一区二区三区香蕉| 国产欧美综合在线观看第十页| 国产suv精品一区二区三区| 国产精品欧美一区二区三区| 色综合久久综合网97色综合| 亚洲国产综合在线| 日韩午夜精品视频| 国产99久久精品| 尤物av一区二区| 欧美一级欧美三级在线观看| 国产在线播放一区| 亚洲精品久久嫩草网站秘色| 91精品国产aⅴ一区二区| 国产成人av影院| 亚洲午夜免费视频| 久久综合中文字幕| 日本久久电影网| 91麻豆精品国产91| 国产精品女同一区二区三区| 日韩中文字幕不卡| 欧美日韩另类国产亚洲欧美一级| 欧美成人乱码一区二区三区| 国产精品美女久久久久高潮| 日韩国产欧美在线视频| yourporn久久国产精品| 欧美www视频| 亚洲制服丝袜一区| 成人免费视频一区| 日韩一区精品视频| 久久久精品人体av艺术| 色吊一区二区三区| 国产一区二区剧情av在线| 日韩码欧中文字| 日韩免费电影网站| 欧美午夜精品理论片a级按摩| 狠狠色丁香婷婷综合| 一区二区三区四区精品在线视频| 欧美刺激午夜性久久久久久久| 色综合天天天天做夜夜夜夜做| 精品一区二区免费在线观看| 亚洲福利一二三区| 中文字幕中文字幕在线一区 | 91精品国产一区二区三区| 国产91精品精华液一区二区三区| 亚洲成av人影院在线观看网| 中文字幕高清一区| 久久久亚洲午夜电影| 日韩亚洲欧美一区二区三区| 91麻豆国产在线观看| 国产成人超碰人人澡人人澡| 捆绑变态av一区二区三区| 亚洲成人先锋电影| 伊人色综合久久天天| 国产精品久久免费看| 国产色综合久久| 精品福利一区二区三区| 日韩一区二区在线观看| 欧美亚男人的天堂| 欧美性大战xxxxx久久久| 91碰在线视频| av爱爱亚洲一区| 99riav久久精品riav| 成人高清免费观看| 国产成人av在线影院| 国产精品一区二区久久不卡| 国模冰冰炮一区二区| 久久国产剧场电影| 麻豆精品视频在线观看视频| 日韩av不卡一区二区| 香蕉久久一区二区不卡无毒影院 | 国产成人久久精品77777最新版本| 国产女主播在线一区二区| 色中色一区二区| 国产精品自拍三区| 五月综合激情婷婷六月色窝| 亚洲国产精品av| 日韩一区二区中文字幕| 欧美天天综合网| 国产目拍亚洲精品99久久精品| 99久久综合精品| 91在线云播放| 色婷婷精品大视频在线蜜桃视频| 日本韩国欧美一区二区三区| 精品视频在线免费观看| 51精品视频一区二区三区| 欧美一区午夜精品| 精品卡一卡二卡三卡四在线| 日本一区二区三区免费乱视频| 国产91高潮流白浆在线麻豆 | 久久久久久久久久久久久夜| 日韩女优制服丝袜电影| 欧美成人乱码一区二区三区| 久久精品欧美一区二区三区不卡 | 日本久久电影网| 欧美日韩国产高清一区二区| 欧美一区二区三区男人的天堂| 精品第一国产综合精品aⅴ| 久久久久久久免费视频了| 国产欧美精品一区二区色综合| 亚洲视频一区在线| 亚洲成人1区2区| 国产呦萝稀缺另类资源| 色婷婷综合久久久久中文一区二区| 欧美午夜精品久久久久久超碰| 精品国产一区二区精华| 国产精品久久久久婷婷| 亚洲成人一区二区在线观看| 国产剧情一区二区| 一本大道久久a久久精二百| 91精品欧美一区二区三区综合在| www国产亚洲精品久久麻豆| ...xxx性欧美| 免费观看30秒视频久久| 成人综合在线观看| 欧美日韩国产在线观看| 日本一区二区成人在线| 亚洲成a天堂v人片| 日本色综合中文字幕| 国产一区二区三区免费在线观看 | 日韩欧美另类在线| 国产日韩精品一区二区浪潮av| 国产欧美一区二区精品性| 亚洲免费观看高清完整版在线观看熊 | 国产成人精品亚洲777人妖| a美女胸又www黄视频久久| 亚洲色图制服诱惑 | 精品国免费一区二区三区| 中文字幕在线一区| 日本成人超碰在线观看| 91麻豆精东视频| 国产亚洲欧洲一区高清在线观看| 亚洲一区二区成人在线观看| 成人丝袜视频网| 精品久久人人做人人爱| 亚洲成人1区2区| 色综合激情五月| 国产精品情趣视频| 麻豆精品精品国产自在97香蕉| 色8久久精品久久久久久蜜| 国产日韩av一区| 裸体在线国模精品偷拍| 欧美天堂一区二区三区| 日韩伦理免费电影| 懂色av中文一区二区三区| 欧美一区二区精品久久911| 夜夜爽夜夜爽精品视频| 91香蕉视频在线| 国产精品久久综合| 国产成a人亚洲精品| 日韩欧美国产精品| 丝袜美腿高跟呻吟高潮一区| 欧美在线免费观看视频| 亚洲伦在线观看| 91浏览器入口在线观看| 亚洲婷婷国产精品电影人久久| 国产成人夜色高潮福利影视| 亚洲精品一区二区三区影院| 麻豆免费看一区二区三区| 欧美一级欧美一级在线播放| 日韩精品电影一区亚洲| 在线不卡中文字幕播放| 午夜精品福利视频网站| 欧美日韩国产经典色站一区二区三区 | 91精品国产免费久久综合| 亚洲永久免费视频| 欧洲一区在线电影| 亚洲成人免费在线| 欧美人体做爰大胆视频| 丝袜脚交一区二区| 日韩欧美一区电影| 日韩精品一区二区三区中文精品| 国产不卡在线一区| 国产成人在线视频播放| 久久先锋影音av鲁色资源网| 99精品桃花视频在线观看| 日韩二区三区四区| 国产精品第一页第二页第三页| 欧美一级片在线看| 欧美优质美女网站| 99久久国产综合精品色伊| 喷水一区二区三区| 亚洲精品美腿丝袜| 国产精品久久久久久久久免费樱桃| 久久综合久久久久88| 国产精品色婷婷久久58| 亚洲国产欧美日韩另类综合| 在线不卡免费av| 精品一区二区三区蜜桃| 国产欧美视频一区二区三区| 91在线一区二区三区| 亚洲国产成人高清精品| 久久综合网色—综合色88| 99re视频精品| 男女男精品网站| 国产精品色婷婷| 日韩一区二区三区视频在线|