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

📄 goods_info.asp

📁 设计考虑校园电子商务模式
💻 ASP
字号:
<%
'****************************************************
' 多多校园                      Power by ddtaobao.com
' Email:ddmaster@126.com               OICQ:136465584 
' Web: http://www.ddtaobao.com              作者:多多
' 校园、企业、医院、公司程序定做,系统开发,网站制作!
' Copyright (C) 2007 ddtaobao.com All Rights Reserved
'****************************************************
%>


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>查看商品信息</title>

</head>
<body>

<!--#include file="top.asp"-->
        <%
Dim Sql,Rs,goods_id,user_id
goods_id=SafeRequest(Request.QueryString("goods_id"))
user_id=SafeRequest(Request.QueryString("user_id"))
set rs=server.createobject("adodb.recordset")
sql="select * from dd_goods where goods_id="&request("goods_id")&""
rs.open sql,conn,1,3
Dim goods_name,goods_price,goods_pic,goods_hits,goods_amount,goods_date,AlipayStatus,font,goods_content
goods_id=Rs("goods_id")
user_id=Rs("user_id")
goods_name=Rs("goods_name")
goods_price=Rs("goods_price")
AlipayStatus=Rs("AlipayStatus")
font=Rs("font")
goods_amount=Rs("goods_amount")
goods_date=Rs("goods_date")
goods_pic=Rs("goods_pic")
goods_hits=Rs("goods_hits")
goods_content=Rs("goods_content")
Rs("goods_hits")=Rs("goods_hits")+1
Rs.Update
Rs.close
%>
 <%
Dim Sql1,Rs1
set Rs1=server.CreateObject("adodb.recordset")
Sql1="select * from [dd_user] where user_id="&user_id&""
Rs1.open Sql1,conn,1,1
  %>
<TABLE width=750 border=0 align=center cellpadding="4">
  <TBODY>
    <TR> 
      <TD align="center" vAlign=top>
            
   
<TABLE  cellSpacing=0 cellPadding=0 width=750 
      align=center bgColor=#ffffff border=0>
        <TBODY>
        <TR>
          <TD vAlign=top width=750>
            <TABLE cellSpacing=0 cellPadding=0 width="98%" align=center>
              <TBODY>
              <TR>
                <TD vAlign=center colSpan=3 height=30>
                  <TABLE cellSpacing=0 cellPadding=0 width="97%" align=center 
                  border=0>
                    <TBODY>
                    <TR class=line>
                      <TD colSpan=2 height=3></TD></TR>
                    <TR vAlign=center>
                      <TD colSpan=2 height=13>
                        <DIV align=center><IMG height=13 
                        src="images/top_cp_bj.gif" 
                        width=750></DIV></TD></TR>
                    <TR>
                      <TD  vAlign=top align=middle width="80%" 
                      height=18><SPAN style="FONT-SIZE: 10pt"><B><%=goods_name%></B></SPAN></TD>
                      <TD vAlign=top noWrap align=right 
                        width="17%">商品ID号:<%=goods_id%>&nbsp;&nbsp;</TD></TR>
                    <TR>
                      <TD vAlign=top colSpan=2 height=10>
                        <DIV align=center><IMG height=3 
                        src="images/top_cp_bj2.gif" 
                        width=730></DIV></TD></TR></TBODY></TABLE></TD></TR>
              <TR>
                <TD vAlign=top align=middle width=261>
                  <TABLE cellSpacing=0 cellPadding=0 width=244 border=0>
                    <TBODY>
                    <TR>
                      <TD width=22><IMG height=22 
                        src="images/jiao-1.gif" 
                        width=22></TD>
                      <TD width=200 
                      background=images/jiao-l1.gif> </TD>
                      <TD width=22><IMG height=22 
                        src="images/jiao-2.gif" 
                        width=22></TD></TR>
                    <TR>
                      <TD 
                      background=images/jiao-l2.gif> </TD>
                      <TD vAlign=center align=right><a href=<%=goods_pic%> target=_blank>
					<IMG src="<%=goods_pic%>" width="200" height="200" 
                  border=0></a></TD>
                      <TD 
                      background=images/jiao-l3.gif> </TD></TR>
                    <TR>
                      <TD><IMG height=22 
                        src="images/jiao-3.gif" 
                        width=22></TD>
                      <TD align=right 
                      background=images/jiao-l4.gif>&nbsp; 
                      </TD>
                      <TD><IMG height=22 
                        src="images/jiao-4.gif" 
                        width=22></TD></TR></TBODY></TABLE> </TD>
                <TD vAlign=top align=middle width=293>
                  <TABLE cellSpacing=0 cellPadding=0 width=279 border=0>
                    <TBODY>
                    <TR>
                      <TD vAlign=center height=25>商品人气:<font class=font><%=goods_hits%></font>次</TD></TR>
                    <TR>
                      <TD vAlign=center height=25>商品价格:<font class=font><%=goods_price%></font>元</TD></TR>
                          <TR>
                      <TD vAlign=center height=25>商品数量:<font class=font><%=goods_amount%></font>个</TD></TR>
                       <TR>
                      <TD vAlign=center height=25>上架时间:<font class=font><%=goods_date%></font></TD></TR>
                         <TR>
                      <TD vAlign=center height=25>推荐程度:<font class=font><% 
		  Select Case font
                Case "1"
                response.write "<img src=images/good.gif border=0 alt=推荐商品>"
                case "0"
                    response.write "不是推荐商品"
                 End Select
		   %></font></TD></TR>
                       <TR>
                      <TD vAlign=center height=25>联系电话:<font class=font><%=rs1("shop_phone")%></font></TD></TR>
                       <TR>
                      <TD vAlign=center height=25>联系地址:<font class=font><%=rs1("shop_address")%></font></TD></TR>
                       <TR>
                      <TD vAlign=center height=25>联系OICQ:<font class=font><%=rs1("user_qq")%></font></TD></TR>
                    </TBODY></TABLE>
                  <DIV align=center><table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
									<tr>
										<td colspan="3"><%if AlipayStatus=0 then
									%><font color=""#008000"">不支持支付宝</font></td>
									</tr>
									<tr>
										<td align="middle" width="9%">
									<%
	  elseif AlipayStatus="1" then
	  %><img alt=支付宝付款 src=Images/AlipayStatus.gif border=0 width=16 height=16></td>
									<td class="td" align="left" width="76%">此宝贝支持<a href="http://www.taobao.com/strade/strade.php"><font color="#FF0000">支付宝</font></a>,网上汇款免手续费。收货满意后卖家才能拿钱,货款都安全! 
	 
									</td>
									<td class="td" align="left" width="14%"><a href="https://www.alipay.com/payto:<%=rs1("user_email")%>?subject=<%=goods_name%>&body=<%=goods_content%>&price=<%=goods_price%>&number=<%=goods_amount%>" target="_blank"><img border="0" src="images/zhifu.jpg" width="58" height="22"></a><%
	  end if	  
	  %> </td>
									</tr>
								</table>
</DIV></TD>
                <TD vAlign=top width=189>
                  <TABLE cellSpacing=0 cellPadding=0 width=172 align=center>
                    <TBODY>
                    <TR>
                      <TD vAlign=center align=middle 
                      background=images/user_cp_1.gif 
                      height=20><B>卖家信息</B></TD></TR>
                    <TR>
                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif 
                      height=22 align="center">&nbsp;<A style="FONT-WEIGHT: bold" 
                        href="shop_info.asp?user_id=<%=user_id%>" ><FONT 
                    color=#ff6600><%=rs1("shop_name")%></FONT></A></TD></TR>
                         <TR>
                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif 
                      height=22>&nbsp;店铺掌柜:<%=rs1("user_name")%><img border="0" src="images/yingyezhizhao.gif" alt=已经对该店铺审核></TD></TR>
                      <TR>
                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif 
                      height=22>&nbsp;在线交谈: <a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=<%=rs1("user_qq")%>&Site=<%=homepage%>&Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:<%=rs1("user_qq")%>:16 alt="点击这里给我发消息"></a></TD></TR>
                    <TR>

                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif 
                      height=22>&nbsp;商家星级:<%=top1(rs1("star"))%></TD></TR>
                    <TR>
                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif 
                      height=22>&nbsp;注册日期:<%=rs1("user_date")%></TD></TR>
                    <TR>
                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif>
                        <HR align=center width="90%" color=#cccccc noShade 
                        SIZE=1>
                      </TD></TR>
                    <TR>
                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif 
                      height=22 align="center">&nbsp;<A 
                        href="userinfo.asp?user_id=<%=user_id%>"  target=_blank>查看卖家基本信息</A></TD></TR>
                    <TR>
                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif 
                      height=22 align="center">&nbsp;<A 
                        href="shop_info.asp?user_id=<%=user_id%>" 
                        target=_blank>查看卖家的其他物品</A></TD></TR>
                    <TR>
                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif 
                      height=22 align="center">&nbsp;<A 
                        href="shop_info.asp?user_id=<%=user_id%>" 
                        target=_blank>访问卖家的网络店铺</A></TD></TR>
                    <TR>
                      <TD vAlign=bottom 
                      background=images/user_cp_2.gif 
                      height=5></TD></TR>
                    <TR>
                      <TD style="WORD-BREAK: break-all" vAlign=top><IMG 
                        height=6 
                        src="images/user_cp_3.gif" 
                        width=172></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=5 width="98%" align=center 
            bgColor=#f1f1f1>
              <TBODY>
              <TR>
                <TD>&nbsp;&nbsp;<FONT 
                  color=#ff6600>免责声明:</FONT>该商品信息的合法性和真实性由商家“ <A 
                  href="shop_info.asp?user_id=<%=user_id%>" 
                  target=_blank><%=rs1("shop_name")%></A> 
                  ”负责。<%=ddtaobaoname%>不提供任何保证,并不承担任何法律责任。您的购买行为是直接与该商品销售商“ <A 
                  href="shop_info.asp?user_id=<%=user_id%>" 
                  target=_blank><%=rs1("shop_name")%></A> ”发生的,与<%=ddtaobaoname%>无关。<%=ddtaobaoname%>友情提醒:为保障您的利益,建议使用“ 
                  <a href="http://www.taobao.com/strade/strade.php"><font color="#FF0000">支付宝</font></a> 
                  ”交易,经过实名认证的卖家会有更高的诚信度。 </TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
              <TBODY>
              <TR>
                <TD> <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD class=line></TD></TR>
                    <TR>
                      <TD class=txt_14 vAlign=center bgColor=#fffff5 
                        height=25><B>&nbsp;<FONT 
                    size=3>&nbsp;商品描述</FONT></B></TD></TR></TBODY></TABLE><BR>
                  <TABLE cellSpacing=0 cellPadding=0 width=700 align=center 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD><%=goods_content%></TD></TR></TBODY></TABLE></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>               </TD>
    </TR>
  </TBODY>
</TABLE>
<!--#include file="bottom.asp"--> 
</body>
</html>

⌨️ 快捷键说明

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