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

📄 product.asp

📁 网上商场 帐户管理方面     1.实现了购物车和收藏夹的功能。     2.实现了历史订单查询以及即时订单跟踪。     3.实现了个人资料修改,查询以及送货人信息修改和查询。  
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<%dim bookid
bookid=request.QueryString("id")%>
<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>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<!--#include file="top8.asp" -->

<%
dim rs2
set rs2=server.CreateObject("adodb.recordset")
rs2.open "select * from shop_books where bookid="&bookid,conn,1,3
rs2("liulancount")=rs2("liulancount")+1
rs2.update%>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td valign="top" bgcolor="#F7F7F7"> <div align="right"></div>
      <table width="90%" border="0" align="center" cellpadding="2" cellspacing="1">
        <tr> 
          <td colspan="2"  align="left"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="5" colspan="2"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
        <tr>
		
		
		 <TD width=11><IMG height=25 
                        src="images/cruises_top1b.gif" 
                        width=11></TD> 
						 <TD width="22" 
                      background="images/cruises_topbg.gif"><IMG height=15 
                              src="images/icon03.gif" 
                              width=13></TD><TD  background="images/cruises_topbg.gif"><FONT 
                              color=#ffffff><STRONG>商品详细信息</STRONG></FONT></TD>
                      <TD align=right width=18><IMG height=25 
                        src="images/cruises_top2b.gif" 
                        width=18></TD>
						
        </tr>
      </table></td>
              </tr>
              <tr> 
                <td width="27%" height="178" align="center" valign="middle" bgcolor="#FFFFFF"> 
                  <%if trim(rs2("bookpic"))<>"" then
	  response.write "<a href=showpic.asp?id="&request("id")&" target=_blank><img src="&trim(rs2("bookpic"))&" width=160 height=160 border=0 alt=点击查看图片实际尺寸!></a> <br><br><a href=showpic.asp?id="&request("id")&" target=_blank><img src='images/piczoom.gif'  border='0'></a> "
	  else
	  response.Write "<img src=images/emptybook2.gif  alt=此商品暂时没有图片!> <br><br>"
	  end if%>
                  <br> </td>
                <td width="73%" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
                    <tr> 
                      <td width="69%" rowspan="3"> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr> 
                            <td><table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
                                <tr> 
                                  <td><font color="#B21C2C">◆&nbsp;</font> 产品名:<b><%=trim(rs2("bookname"))%></b></td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr> 
                            <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
                                <tr> 
                                  <td> <font color="#B21C2C">◆&nbsp; </font> 品 牌:<%=trim(rs2("bookzz"))%></td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr> 
                            <td> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
                                <tr> 
                                  <td><font color="#B21C2C">◆&nbsp; </font> 市场价:<%=formatnumber(rs2("shichangjia"),2)%>元</td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr> 
                            <td> <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
                                <tr> 
                                  <td> <font color="#B21C2C">◆</font> &nbsp;折 扣:<%response.write rs2("dazhe")*100&".00%"%> </td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr> 
                            <td><table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
                                <tr> 
                                  <td> <font color="#B21C2C">◆</font> &nbsp;会员价:<font color=#FF3300><%=formatnumber(rs2("huiyuanjia"),2)%><font color="#FF0000">元</font></font></td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr> 
                            <td><table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
                                <tr> 
                                  <td><font color="#B21C2C">◆</font> &nbsp;节 省:<%=formatnumber(round(rs2("shichangjia")-rs2("huiyuanjia"),2),2)%>元</td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr> 
                            <td align="center"><table width="80%" border="0" align="left">
                                <tr> 
                                  <td width="2%">&nbsp;</td>
                                  <td width="29%"> <INPUT  onClick="javascript:window.open('gouwu.asp?id=<%=bookid%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  src="images/buy.gif" type=image value=购买 name=Submit2232> 
                                  </td>
                                  <td width="31%"><INPUT  onClick="javascript:window.open('shoucang.asp?id=<%=bookid%>&action=add ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;"  src="images/love.gif" type=image value=收藏 name=Submit223> 
                                  </td>
                                  <td width="38%"><INPUT name=onlyone  type=image id="onlyone"  src="images/tt.gif"  onClick="javascript:window.open('onlyone.asp?id=<%=trim(rs2("bookname"))%> ','','width=632,height=388,toolbar=no, status=no, menubar=no, resizable=yes, scrollbars=yes');return false;" value=团体采购></td>
                                </tr>
                              </table>
                      
                              
                            </td>
                          </tr>
                        </table></td>
                      <td width="31%" align="center" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td bgcolor="#efefef"> <!--#include file="userinfo.asp"--> </td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr> 
                      <td align="center" valign="top">&nbsp;</td>
                    </tr>
                    <tr> 
                      <td align="center" valign="top">&nbsp;</td>
                    </tr>
                  </table></td>
              </tr>
              <tr> 
                <td height="35"  colspan="2"  bgcolor="#FFFFFF">&nbsp;&gt;&gt;&nbsp;若您有任何疑问,欢迎拨打全国咨询热线:<strong>0792-8360263</strong></td>
              </tr>
              <tr align="left" > 
                <td  colspan="2"  bgcolor="#FFFFFF"> <table width="100%" border="0">
                    <tr> 
                      <td width="98%" height="20"> <%if rs2("bookzz")<>"" then
		response.write "<form name=searchbookzz method=post action=research.asp>"
		response.write "<div ><input type=hidden name=searchkey value="&trim(rs2("bookzz"))&"<input type=hidden name=selectaction value=2>"
		response.write "&gt;&gt;&nbsp;<a href=research.asp?action=2&searchkey="&trim(rs2("bookzz"))&" target=_blank>查看更多关于<font color=red>"&trim(rs2("bookzz"))&"</font>的产品,请点击此处</a></div></form>"
		end if%> </td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td colspan="2"  align="left"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
            <tr>
              <TD width=11><IMG height=25 
                        src="images/cruises_top1b.gif" 
                        width=11></TD>
              <TD width="22" 
                      background="images/cruises_topbg.gif"><IMG height=15 
                              src="images/icon03.gif" 
                              width=13></TD>
              <TD  background="images/cruises_topbg.gif"><FONT 
                              color=#ffffff><STRONG>产品详细介绍</STRONG></FONT></TD>
              <TD align=right width=18><IMG height=25 
                        src="images/cruises_top2b.gif" 
                        width=18></TD>
            </tr>
          </table>
            <table width="100%" border="0">
              <tr> 
                <td width="2%">&nbsp;</td>
                <td width="98%"> <%if rs2("bookcontent")<>"" then
		  response.write "<table width=19 height=4 border=0 cellpadding=0 cellspacing=0><tr><td height=4></td></tr></table>"&trim(rs2("bookcontent")&"<table width=19 height=6 border=0 cellpadding=0 cellspacing=0><tr><td height=6></td></tr></table>")
		  end if
		  %> </td>
              </tr>
          </table></td>
        </tr>
        <tr> 
          <td colspan="2"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
            <tr>
              <TD width=11><IMG height=25 
                        src="images/cruises_top1b.gif" 
                        width=11></TD>
              <TD width="22" 
                      background="images/cruises_topbg.gif"><IMG height=15 
                              src="images/icon03.gif" 
                              width=13></TD>
              <TD  background="images/cruises_topbg.gif"><FONT 
                              color=#ffffff><STRONG>商家特别提示</STRONG></FONT></TD>
              <TD align=right width=18><IMG height=25 
                        src="images/cruises_top2b.gif" 
                        width=18></TD>
            </tr>
          </table>
          <table width="100%" border="0">
              <tr> 
                <td width="2%">&nbsp;</td>
                <td width="98%"><strong>如因产品质量问题(非人为损坏,机器无划伤),在货到7天内可免费退换.保修一年.</strong></td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
              <tr>
                <TD width=11><IMG height=25 
                        src="images/cruises_top1b.gif" 
                        width=11></TD>
                <TD width="22" 
                      background="images/cruises_topbg.gif"><IMG height=15 
                              src="images/icon03.gif" 
                              width=13></TD>
                <TD  background="images/cruises_topbg.gif"><FONT 
                              color=#ffffff><STRONG>配送信息</STRONG></FONT></TD>
                <TD align=right width=18><IMG height=25 
                        src="images/cruises_top2b.gif" 
                        width=18></TD>
              </tr>
            </table>
            <table width="100%" border="0">
              <tr> 
                <td width="2%">&nbsp;</td>
                <td width="98%"> <img src="images/oa333.gif" width="8" height="8"> 送货上门(仅限本市区内) 
                  <br>
                 &nbsp;&nbsp;送货费:10元<br>
                  &nbsp;&nbsp;送达时间:当天 
                  <p> <img src="images/oa333.gif" width="8" height="8"> 邮政包裹 <br>
                    &nbsp;&nbsp;送货费:10元<br>
                   &nbsp;&nbsp;送达时间:款到确认后5 - 7个工作日内送达 </p>
                  <p> <img src="images/oa333.gif" width="8" height="8"> EMS <br>
                  &nbsp;&nbsp;送货费:40元<br>
                    &nbsp;&nbsp;送达时间:款到确认后2 - 3个工作日内送达 <br>
                  </p> </td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" >
              <tr>
                <TD width=11><IMG height=25 
                        src="images/cruises_top1b.gif" 
                        width=11></TD>
                <TD width="22" 
                      background="images/cruises_topbg.gif"><IMG height=15 
                              src="images/icon03.gif" 
                              width=13></TD>
                <TD  background="images/cruises_topbg.gif"><FONT 
                              color=#ffffff><STRONG>支付信息</STRONG></FONT></TD>
                <TD align=right width=18><IMG height=25 
                        src="images/cruises_top2b.gif" 
                        width=18></TD>
              </tr>
            </table>
            <table width="100%" border="0">
              <tr> 
                <td width="2%">&nbsp;</td>
                <td width="98%"> <img src="images/oa333.gif" width="8" height="8"> 
                  货到付款(仅限本市区内)<br>
                  <strong>注:本公司送货人员上门之后,当面结清货款。</strong><br>
                  <br>
                  <img src="images/oa333.gif" width="8" height="8"> 邮局汇款<br>
                  汇款地址:福建厦门翔安新店长远路19号<br>
                  收 款 人:宋青元<br>
                    邮政编码:361102<br>
                    <strong>注:请务必在&quot;汇款人简短附言&quot;中注明订单号或收货人详细信息和订购商品。 </strong></p>
                  <p><img src="images/oa333.gif" width="8" height="8"> 工商银行灵通卡<br>
                    卡号:9558 8214 0200 0574841<br>
                    户名:洪剑飞<br>
                    <strong>注:汇款后请及时通知,我们好发货</strong></p>
                </td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td height="10" valign="top" bgcolor="#F7F7F7">&nbsp;</td>
  </tr>
</table>
<!--#include file="service.asp"-->

</body>
</html>
<%sub pingji()
dim xx
if rs2("pingjizong")>0 and rs2("pingji")>0 then
xx=rs2("pingjizong")\rs2("pingji")
else
xx=0
end if
response.write "<img src=images/pingji/"&xx&".gif alt=评论星级>"
end sub
%>

⌨️ 快捷键说明

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