📄 payment2.asp
字号:
<!--#include file="title.asp"--><meta name=keywords content="诚信商店,血饮狂刀,Clanboo,lanboo,金统联,webmaster@xytime.com,jsbuy.com,cebuy.com,王星亮,完美商店,超级商店,商城,冷面">
<script language=Javascript>
<!--
function onChange(i){
childSort=document.all("child" + i);
//theTd=document.all("td" + i);
if(childSort.style.display=="none"){
// theTd.bgcolor="#ffffff";
childSort.style.display="";}
else{
// theTd.bgcolor="#000000";
childSort.style.display="none";}
}
//-->
</script>
<%
customerName=Request("customerName")
address=Request("address")
zipcode=Request("code")
phone=Request("phone")
email=Request("email")
payment=Request("payment")
remark=Request("remark")
int_mbrID=request("int_mbrID")
%>
<table width=500 align=center>
<tr><td>
<form name=form1 action='payment3.asp' method=post>
<div align="center">
<center>
<table border="1" cellpadding="2" cellspacing="0" width="99%" style="border-collapse: collapse; border-color: #a5cede" bordercolor="#a5cede">
<TR bgColor=#FF6D00>
<TD colSpan=2 height="24" bgcolor="#a5cede">
<p align="center">购物结算--(第二步)确认订单信息</p>
</TD>
</TR>
</table>
</center>
</div>
<div align="center">
<center>
<table border="1" cellpadding="2" cellspacing="0" width="99%" style="border-collapse: collapse" bordercolor="#a5cede">
<tr bgcolor="#FFEDDF">
<td align="center" width="48" height="21" bgcolor="#a5cede">商品编号</td>
<td align="center" width="147" height="21" bgcolor="#a5cede">商品名称</td>
<td align="center" width="62" height="21" bgcolor="#a5cede">商品价格</td>
<td align="center" width="62" height="21" bgcolor="#a5cede">商品数量</td>
<td align="center" width="61" height="21" bgcolor="#a5cede">总价</td>
</tr>
<%
Sum = 0
' response.write session("quantityList")&"quantityList<br>"
' response.write session("productList")&"productList<br>"
productList=session("quantityList")
If Len(productList) <>0 Then
' response.End
quantityArray = Split(session("quantityList"), ", ")
productArray = Split(session("productList"), ", ")
for i=0 to UBound(productArray)
set rs=server.createobject("adodb.recordset")
sql = "Select * from web_ProcLib where ProcID="&productArray(i)
rs.open sql,conn,1,1
if Not rs.EOF or err then
quantity = quantityArray(i)
' quantity = cstr(quantityArray(i))
' response.write quantity&"quantity"
' response.End
If quantity <= 0 Then quantity = 1
Sum = Sum + rs("A16") * quantity
%>
<tr>
<td align="center" width="48"><%=rs("ProcID")%> </td>
<td align="center" width="147"><%=rs("A5")%> </td>
<td align="center" width="62"><%=rs("A16")%> </td>
<td align="center" width="62"><%=quantity%> </td>
<td align="center" width="61"><%=rs("A16")*quantity%>元 </td>
</tr>
<%
end if
next
rs.close
conn.close
end if
%>
<tr>
<td align="Right" colspan="5" height="24" width="404"><font color="Red">总价格: <%=Sum%> 元<font color="#ABABAB">人民币</font>
</font></td>
</tr>
</table>
</center>
</div>
<div align="center">
<center>
<table border="1" cellpadding="2" cellspacing="0" width="99%" style="border-collapse: collapse" bordercolor="#a5cede">
<TR>
<TD width=78 align="right" nowrap bgcolor="#FFEFDF">
<p align="right">收货人姓名:</p>
</TD>
<TD width=476><%=customerName%>
<input type="hidden" name="customerName" value="<%=customerName%> ">
</TD>
</TR>
<tr>
<TD width=78 align="right" nowrap bgcolor="#FFEFDF">
<p align="right">收货人地址<SPAN
>:</SPAN></p>
</TD>
<TD width=476> <%=address%>
<input type="hidden" name="address" value="<%=address%>">
</TD>
</tr>
<tr>
<TD width=78 align="right" nowrap bgcolor="#FFEFDF">
<p align="right">邮政编码:</p>
</TD>
<TD width=476><%=zipcode%>
<input type="hidden" name="code" value="<%=zipcode%>">
</TD>
</tr>
<tr>
<TD width=78 align="right" nowrap bgcolor="#FFEFDF">
<p align="right">联系电话:</p>
</TD>
<TD width=476>
<p><%=phone%>
<input type="hidden" name="phone" value="<%=phone%>">
</TD>
</tr>
<tr>
<TD width=78 align="right" nowrap bgcolor="#FFEFDF">
<p align="right">电子信箱:</p>
</TD>
<TD width=476><%=email%>
<input type="hidden" name="email" value="<%=email%>">
</TD>
</tr>
<tr>
<TD width=78 align="right" nowrap bgcolor="#FFEFDF">
<p align="right">付款方式:</p>
</TD>
<TD width=476><%=payment%>
<input type="hidden" name="payment" value="<%=payment%>">
</TD>
</tr>
<tr>
<TD width=78 align="right" nowrap bgcolor="#FFEFDF">
<p align="right">备注信息:</p>
</TD>
<TD width=476><%=remark%>
<input type="hidden" name="remark" value="<%=remark%>">
</TD>
</tr>
<TR bgColor=#FFDFC6>
<TD colSpan=2 bgcolor="#a5cede">
<DIV align=center>
<p align="center">
<input type="button" value="上一步" name="B4" onclick="javascript:window.history.go(-1)">
<INPUT class=main type=submit size=3 value="完全正确,递交订单" name=Submit2>
<input type='hidden' name='int_mbrID' value='<%=int_mbrID%>'>
</DIV>
</TD>
</TR>
</TABLE>
</center>
</div>
</form>
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -