⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 confirmed2.asp

📁 用ASP写的电子购物系统
💻 ASP
📖 第 1 页 / 共 2 页
字号:
							<%'没有美金价格, 输出错误
								if recordset("list_price")="" or isnull(recordset("list_price")) then
									Response.Clear
									errorList="部分商品没有美金价格,不能再海外销售。<br>"
								%>
									<!--#INCLUDE FILE="include/error.asp" -->
								<% 
									Response.End 
									exit for
								end if
								%>
						<%else %>
							<td bgColor=<%=tdleft4%> width="100">¥<% =recordSet("rmb_price").value %></td> 
						<%end if%>
	                    <%
	                      quantity=recordSet("quantity").value
	                      list_price=recordSet("list_price").value
	                      
	                      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>
  </td>
  </tr>
  <tr>
    <td width="720">



       <table width="600" align="center">
		<tr>
          <td bgColor=<%=tdcolor4%> height="28" width="100"><font  color="#0000FF">付款方式:</font></td>
          <td bgColor=<%=tdcolor4%> colspan=4 height="28" ><font color="#000000" ><%=bill_to_method%></font></td>
		</tr>
        <tr>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">收件人姓名:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=ship_to_name%></font></td>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">付款人姓名:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=bill_to_name%></font></td>
        </tr>
        <tr>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">收件人位置:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=ship_to_state%></font></td>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">付款人位置:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=bill_to_state%></font></td>
        </tr>
        <tr>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">收件人城市:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=ship_to_city%></font></td>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">付款人城市:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=bill_to_city%></font></td>
        </tr>
        <tr>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">收件人地址:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=ship_to_street%></font></td>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">付款人地址:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=bill_to_street%></font></td>
        </tr>
        <tr>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">收件人电话:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=ship_to_phone%></font></td>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">付款人电话:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=bill_to_phone%></font></td>
        </tr>
        <tr>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">收件人邮政编码:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=ship_to_zip%></font></td>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">付款人邮政编码:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=bill_to_zip%></font></td>
        </tr>
        <tr>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">收件人Email:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=ship_to_email%></font></td>
          <td bgColor=<%=tdleft4%> height="28" width="100"><font  color="#0000FF">付款人Email:</font></td>
          <td bgColor=<%=tdleft4%> height="28" width="200"><font color="#000000" ><%=bill_to_email%></font></td>
        </tr>
       </table>
        </td>
    </tr>
    <tr>
    <td>
		<table cellpadding=0 cellspacing=0 border=0 width="600" align="center">  
			<tr>  
				<td align="center">         
                <form action="xt_order_add.asp">

                    <input type="hidden" name="ship_to_name"  value="<%=ship_to_name%>">
					<input type="hidden" name="ship_to_street"  value="<%=ship_to_street%>">
					<input type="hidden" name="ship_to_state"  value="<%=ship_to_state%>">
					<input type="hidden" name="ship_to_city"  value="<%=ship_to_city%>">
					<input type="hidden" name="ship_to_zip"  value="<%=ship_to_zip%>">
					<input type="hidden" name="ship_to_phone"  value="<%=ship_to_phone%>">
					<input type="hidden" name="ship_to_email"  value="<%=ship_to_email%>">

					<input type="hidden" name="bill_to_name"  value="<%=bill_to_name%>">
					<input type="hidden" name="bill_to_street"  value="<%=bill_to_street%>">
					<input type="hidden" name="bill_to_state"  value="<%=bill_to_state%>">
					<input type="hidden" name="bill_to_method"  value="<%=bill_to_method%>">
					<input type="hidden" name="bill_to_city"  value="<%=bill_to_city%>">
					<input type="hidden" name="bill_to_zip"  value="<%=bill_to_zip%>">
					<input type="hidden" name="bill_to_phone"  value="<%=bill_to_phone%>">
					<input type="hidden" name="bill_to_email"  value="<%=bill_to_email%>">
					
                                      
                    <input type="hidden" name="note"  value="<%=description%>">
                                        
					<INPUT TYPE="submit" value="确定" id=submit1 name=submit1> 
					<input type="button" value="返回" onclick="javascript:history.back(-1);" id=button1 name=button1>
				</FORM>
				</td>            
			</tr>  

		</table>
	</td>
	</tr>  

</table>

<!--#INCLUDE FILE = "include/footer.asp" -->
</body>
</html>

<%else%>
    <!--#INCLUDE FILE="include/error.asp" -->
<%end if%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -