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

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

?? confirmed.asp

?? 用ASP寫的電子購物系統
?? ASP
?? 第 1 頁 / 共 2 頁
字號:
<%@ LANGUAGE=vbscript %>
<!--#INCLUDE FILE="include/shop.asp" -->
<!--#INCLUDE FILE="include/util.asp" -->
<% REM ##########################################################################%>
<% REM                                                                          #%>
<% REM   CONFIRMED.ASP                                                          #%>
<% REM   訂單確認                                                               #%>
<% REM                                                                          #%>
<% REM   Copyright (c) 1996-98 Microsoft Corporation.  All rights reserved.     #%>
<% REM                                                                          #%>
<% REM ##########################################################################%>
<%

cardnum=request("cardnum")
password=request("password")

dim errorList
    '讀運費信息
    cmdTemp.CommandText = "SELECT * FROM CARRIAGE"
    
    Set recordSet = Server.CreateObject("ADODB.Recordset")
    recordSet.Open cmdTemp, , adOpenKeyset, adLockOptimistic
	while not(recordset.EOF)
		if recordset("id")="1" then cost1=recordset("cost")
		if recordset("id")="2" then cost2=recordset("cost")
		if recordset("id")="3" then cost3=recordset("cost")
		if recordset("id")="4" then cost4=recordset("cost")
		recordset.MoveNext 
	wend
	recordset.Close 
	
    cmdTemp.CommandText = "SELECT * FROM basket WHERE session_id = '" & session.SessionID  & "' order by product_id"

    recordSet.Open cmdTemp, , adOpenKeyset, adLockOptimistic
   
    if recordset.RecordCount =0 then
        errorList=errorList & "您的購物籃是空的。<br>"
    end if 
    
    if (Isnull(ShopperID) or isempty(ShopperID)) then
		errorList=errorList & "用戶未登錄或操作超時。<br>"
    end if
    
    bill_to_name = checklength(Request("bill_to_name"), 25)
    if IsNull(bill_to_name) then
        errorList=errorList & "付款人必須在1到25個漢字。<br>"
    end if
    bill_to_street  = checklength(Request("bill_to_street"), 120)
    if IsNull(bill_to_street) then
        errorList=errorList & "付款人地址必須在1到120個漢字。<br>"
    end if
    bill_to_method  = checklength(Request("bill_to_method"), 4)
    if IsNull(bill_to_method) then
        errorList=errorList & "必須選擇付款方式。<br>"
    end if
    bill_to_state = checklength(Request("bill_to_state"),15)
    if IsNull(bill_to_state) then
        errorList=errorList & "付款人位置付款人地址必須在1到15個漢字。<br>"
    end if
   
    bill_to_city = checklength(Request("bill_to_city"), 25)
    if IsNull(bill_to_city) then
        errorList=errorList & "付款人城市必須在1到25個漢字。<br>"
    end if
    
	bill_to_zip = checklength(Request("bill_to_zip"), 15)
    if IsNull(bill_to_zip) then
        errorList=errorList & "付款人郵編位置必須在1到15個數字。<br>"
    end if
    
    bill_to_phone = checklength(Request("bill_to_phone"), 20)
    if IsNull(bill_to_phone) then
        errorList=errorList & "付款人電話必須是1到20個字符。<br>"
    end if

    ship_to_name = checklength(Request("ship_to_name"), 25)
    if IsNull(ship_to_name) then
        errorList=errorList & "收貨人必須在1到25個漢字。<br>"
    end if
    ship_to_street  = checklength(Request("ship_to_street"), 120)
    if IsNull(ship_to_street) then
        errorList=errorList & "收貨人地址必須在1到120個漢字。<br>"
    end if
    
    ship_to_state = checklength(Request("ship_to_state"),15)
    if IsNull(ship_to_state) then
        errorList=errorList & "收貨人位置付款人地址必須在1到15個漢字。<br>"
    end if
    
    ship_to_city = checklength(Request("ship_to_city"), 25)
    if IsNull(ship_to_city) then
        errorList=errorList & "收貨人城市必須在1到25個漢字。<br>"
    end if

    ship_to_zip = checklength(Request("ship_to_zip"), 15)
    if IsNull(ship_to_zip) then
        errorList=errorList & "收貨人郵編位置必須在1到15個數字。<br>"
    end if
    
    ship_to_phone = checklength(Request("ship_to_phone"), 20)
    if IsNull(ship_to_phone) then
        errorList=errorList & "收貨人電話必須是1到20個字符。<br>"
    end if
    
    description = checklength(Request("note"), 100)
    ship_to_email = checklength(Request("ship_to_email"), 50)
    bill_to_email = checklength(Request("bill_to_email"), 50)

   '計算運費
    if trim(bill_to_state)="其它" then 
		pay_currency="美金"
	else 
		pay_currency="人民幣"
	end if
	
	if trim(ship_to_state)="北京" and pay_currency="人民幣" then
		ship_fee=cost1
	elseif trim(ship_to_state)<>"北京" and pay_currency="人民幣" then
		ship_fee=cost2
	elseif trim(ship_to_state)="北京" and pay_currency="美金" then
		ship_fee=cost3
	else 
	    ship_fee=cost4
	end if
