📄 ment2.asp
字号:
<!--#include file="Inc/Conn.asp" -->
<%
'=================================
' 良精科技企业管理系统
' www.liangjing.net
' copyright(c)2001-2008 良精科技
'=================================
%>
<%
Id=Session("username")
ProductList = Session("ProductList")
Products = Split(Request("cpbm"), ", ")
For I=0 To UBound(Products)
PutToShopBag Products(I), ProductList
Next
Session("ProductList") = ProductList
ProductList = Session("ProductList")
If Len(ProductList) =0 Then
Response.Redirect "Product.asp"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql = "Select * From Hover_Product "
sql = sql & " Where Product_Id In (" & ProductList & ")"
rs.open sql,conn,3,3
%>
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Skins/Default/common.css" rel="stylesheet" type="text/css">
<TITLE>商品结算</TITLE>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<br>
<FORM name="FORM1" action=ment3.asp method=post>
<input type=hidden Name="username" Value="<%=Request.form("username")%>" >
<input type=hidden Name="Comane" Value="<%=Request.form("Comane")%>" >
<input type=hidden Name="Somane" Value="<%=Request.form("Somane")%>" >
<input type=hidden Name="Add" Value="<%=Request.form("Add")%>" >
<input type=hidden Name="Zip" Value="<%=Request.form("Zip")%>" >
<input type=hidden Name="Phone" Value="<%=Request.form("Phone")%>" >
<input type=hidden Name="Fox" Value="<%=Request.form("Fox")%>" >
<input type=hidden Name="Email" Value="<%=Request.form("Email")%>" >
<TABLE cellSpacing=0 cellPadding=0 width=100%>
<TR>
<TD align=middle width="100%">
<div align="center">
<center>
<TABLE width=680 border="0" align="center" cellpadding="0" cellSpacing=0>
<TR bgColor=#5EAFD7>
<TD height="22" colSpan=2 bgcolor="#F0F5F9"><div align="center">购物结算--(第二步)购物信息及付款方式</div></TD>
</TR>
<tr bgcolor="#F0FCFF">
<TD height=22 align="right" colspan="2">
<div align="center"><br>
<table border="0" cellspacing="1" width="580" height="61" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr bgcolor="#3399CC">
<td align="center" width="117" height="22" bgcolor="#F0F5F9">商品编号</td>
<td align="center" width="335" height="22" bgcolor="#F0F5F9">商品名称</td>
<td align="center" width="118" height="22" bgcolor="#F0F5F9">商品数量</td>
</tr>
<%
Sum = 0
While Not rs.EOF
Quatity = CInt( Request( "Q_" & rs("Product_Id")) )
If Quatity <= 0 Then
Quatity = CInt( Session(rs("Product_Id")) )
If Quatity <= 0 Then Quatity = 1
End If
Session(rs("Product_Id")) = Quatity
Sum = Sum + ccur(rs("P_NewPrice")) * Quatity
%>
<tr>
<td align="center" width="117" height="23" bgcolor="#eaeaea"><%=rs("Product_ID")%></td>
<td align="center" width="335" height="23" bgcolor="#eaeaea"><%=rs("Title")%></td>
<td align="center" width="118" height="23" bgcolor="#eaeaea"><%=Quatity%></td>
</tr>
<%
rs.MoveNext
Wend
%>
<tr>
<td Align="Right" ColSpan="3" height="22" bgcolor="#eaeaea"> </td>
</tr>
</table>
</div><blockquote></blockquote>
</TD>
</tr>
<!-- <tr>
<TD width=230 bgcolor=#F0FCFF height=7>我们提供三家银行的账号供您汇款,请您选择:</TD>
<TD width=450 height=22 bgcolor="#F0FCFF">
<select size="1" name="Pays" style="font-size: 14px">
<option>招商银行一卡通</option>
<option>交通银行太平洋卡</option>
<option>建设银行龙卡储蓄卡</option>
</select>
</TD>
</tr> -->
<!-- <tr>
<TD width=230 bgcolor=#F0FCFF height=7>订单备注:<p> </p></TD>
<TD width=450 height=22 bgcolor="#F0FCFF"><textarea rows="6" name="Remark" cols="45" style="font-size: 10pt"></textarea></TD>
</tr> -->
<TR bgColor=#F0FCFF>
<TD height="22" colSpan=2><DIV align=center>
<input type="button" value="上一步" name="B4" onClick="javascript:window.history.go(-1)" class="button">
<INPUT type="submit" size=3 value="下一步" name="Submit2" class="button">
</DIV></TD>
</TR>
</TABLE>
</center>
</div>
</TD>
</TR>
</TABLE>
<BR></FORM>
</BODY></HTML>
<%
rs.close
conn.close
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -