📄 view.asp
字号:
<!-- #include file="inc/con_shop.asp" -->
<!-- #include file="inc/con_shop_main.asp" -->
<!-- #include file="../include/jk_ubb.asp" -->
<!-- #include file="../include/jk_review.asp" -->
<!-- #include file="../include/class_com.asp" -->
<%
'****************************************************
' Web: http://www.aouoo.com , http://www.aouoo.net
' Copyright (C) 2007 Aouoo.com All Rights Reserved.
'****************************************************
dim id,c_id,s_id,p_name,p_serial,p_brand,p_stock,p_down_url,p_down_remark,p_remark_1,p_remark_2,p_smallimg,p_bigimg,p_counter,p_buy_counter,p_hidden,p_isgood,p_tim,p_cod,p_keyes,p_price,p_discount,p_is_emoney,p_emoney,p_price_now,s_pic
id=trim(request.querystring("id"))
if not isnumeric(id) then id=0
sql="select top 1 * from shop_product where hidden=1 and id="&id
set rs=joekoe_cms.exec(sql,1)
if rs.eof then
rs.close
call format_redirect("shop.asp")
end if
cid=rs("c_id")
sid=rs("s_id")
p_name=rs("name")
p_serial=rs("serial")
p_brand=rs("brand")
p_stock=rs("stock")
p_down_url=rs("down_url")
p_down_remark=rs("down_remark")
p_remark_1=rs("remark_1")
p_remark_2=rs("remark_2")
p_smallimg=rs("smallimg")
p_bigimg=rs("bigimg")
p_counter=rs("counter")
p_buy_counter=rs("buy_counter")
p_hidden=rs("hidden")
p_isgood=rs("isgood")
p_tim=rs("tim")
p_cod=rs("cod")
p_keyes=rs("keyes")
p_price=rs("price")
p_discount=rs("discount")
p_is_emoney=rs("is_emoney")
p_emoney=rs("emoney")
rs.close
p_price_now=fm_price(p_price*(p_discount/100),0)
if int(p_cod)=1 then p_remark_2=code_jk(p_remark_2)
s_pic=p_smallimg
if s_pic="" or s_pic="http://" then
s_pic="upload/no_pic.gif"
else
if instr(s_pic,"://")<1 then
s_pic=joekoe_cms.web_upload&s_pic
end if
end if
tit="版 本 商 城"
call web_head(0,0,0,0,0)
call shop_load(0,0,0)
%>
<table width="912" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="208" valign="top" bgcolor="#990000"><%call left_notice()%><%call left_about()%><%call left_links()%></td>
<td width="6" background="../skin/aouoo_skin/index/body_line.gif"><img src="../skin/aouoo_skin/index/body_line.gif" width="6" height="30" /></td>
<td valign="top" bgcolor="#D40000"><table width="100%" height="660" border="0" cellpadding="0" cellspacing="1" bgcolor="#990000">
<tr>
<td valign="top" bgcolor="#FFFFFF"><table border=0 cellspacing=0 cellpadding=0 width='100%'>
<tr height=29>
<td background='/skin/aouoo_skin/index/bar_bg.jpg'> <img src='/skin/aouoo_skin/index/class3_gold.gif' align='absmiddle' /> <font color='#FFFFFF'>版 本 商 城</font></td>
</tr>
</table>
<table width="664" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="55"><img src="../skin/aouoo_skin/small/shop_tit.gif" width="664" height="42" /></td>
</tr>
<tr>
<td height="25"> <%response.write p_name%>详细资料 <font color="#999999">[浏览<%response.write p_counter%>次]</font></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20%" bgcolor="#996633" height="2"></td>
<td width="80%" bgcolor="#DDBB75"></td>
</tr>
</table></td>
</tr>
</table><br>
<table width="664" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td rowspan="4" align="center" bgcolor="#FFFFFF"><img src='/<%=s_pic%>' width=158 height=122 border=0></td>
<td align="center" bgcolor="#FFFFFF">版本制作:</td>
<td bgcolor="#FFFFFF"> 时代数据</td>
<td align="center" bgcolor="#FFFFFF">版本名称:</td>
<td bgcolor="#FFFFFF"> <%response.write p_name%></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">推荐等级:</td>
<td colspan="3" bgcolor="#FFFFFF"> <font class=red><%response.write p_brand%></font></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">商品状态:</td>
<td colspan="3" bgcolor="#FFFFFF"> <%response.write p_stock%></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF">版本价格:</td>
<td colspan="3" bgcolor="#FFFFFF"> <font class=red><%response.write p_price_now%>元 (一口价,拒绝还价)</font></td>
</tr>
<tr>
<td colspan="5" bgcolor="#F4F4F4" height="30"><font class=blue><b>版本说明:</b></font></td>
</tr>
<tr>
<td colspan="5" bgcolor="#FFFFFF" style="padding-top:5px; padding-left:5px; padding-right:5px; padding-bottom:5px; line-height:14pt;"><font class=htd><%response.write p_remark_2%></font></td>
</tr>
</table><br></td>
</tr>
</table></td>
</tr>
</table>
<%call joekoe_cms.exec("update shop_product set counter=counter+1 where id="&id,0)
'----------------------------中间 结束----------------------------
call shop_end()
call web_end(0,0)
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -