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

📄 config_mybasket.asp

📁 鄂尔多斯建站网全站程序(冬季修正版)
💻 ASP
字号:
<%
'**********************************
'版本:Host_free 3.0               *
'官方网站:Http://www.850518.com   *
'技术论坛:Http://forum.850518.com *
'QQ:54455245 (欢迎咨询商业版)     *
'MSN: steven_bass@msn.com         *
'手机:(0)13632779827              *
'mail:wtez@vip.163.com            *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>
<%sub mybasket
sub_number=request("sub_number")
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from basket where sub_number='"&sub_number&"'"
rs.open sql,conn,3,3
%>
<table border="0" cellpadding="0" cellspacing="1" width="100%" bgcolor="#626262">
  <tr>
    <td width="20%" height="20" align="center"><font color="#FFFFFF">商品名称</font></td>
    <td width="20%" height="20" align="center"><font color="#FFFFFF">商品单价</font></td>
    <td width="16%" height="20" align="center"><font color="#FFFFFF">购买数量</font></td>
    <td width="18%" height="20" align="center"><font color="#FFFFFF">商品总额</font></td>
    <td width="26%" height="20" align="center"><font color="#FFFFFF">购买时间</font></td>
  </tr>
  <%do while not rs.eof%>
  <tr>
    <td width="20%" bgcolor="#FFFFFF" height="25" align="center"><%=rs("sort_name")%></td>
    <td width="20%" bgcolor="#FFFFFF" height="25" align="center"><%=rs("price")%>元/件</td>
    <td width="16%" bgcolor="#FFFFFF" height="25" align="center"><%=rs("basket_count")%></td>
    <td width="18%" bgcolor="#FFFFFF" height="25" align="center"><%=rs("basket_count")*rs("price")%>元</td>
    <td width="26%" bgcolor="#FFFFFF" height="25" align="center"><%=rs("basket_time")%></td>
  </tr><%totalcash=totalcash+(rs("basket_count")*rs("price"))%>
  <%rs.movenext         
    loop
    %>  
  <tr>
    <td width="101%" bgcolor="#FFFFFF" height="20" align="left" colspan="5">
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td width="20%">&nbsp;总额:<font color="#FF0000"><%=totalcash%></font>元&nbsp;&nbsp;</td>
          <form method="post" action="cz_pay.asp?sub_number=<%=sub_number%>&action=pay_1">
          <td width="80%"><input type="submit" value="在线支付" name="B3" style="background-color: #FFFFFF"></td>
          </form>
        </tr>
      </table>
    </td>  
  </tr> 
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
    <td width="100%"> </td>
  </tr>
  <tr>
    <td width="100%">
      <p align="center">[ <a href="mylist.asp">返回前页</a> ]</td>  
  </tr>
</table> 
<% 
rs.close 
set rs=nothing 
end sub%>
<%
'**********************************
'版本:Host_free 3.0               *
'官方网站:Http://www.850518.com   *
'技术论坛:Http://forum.850518.com *
'QQ:54455245 (欢迎咨询商业版)     *
'MSN: steven_bass@msn.com         *
'手机:(0)13632779827              *
'mail:wtez@vip.163.com            *
'版权所有,请保留该信息,谢谢合作 *
'**********************************
%>

⌨️ 快捷键说明

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