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

📄 shop_view.asp

📁 该软件是帮助大学生更好的生活
💻 ASP
字号:
<%@language=vbscript codepage=936 %>
<%
option explicit
response.buffer=true
%>
<!-- #include file="inc/conn.asp" -->
<!--#include file="inc/Conn_User.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/func.asp"-->

<!-- #include file="inc_shop/config_shop.asp" -->
<%
id=trim(request.querystring("id"))
if not(isnumeric(id)) then
  response.redirect "shop.asp"
  response.end
end if
%>
<!-- #include file="inc_shop/jk_ubb.asp" -->
<!-- #include file="inc_shop/config_review.asp" -->
<%
dim name,remark_1,remark_2,price_1,price_2,bigimg,serial,brand,stock,isgood,counter,buy_counter,down_url,down_remark '--JK
dim strChannel,sqlChannel,rsChannel,ChannelUrl,ChannelName
dim strFileName,MaxPerPage,totalPut,CurrentPage,TotalPages
dim BeginTime,EndTime,founderr, errmsg
dim PageTitle,strPath,strPageTitle
dim SkinID,ClassID,AnnounceCount
dim UserGuestName,UserType,UserSex,UserEmail,UserHomepage,UserOicq,UserIcq,UserMsn
dim WriteName,WriteType,WriteSex,WriteEmail,WriteOicq,WriteIcq,WriteMsn,WriteHomepage
dim WriteFace,WriteImages,WriteTitle,WriteContent,SaveEdit,SaveEditId
dim GuestType,LoginName,AdminReplyContent
dim SubmitType,GuestPath,TitleName,keyword


SkinID=0

strPath= "&nbsp;您现在的位置:&nbsp;<a href='" & SiteUrl & "'>" & SiteName & "</a>"
strPageTitle= SiteTitle

BeginTime=Timer
ClassID=0
pagetitle=pagetitle & "查看产品资料"
sql="select * from product where hidden and id="&id
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,3
if rs.eof and rs.bof then
  rs.close:set rs=nothing
  closeconn
  response.redirect "shop.asp"
  response.end
end if
cid=rs("c_id"):sid=rs("s_id")
name=rs("name")
remark_1=rs("remark_1")
remark_2=rs("remark_2")
price_1=rs("price_1")
price_2=rs("price_2")
down_url=rs("down_url")
down_remark=rs("down_remark")
bigimg=rs("bigimg")
serial=rs("serial")
brand=rs("brand")
stock=rs("stock")
isgood=rs("isgood")
counter=rs("counter")
buy_counter=rs("buy_counter")
rs("counter")=rs("counter")+1
rs.update
rs.close:set rs=nothing
%>
<html>
<head>
<title><%=strPageTitle & " >> " & PageTitle%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--#include file="inc/Skin_CSS.asp"-->
<%call MenuJS()%>
</head>
<body <%=Body_Label%> onmousemove='HideMenu()'>
<!--#include file="top.asp"-->

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="border2">
  <tr> 
    <td width="192" align="left" valign="top" class="td_left">
    <%
	  call shop_sort()
	  call shop_left()
	  %>    </td>
    <td width="591" valign="top" style='padding-top:10px'> 
      <%
w_h=" height="&web_var(web_shop,6)
%>

<table width='100%' border=0 cellpadding=0 cellspacing=0>
<tr align=center>
<td width='40%'><a href="<%=url_true(upload_file,bigimg)%>" target=_blank><img src='<%=url_true(upload_file,bigimg)%>' border=0 <%=w_h%>></a></td>
<td width='60%'>
  <table border=0 width='96%'>
  <tr><td>产品名称:<font color=006600><b><%response.write name%></b></font></td></tr>
  <tr><td>产品品牌:<%response.write brand%></td></tr>
  <tr><td>产品编号:<%response.write serial%></td></tr>
  <tr><td>市场价格:<font color=gray><%response.write pu&price_1%></font></td></tr>
  <tr><td>会员价格:<font color=red><%response.write pu&"<u>"&price_2%></u></font></td></tr>
  <tr><td>产品库存:<font color=aray><%response.write stock%></font></td></tr>
  <tr><td>产品人气:浏览&nbsp;<font class=red_4><%response.write counter%>&nbsp;次</font>&nbsp;&nbsp;订购&nbsp;<font class=red><%response.write buy_counter%></font>&nbsp;次</td></tr>
  <tr><td align=center><a href='shop_bag.asp?id=<%response.write id%>'><img align=absMiddle src='images/buy.gif' border=0></a></td></tr>
  </table>
</td></tr>
<tr><td colspan=2 height=10></td></tr>
<tr>
 <td height="1" colspan=2>
   <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr> 
      <td class='title_bg_center'>产品简介</td>
    </tr>
 </table></td>
</tr>
<tr><td colspan=2><table border=0><tr><td class="shop_txt"><%response.write code_html(remark_1,1,0)%></td></tr></table></td></tr>
<tr><td colspan=2 height=10></td></tr>
<tr>
 <td height="1" class="title_right2" colspan=2>
   <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr> 
      <td class='title_bg_center'>详细说明</td>
    </tr>
 </table></td>
</tr>
<tr><td colspan=2><table border=0><tr><td class="shop_txt"><%response.write code_jk(remark_2)%></td></tr></table></td></tr>
<tr>
 <td height="1" class="tdbg_right2" colspan=2>
   <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr> 
      <td class='title_bg_center'>相关下载</td>
    </tr>
 </table></td>
</tr>
<%if len(down_url)>0 then%>
<td width='20%' align=center>[ <a href='<%response.write down_url%>' target=_blank>点击下载</a> ]</td>
<td width='80%'><%response.write code_html(down_remark,1,0)%></td>
<%else%>
<td></td>
<tr><td colspan=2><font color=gray>(本产品没有相关下载)</font></td></tr>
<%end if%>
<tr><td colspan=2 align=center><% call review_type(n_sort,id,"shop_view.asp?id="&id,1) %></td></tr>
</table>    </td></tr>
</table>

<% call Bottom() %>
</td>
</tr></table>
<% call PopAnnouceWindow(400,300) %>
</body>
</html>
<script>
 mtDropDown.initialize();
</script>
<%
call CloseConn()
%>

⌨️ 快捷键说明

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