%>



<%if errorList="" then%>

<html>

<head>
    <title>訂單確認</title>
    <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
    <LINK REL=stylesheet HREF="ecom.css" TYPE="text/css">
</head>

<body topmargin="0">

<!--#INCLUDE FILE = "include/toolbar.asp" -->
<br>
<table border="0" width="720" align="center">
      <tr>
      <td width="720" >
			<table border="0"  width="600"  align="center">
			   <tr>
					<td align="middle" bgColor=<%=tdcolor4%> colSpan=4" width="600" height=25>
					<p align="center"><b>訂單確認</b></p>
					</td>
				</tr>
			  <tr bgColor=<%=thcolor4%>>
			    <td width="100"><font color="#000000">商品名稱</font></td>
			    <td width="200"><font color="#000000">數量</font></td>
			    <td width="100"><font color="#000000">單價</font></td>
			    <td width="200"><font color="#000000">小計</font></td>
			  </tr>
	                <% For i = 1 to recordSet.RecordCount
                            If recordSet.EOF then exit for
	                    %>
	                    <tr>
	                    <td bgColor=<%=tdleft4%> width="100"><% =recordSet("name").value %></td>
	                    <td bgColor=<%=tdleft4%> width="200"><% =recordSet("quantity").value %></td>
						<% if pay_currency="美金" then %>
							<td bgColor=<%=tdleft4%> width="100">$<% =recordSet("list_price").value %></td> 
						<%else %>
							<td bgColor=<%=tdleft4%> width="100">¥<% =recordSet("rmb_price").value %></td> 
						<%end if%>
	                    <%
	                      quantity=recordSet("quantity").value
	                      list_price=recordSet("list_price").value
	                      
	                      'Response.Write list_price
	                      'Response.End 
	                      'a=formatnumber(list_price,2)
	                      'Response.Write a
	                      'Response.End 
	                      if subtotal_price<> -1 then subtotal_price=formatnumber(quantity)*formatnumber(list_price,2)
						  if total_price<>-1 then total_price=total_price+subtotal_price
						  rmb_price=recordSet("rmb_price").value
						  rmbsubtotal_price=formatnumber(quantity)*formatnumber(rmb_price,2)
						  rmbtotal_price=rmbtotal_price+rmbsubtotal_price
						
						  if pay_currency="美金" then                
								if subtotal_price<>-1 then%>  
								   <td bgColor="<%=tdleft4%>">$<% =subtotal_price %></td> 
								<%else %>
								   <td bgColor="<%=tdleft4%>">---</td> 
								<%end if
						 else %>
								<td bgColor="<%=tdleft4%>">¥<% =rmbsubtotal_price %></td> 
						 <%end if%>
							
						  </tr>
	                      <% recordSet.MoveNext%>
	                <% next %>

	                <tr>
						<td width="100">&nbsp;</td>
	                    <td width="200">&nbsp;</td> 
	                    <td bgColor=<%=tdleft4%> width="100">合計</td>
	                    <% if pay_currency="美金" then %>
							<td bgColor=<%=tdleft4%> width="200">$<% =total_price %></td> 
						<% else %>
							<td bgColor=<%=tdleft4%> width="200">¥<% =rmbtotal_price %></td> 
						<%end if%>
					</tr>
					<tr>
						<td width="100">&nbsp;</td>
	                    <td width="200">&nbsp;</td> 
	                    <td bgColor=<%=tdleft4%> width="100">運費</td>
	                    <% if pay_currency="美金" then %>
							<td bgColor=<%=tdleft4%> width="200">$<% =ship_fee%></td> \
						<% else %>
							<td bgColor=<%=tdleft4%> width="200">¥<% =ship_fee %></td> 
						<%end if%>
						
					</tr>
					<tr>
						<td width="100">&nbsp;</td>
	                    <td width="200">&nbsp;</td> 
	                    <td bgColor=<%=tdleft4%> width="100">總計</td>
	                    <% if pay_currency="美金" then %>
							<td bgColor=<%=tdleft4%> width="200">$<% =(formatnumber(ship_fee)+total_price)%></td> 
						<% else %>
							<td bgColor=<%=tdleft4%> width="200">¥<% =(formatnumber(ship_fee)+rmbtotal_price)%></td> 
						<%end if%>
						
					</tr>
    	</table>
  <%
  
