📄 bs_productshow.asp
字号:
<%@ LANGUAGE=VBScript CodePage=936%>
<%option explicit%>
<%Response.Buffer=True%>
<!--#include file="Include/Bs_System.asp"-->
<!--#include file="../Inc/ubbcode.asp"-->
<!--#include file="Include/Bs_SysProduct.asp"-->
<!--#include file="Include/Bs_StrLeft.asp"-->
<%
'=========================================================
'
' 产品名称:良精软件 公司(企业)网站管理系统(简称:liangjing.net)
' 版权所有:liangjing.net
' 程序制作:liangjing开发团队
' Copyright 2004-2005 liangjing.net - All Rights Reserved.
'
'========================================================
%>
<%
ShowSmallClassType=ShowSmallClassType_Article
dim ArticleID
ArticleID=trim(request("ArticleID"))
if ArticleId="" then
response.Redirect("Bs_Product.asp")
end if
sql="select * from Bs_Product where ArticleID=" & ArticleID & ""
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,3
if rs.bof and rs.eof then
response.write"<SCRIPT language=JavaScript>alert('找不到此产品!');"
response.write"javascript:history.go(-1)</SCRIPT>"
else
rs("Hits")=rs("Hits")+1
rs.update
if rs("hits")>=HitsOfHot then
rs("Hot")=True
rs.update
end if
BigClassName=rs("BigClassName")
SmallClassName=rs("SmallClassName")
%>
<!--#include file="Include/Bs_Head.asp" -->
<TABLE cellPadding=0 cellSpacing=0 class='Middle_Title'>
<TR>
<TD vAlign=top>
<TABLE cellPadding=0 cellSpacing=0 align='center' class='M_Center_Title'>
<% Call Style_Adcolumn() '广告栏 %>
<!-- 产品查看 -->
<TD>
<TABLE cellSpacing=0 cellPadding=0 class='MC_Pt_Title'>
<TR>
<TD class='MC_Pt_TD1'><IMG src='../img/1x1_pix.gif' width=3 height=1></TD>
<TD class='MC_Pt_TD2'><IMG src='../img/1x1_pix.gif' width=3 height=1></TD>
<TD class='MC_Pt_TD3'><SPAN class=Glow>
<%
response.write "<a href='Bs_Product.asp'>产品展示</a>"
response.write " >> <a href='Bs_Product.asp?BigClassName=" & rs("BigClassName") & "'>" & rs("BigClassName") & "</a>"
if rs("SmallClassName") & ""<>"" then
response.write " >> <a href='Bs_Product.asp?BigClassName=" & rs("BigClassName")&"&SmallClassName=" & rs("SmallClassName") & "'>" & rs("SmallClassName") & "</a>"
end if
'response.write " >> "& rs("Title")
%>
</SPAN></TD>
<TD class='MC_Pt_TD4'><div align="right">
</div></TD>
<TD class='MC_Pt_TD5'><IMG src='../img/1x1_pix.gif' width=3 height=1></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>
<TABLE cellSpacing=1 cellPadding=0 class='MC_PrShow_Title1'>
<TR class='MC_PrShow_t1Tr1'>
<td class='MC_PrShow_t1r1Td1'>产品名称</TD>
<td>产品规格</TD>
<td class='MC_PrShow_t1r1Td3'>产品尺寸</TD>
</TR>
<TR class='MC_PrShow_t1Tr2'>
<td> <%=rs("Title")%></TD>
<td> <%=rs("Spec")%></TD>
<td> <%=rs("Size")%></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 class='MC_PrShow_Title2'>
<TR class='MC_PrShow_t2Tr1'>
<td>::产品说明::</TD>
<TD width="98" align="right">
<a href='javascript:eshop(<%=rs("Product_Id")%>)'><img border=0 src='../Img/addtocart.gif' width=95 height=17></a> </TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 class='MC_PrShow_Title3'>
<tr>
<td style="line-height: 150%"> <%call ShowArticleContent()%></td>
</tr>
</table>
</TD>
</TR>
<!-- 产品查看 END -->
<TR>
<TD>
<table cellpadding=0 cellspacing=0 class='MC_bottom_title'>
<tr>
<td><div align="right">
点击数:<%=rs("Hits")%> 录入时间:<%= FormatDateTime(rs("UpdateTime"),2) %> 【<a href='javascript:window.print()'>打印此页</a
>】【<a href='javascript:history.back()'>返回</a
>】【<A href="javascript:window.scroll(0,-360)">顶部</A>】
</div></td>
</tr>
<tr><td class='MC_bottom_Td2'></td></tr>
</table>
</TD>
</TR>
<TR><TD height=10><IMG src='../img/1x1_pix.gif' width=3 height=1></TD></TR>
</TABLE>
</TD>
<%
end if
rs.close
set rs=nothing
%>
<TD class='M_Jgx_TD'><IMG src='../img/1x1_pix.gif' width=1 height=2></TD>
<TD vAlign=top class='M_Left_Td'>
<table cellpadding="0" cellspacing="0" align="center" class='M_Left_Title'>
<tr>
<td valign="top">
<%
Call Style_Product() '产品列表
Call Style_Fellow() '友情连接
%>
</td>
</tr>
</table>
</TD>
</TR>
</TABLE>
<!--#include file="Include/Bs_Foot.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -