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

📄 query.asp

📁 百堂数字点卡程序v1.0后台路径:http://域名/admin 管理帐号和密码为admin 该数字点卡程序系统有以下主要功能: 商品分类、分级
💻 ASP
字号:
<!--#include file="top.asp"-->
<center>
<td width="15" height="3">&nbsp;</td>
<!--#include file="lest.asp"--></td>
<td width="15" height="30">&nbsp;</td>
<td width="760" valign="top" align="left">
<div align="center">
<table border="0" width="90%" cellspacing="0" cellpadding="0" height="5">
<tr>
<td width="630"  height="18" align="center"><b><br>
<font size="3" color="#339933">订单交易状态</font></b><p align="left"><b>
<font size="3" color="#FF0000">注:</font>会员可通过会员助手里的购卡记录查询</b></td>
</tr>
<tr>
<td width="100%">
<table border="0" width="100%" cellspacing="1" height="121">
<tr>
<td width="100%" bgcolor="#FFFFFF">订单号为<%
		strTemp=trim(request("sub_number"))
        sub_number=srequest(strTemp,0)
        response.write "<font color=red>"
        response.write sub_number
        response.write "</font>"
        response.write "<br>"
        sql="select * from sub where sub_number='"&sub_number&"'"
          set rs=server.createobject("adodb.recordset")
          rs.open sql,conn,3,3
          if rs.eof then
              response.write "没有此订单信息,请确认您的订单号输入是否正确"
          elseif rs("sub_payok")=false then
                  response.write "此订单未付款或银行漏单,请与管理员联系,谢谢合作!"
              else
                  response.write "此订单款已收到,卡号通过浏览器显示出来,如果未能显示的,请到您的邮箱里查询或与管理员联系,谢谢合作!"
              %>          

<table border="1" width="100%" cellspacing="0" bordercolorlight="#339933" cellpadding="0" bordercolordark="#FFFFFF" height="96">
<tr>
<td width="20%" bgcolor="#339933" align="center"><b><font color="#FFFFFF">商品编号</font></b></td>
<td width="20%" bgcolor="#339933" align="center"><b><font color="#FFFFFF">商品名称</font></b></td>
<td width="20%" bgcolor="#339933" align="center"><b><font color="#FFFFFF">数量</font></b></td>
<td width="20%" bgcolor="#339933" align="center"><b><font color="#FFFFFF">单价</font></b></td>
<td width="20%" bgcolor="#339933" align="center"><b><font color="#FFFFFF">合计</font></b></td>
</tr>
<%
                   do while not rs.eof%>
<tr>
<td width="20%"><%=rs("hw_id")%></td>
<td width="20%"><%=rs("hw_name")%></td>
<td width="20%"><%=rs("hw_count")%></td>
<td width="20%"><%=rs("hw_cash")%>元</td>
<td width="20%"><%=round(rs("sub_totalcash"),2)%>元</td>
</tr>
<%totalcash=totalcash+rs("sub_totalcash")%>
            <%rs.movenext
            loop

            %>
<tr>
<td width="80%" colspan="4"><b>合计</b></td>
<td width="20%"><font color="red"><%=round(totalcash,2)%>元</font></td>
</tr>
</table>      
          <%
          end if
          rs.close
          %></td>
</tr>
</table>
</td>
</tr>
<center>
<tr>
<td width="100%"></td>
</tr>
</table>
</div>
</center></td>
</tr>
</table>
<!--#include file="copy.asp"-->

⌨️ 快捷键说明

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