if bill_to_method="儲蓄卡付" then
  
tradesum=cstr(clng((formatnumber(ship_fee)+rmbtotal_price)*100))
'tradesum=cstr(clng(total_price*100))

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人精品影院| 久久久久久久久久久久久女国产乱| 欧美日韩精品三区| 久久综合九色综合欧美就去吻| 日韩毛片视频在线看| 美女免费视频一区二区| 在线精品亚洲一区二区不卡| 国产视频一区在线观看 | 麻豆精品在线看| aaa国产一区| 久久久精品tv| 精品一区二区在线免费观看| 欧美日韩国产a| 一区二区三区在线观看欧美| 成人一区二区三区视频| 欧美精品一区二区三| 午夜精品一区二区三区三上悠亚| 91天堂素人约啪| 欧美激情在线看| 国产高清成人在线| 精品国产乱码久久久久久图片| 日韩av网站在线观看| 在线观看亚洲精品| 一区二区三区在线观看动漫| 99视频一区二区| 成人欧美一区二区三区小说 | 成人深夜福利app| 久久精品亚洲乱码伦伦中文| 精品影视av免费| 日韩一级大片在线观看| 免费久久99精品国产| 欧美男女性生活在线直播观看| av资源站一区| 亚洲日本电影在线| 97aⅴ精品视频一二三区| 综合色中文字幕| 色综合久久中文字幕综合网| 亚洲一区免费视频| 欧美在线小视频| 日本免费新一区视频| 日韩欧美国产1| 国产乱淫av一区二区三区| 久久久精品免费免费| www.亚洲免费av| 亚洲男人天堂一区| 欧美三级电影在线观看| 日韩黄色片在线观看| 日韩欧美国产麻豆| 处破女av一区二区| 一级日本不卡的影视| 欧美一区永久视频免费观看| 久久精品理论片| 国产精品久久777777| 欧美午夜在线一二页| 另类小说视频一区二区| 日本一区二区高清| 欧美在线视频不卡| 国产一区在线看| 一区二区三区四区视频精品免费 | 国内精品国产三级国产a久久| 日韩av不卡一区二区| 精品国产一区二区三区久久影院 | 国产精品一区二区在线观看不卡| 中文字幕一区二区三区在线播放 | 555www色欧美视频| 国产精品小仙女| 一区二区成人在线| 26uuu国产日韩综合| 色欧美88888久久久久久影院| 日韩精品一卡二卡三卡四卡无卡| 国产色产综合色产在线视频| 欧美性一级生活| 国产在线精品一区二区夜色| 亚洲欧美一区二区三区久本道91 | 日本精品免费观看高清观看| 美女看a上一区| 一区二区三区日韩精品视频| 精品久久久久99| 在线视频综合导航| 国产91精品久久久久久久网曝门| 舔着乳尖日韩一区| 国产精品国产馆在线真实露脸| 91精品久久久久久久99蜜桃| 97超碰欧美中文字幕| 久国产精品韩国三级视频| 国产精品乡下勾搭老头1| 视频一区二区三区中文字幕| 一区在线中文字幕| 久久综合视频网| 欧美日本一道本在线视频| 99re这里都是精品| 高清免费成人av| 精品综合免费视频观看| 亚洲123区在线观看| 综合久久综合久久| 中文字幕不卡在线| 26uuu国产电影一区二区| 91精品一区二区三区在线观看| 91在线小视频| 成人黄色国产精品网站大全在线免费观看 | 精品少妇一区二区三区免费观看| 欧美视频第二页| 91国在线观看| 欧洲另类一二三四区| 一本大道久久a久久精品综合| 成人aa视频在线观看| 国产麻豆日韩欧美久久| 国产在线精品免费| 国产精一品亚洲二区在线视频| 美女诱惑一区二区| 日韩高清欧美激情| 免费人成黄页网站在线一区二区| 天天操天天综合网| 日韩专区在线视频| 视频一区视频二区中文| 首页综合国产亚洲丝袜| 天堂av在线一区| 秋霞电影网一区二区| 99热在这里有精品免费| 91免费版在线| 色8久久精品久久久久久蜜| 色婷婷综合久久| 欧美日韩国产高清一区二区| 在线成人午夜影院| 日韩精品专区在线影院重磅| 日韩免费性生活视频播放| 精品1区2区在线观看| 国产亚洲欧美在线| 中文字幕在线观看一区| 亚洲精品视频免费看| 午夜成人免费视频| 久久精品国产色蜜蜜麻豆| 国产老妇另类xxxxx| 99re在线视频这里只有精品| 欧美日韩一区在线观看| 欧美成人vps| 中国色在线观看另类| 亚洲欧美日韩系列| 日韩电影免费在线| 国产成人午夜精品影院观看视频 | 裸体歌舞表演一区二区| 国产一区不卡视频| 99精品国产91久久久久久| 欧美视频第二页| 26uuu精品一区二区| 亚洲欧美日韩中文播放| 捆绑紧缚一区二区三区视频| 成人福利电影精品一区二区在线观看| 日本久久一区二区| 精品国产露脸精彩对白| 一区二区三区中文在线| 国模一区二区三区白浆| 在线观看av不卡| 精品国产欧美一区二区| 伊人性伊人情综合网| 久草在线在线精品观看| 在线免费精品视频| 精品国产第一区二区三区观看体验| 国产精品传媒视频| 美日韩一区二区| 色婷婷综合久久久中文一区二区 | 制服丝袜av成人在线看| 国产无遮挡一区二区三区毛片日本| 亚洲在线视频免费观看| 国产一区二区主播在线| 欧美精品久久久久久久多人混战| 欧美国产精品劲爆| 免费成人在线播放| 在线免费观看日韩欧美| 中文文精品字幕一区二区| 青青草成人在线观看| 在线观看视频一区| 国产精品成人一区二区三区夜夜夜| 另类小说图片综合网| 欧美影片第一页| 亚洲欧美色图小说| 国产sm精品调教视频网站| 欧美一级片在线观看| 一二三区精品视频| 成人av午夜影院| 欧美激情综合在线| 国产一区在线不卡| 欧美精品一区二| 久久精品久久综合| 日韩一区二区三区观看| 爽好久久久欧美精品| 欧美在线免费播放| 亚洲特黄一级片| 91香蕉国产在线观看软件| 久久久久国产精品麻豆ai换脸| 久久国产乱子精品免费女| 日韩一区二区免费在线观看| 亚洲电影激情视频网站| 在线中文字幕不卡| 亚洲综合精品自拍| 中文字幕永久在线不卡| 成人av网站大全| 中文字幕亚洲区| 91视频在线观看免费| 亚洲人成网站在线|