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

📄 shjdingdan.asp

📁 商业网站开发有源代码可以运行
💻 ASP
📖 第 1 页 / 共 2 页
字号:
<!--#include file="conn.asp"-->
<%if request.cookies("songxf")("shjianame")="" then
response.write "<script language=javascript>alert('对不起,您还没有登陆!');history.go(-1);</script>"
response.End
end if%>
<!--#include file="webconfig.asp"-->
<html>
<head>
<title><%=webname%>--订单详细资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/css.css" rel="stylesheet" type="text/css">
</head>
<style>
td{font-size:9pt;line-height:120%;color:#353535} 
body{font-size:9pt;line-height:120%} 

a:link          { color: #000000; text-decoration: none }
a:visited       { color: #000000; text-decoration: none }
a:active        { color: #000000; text-decoration: none }
a:hover         { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
<body leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%dim dingdan
dingdan=request.QueryString("dan")
id=request.QueryString("sjid")
username=request.QueryString("username")
set rs=server.CreateObject("adodb.recordset")
rs.open "select shop_books.bookid,shop_books.bookname,shop_books.shichangjia,shop_books.huiyuanjia,shop_action.actiondate,shop_action.shousex,shop_action.danjia,shop_action.feiyong,shop_action.fapiao,shop_action.userzhenshiname,shop_action.shouhuoname,shop_action.dingdan,shop_action.youbian,shop_action.liuyan,shop_action.zhifufangshi,shop_action.songhuofangshi,shop_action.zhuangtai,shop_action.zonger,shop_action.useremail,shop_action.usertel,shop_action.shouhuodizhi,shop_action.bookcount from shop_books inner join shop_action on shop_books.bookid=shop_action.bookid where shop_action.shjiaid="&id&" and dingdan='"&dingdan&"' ",conn,1,1
if rs.eof and rs.bof then
response.write "<center>此订单中有商品已被管理员删除,无法进行正确计算。<br>订单取消,请通知管理员或重新下订单!</center>"
response.End
end if
%>
<table width="750" border="0" cellspacing="0" cellpadding="0" align="center" height="374">
  <tr> 
    <td height="10"></td>
  </tr>
  <tr>
    <td> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td rowspan="2"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="12v">
              <tr> 
                <td class="12v" > 
                  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" id="AutoNumber3" height="0" width="100%">
                    <tr> 
                      <td> 
                        <table width="98%" border="0" cellpadding="1" cellspacing="1" bgcolor="#FFCC00" align="center">
                          <tr bgcolor="#FFFFFF"> 
                            <td colspan="2" height="22">&nbsp;&nbsp; 订单号为:<font color="#FF0000"><%=dingdan%></font> 
                              ,详细资料如下:</td>
                          </tr>
                          <tr bgcolor="#FFFFFF"> 
                            <td style='PADDING-LEFT: 10px'>订单状态:</td>
                            <td width="87%"> 
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <form name="form1" method="post" action="saveshjdingdan.asp?dan=<%=dingdan%>&action=save&username=<%=username%>">
                                    <td > 
                                      <%zhuang()%>
                                      <br>
                                      &nbsp;&nbsp;									  
                                      <input type="image" border="0" name="submit" src="images/ddzt.gif" width="84" height="18" >
                                      <font color="#FF0000">这里只有前台用户先选择&quot;用户已经划出款&quot;后,管理员才可以进行后边的操作!</font></td>
                                  </form>
                                </tr>
                              </table>
                            </td>
                          </tr>
                          <tr bgcolor="#FFFFFF"> 
                            <td width="13%" style='PADDING-LEFT: 10px'>商品列表:</td>
                            <td> 
                              <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFCC00">
                                <tr bgcolor="#FFFFEE"> 
                                  <td height="22"> 
                                    <div align="center">商品名称</div>
                                  </td>
                                  <td height="22"> 
                                    <div align="center">订购数量</div>
                                  </td>
                                  <td height="22"> 
                                    <div align="center">会员价格</div>
                                  </td>
                                  <td height="22"> 
                                    <div align="center">金额小计</div>
                                  </td>
                                </tr>
                                <%zongji=0
		do while not rs.eof%>
                                <tr bgcolor="#FFFFFF"> 
                                  <td style='PADDING-LEFT: 5px' height="22"><a href=list.asp?id=<%=rs("bookid")%> target=_blank><%=trim(rs("bookname"))%></a></td>
                                  <td height="22"> 
                                    <div align="center"><%=rs("bookcount")%></div>
                                  </td>
                                  <td height="22"> 
                                    <div align="center"><%=rs("danjia")&"元"%></div>
                                  </td>
                                  <td height="22"> 
                                    <div align="center"><%=rs("zonger")&"元"%></div>
                                  </td>
                                </tr>
                                <%zongji=rs("zonger")+zongji
								feiyong=rs("feiyong")
		rs.movenext
		loop
		rs.movefirst%>
                                <tr bgcolor="#FFFFFF"> 
                                  <td colspan="4" height="22"> 
                                    <div align="right">订单总额:<%=zongji%>元+费用:<%=feiyong%>元  共计:<%=zongji+feiyong%>元 
                                      &nbsp;&nbsp;&nbsp;&nbsp;</div>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
    <%set songxf=server.CreateObject("adodb.recordset")
	songxf.open "select * from shop_action_jp where username='"&request.cookies("songxf")("username")&"' and dingdan='"&dingdan&"'",conn,1,1
	if songxf.recordcount>0 then%>
						  <tr bgcolor="#FFFFFF"> 
                            <td width="13%" style='PADDING-LEFT: 10px'>奖品列表:</td>
                            <td> 
                              <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFCC00">
                                <tr bgcolor="#FFFFEE"> 
                                  <td height="22"> 
                                    <div align="center">奖品名称</div>
                                  </td>
                                  <td height="22"> 
                                    <div align="center">所用积分</div>
                                  </td>
                                </tr>
        <%
	while not songxf.eof%>
          <tr bgcolor="#FFFFFF"> 
                                  <td height="22"> 
                                    <%
	set songxf1=server.CreateObject("adodb.recordset")
	songxf1.open "select * from shop_jiangpin where bookid="&songxf("bookid"),conn,1,1
	if songxf1.recordcount=1 then
	response.write songxf1("bookname")
	end if
	songxf1.close
	set songxf1=nothing%>
                                  </td>
                                  <td align="center" height="22"><%=songxf("jifen")%></td>
        </tr>

⌨️ 快捷键说明

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