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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pro_data.asp

?? 機(jī)票預(yù)定系統(tǒng) 各個(gè)模塊的設(shè)計(jì)-ticket reservation systems detailed design system modules of the design
?? ASP
?? 第 1 頁 / 共 2 頁
字號:

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
'日期格式轉(zhuǎn)換
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
'字符分割轉(zhuǎn)換函數(shù)
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="經(jīng)濟(jì)艙"
	case "FF"
	      spzz="頭等艙"
	case "CC"
	      spzz="公務(wù)艙"
	case "00"
	      spzz="特價(jià)艙"
	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說明:此函數(shù)沒有用上
 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說明:此函數(shù)沒有用上
  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 價(jià)錢轉(zhuǎn)換折扣,并且取5倍整數(shù) 2折扣轉(zhuǎn)換價(jià)錢 0價(jià)錢轉(zhuǎn)換折扣,
	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說明:之前常規(guī)艙位的格式是:90T@0@*@常規(guī)價(jià)^85K@0@*@常規(guī)價(jià)^80H@0@*@常規(guī)價(jià)
''改過之后為:90T@9@*@常規(guī)價(jià)^85K@9@*@常規(guī)價(jià)^80H@9@*@常規(guī)價(jià)@G    G表示一般價(jià)格
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"&"@"&"*"&"@"&"常規(guī)價(jià)"&"@"&"G"&"^"
	   end if 
	 next 
  end if 
  sssa=sssa+"97"&"Y"&"@"&"9"&"@"&"*"&"@"&"常規(guī)價(jià)"&"@"&"G"&"^"
  sssa=sssa+"98"&"C"&"@"&"9"&"@"&"*"&"@"&"常規(guī)價(jià)"&"@"&"G"&"^"

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧洲av在线| 亚洲一区在线播放| 欧美最新大片在线看| 蜜臀av国产精品久久久久| 国产精品久久久久一区二区三区共| 欧美日韩久久一区| 福利一区二区在线观看| 五月婷婷综合在线| 日韩一区日韩二区| 26uuu精品一区二区| 欧洲国内综合视频| 99视频国产精品| 国产麻豆视频一区| 日韩成人伦理电影在线观看| 亚洲欧美欧美一区二区三区| xnxx国产精品| 日韩久久久精品| 欧美性猛交xxxx乱大交退制版| www.色精品| 国产老肥熟一区二区三区| 奇米影视在线99精品| 亚洲成人免费电影| 一区二区三区精品在线观看| 中文av字幕一区| 国产午夜三级一区二区三| 日韩亚洲电影在线| 欧美美女一区二区在线观看| 91麻豆精品在线观看| 成人av免费在线观看| 国产激情91久久精品导航| 国内久久婷婷综合| 欧美日韩精品一区二区在线播放| 一本大道久久a久久综合婷婷| 成人免费毛片a| 成人高清免费观看| 国产aⅴ综合色| 成人av网站在线| 99国产精品久久久久久久久久久| 不卡高清视频专区| www.av亚洲| 91小宝寻花一区二区三区| 91麻豆精东视频| 91国内精品野花午夜精品 | 欧美在线free| 欧美色综合久久| 精品视频在线免费观看| 欧美日韩国产综合视频在线观看 | 麻豆精品在线看| 精品一区二区三区在线播放视频 | 日本系列欧美系列| 美脚の诱脚舐め脚责91| 国产一区二区网址| 成人影视亚洲图片在线| 成人免费va视频| 91美女在线看| 欧美另类videos死尸| 在线成人av影院| 欧美电视剧免费观看| xvideos.蜜桃一区二区| 日本一区二区三区国色天香| 国产精品福利一区二区| 一区二区三区四区在线免费观看| 亚洲午夜成aⅴ人片| 青青草国产成人av片免费 | 亚洲天堂网中文字| 亚洲在线成人精品| 韩国欧美国产一区| 99在线精品视频| 在线电影国产精品| 国产欧美在线观看一区| 亚洲日本免费电影| 日韩电影在线一区二区| 国产在线播放一区| 91丝袜美腿高跟国产极品老师| 欧洲色大大久久| 久久日韩精品一区二区五区| 国产精品狼人久久影院观看方式| 亚洲永久免费av| 激情伊人五月天久久综合| www.在线成人| 欧美成人三级在线| 亚洲精品你懂的| 国产一区二区三区在线观看免费 | 国产精品91xxx| 欧美三片在线视频观看| 久久女同精品一区二区| 亚洲一二三区视频在线观看| 精品综合久久久久久8888| 99精品国产视频| 精品欧美黑人一区二区三区| 中文字幕在线一区| 久久超碰97人人做人人爱| 99久久伊人久久99| 欧美一级理论片| 又紧又大又爽精品一区二区| 国内外精品视频| 666欧美在线视频| 亚洲色图欧美偷拍| 国产成人av福利| 日韩一区二区在线看| 有坂深雪av一区二区精品| 国产精品 日产精品 欧美精品| 欧美欧美欧美欧美首页| 最近日韩中文字幕| 国产盗摄一区二区| 91精品一区二区三区久久久久久| 日韩毛片视频在线看| 黄一区二区三区| 欧美日韩午夜在线| 国产精品理伦片| 国产精品一二三四区| 欧美一区二区三区免费视频| 亚洲伦在线观看| eeuss鲁片一区二区三区| 精品国产乱码久久久久久浪潮| 亚洲妇熟xx妇色黄| 色呦呦日韩精品| 中文字幕不卡的av| 国产精品一区专区| 欧美电影免费观看高清完整版在| 亚洲成a人片在线观看中文| 91影院在线观看| 国产精品无遮挡| 国产91精品露脸国语对白| 26uuu色噜噜精品一区二区| 蜜桃视频在线观看一区| 日韩一区二区在线免费观看| 日韩精品一级二级| 欧美日韩成人一区| 五月综合激情日本mⅴ| 欧美高清一级片在线| 午夜精品久久久久| 欧美老人xxxx18| 日本视频在线一区| 91精品国产综合久久精品性色| 亚洲午夜影视影院在线观看| 91国产免费观看| 一级特黄大欧美久久久| 色天天综合久久久久综合片| 最新欧美精品一区二区三区| 成人av先锋影音| 亚洲精品大片www| 最近日韩中文字幕| 日本高清不卡视频| 亚洲午夜一区二区| 欧美夫妻性生活| 精品亚洲成a人| 国产欧美精品一区| k8久久久一区二区三区| 亚洲人成伊人成综合网小说| 日本高清视频一区二区| 午夜精品爽啪视频| 欧美成人国产一区二区| 国内国产精品久久| 国产精品久久久久久一区二区三区| 99久久国产综合精品麻豆| 亚洲黄一区二区三区| 欧美一区二区视频网站| 国产精品一二三区在线| 综合av第一页| 欧美一区二区三区免费| 丁香婷婷综合激情五月色| 亚洲欧美激情插| 日韩欧美中文一区二区| 国产精品自拍三区| 一区二区三区美女| 欧美不卡激情三级在线观看| 国产suv精品一区二区883| 亚洲精品成a人| 欧美一级理论片| 91在线视频18| 免费精品99久久国产综合精品| 国产日韩欧美制服另类| 欧美视频一区二区三区| 久久99国产精品麻豆| 亚洲欧美一区二区三区国产精品| 在线电影国产精品| hitomi一区二区三区精品| 亚洲高清不卡在线| 欧美激情一区二区三区不卡| 在线观看一区日韩| 国产一区二区伦理| 亚洲在线中文字幕| 国产三级精品三级在线专区| 色狠狠色噜噜噜综合网| 精品一区二区免费视频| 亚洲美女免费在线| 久久久噜噜噜久久中文字幕色伊伊| 91尤物视频在线观看| 国产一区二区三区在线观看免费视频 | 亚洲人成影院在线观看| 精品国产99国产精品| 在线观看视频欧美| 国产成人精品网址| 日韩专区欧美专区| 亚洲女人的天堂| 国产欧美一区二区三区在线老狼| 91精品国产乱| 色婷婷精品大视频在线蜜桃视频| 国产在线乱码一区二区三区|