📄 productsview.asp
字号:
<!--#include file="SiteInfo.asp"-->
<%
'☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆
'★ ★
'☆ 万博中小企业网站管理系统(NWEB) ☆
'★ ★
'☆ 版权所有 Nweb.cn ☆
'★ ★
'☆ 程序制作 万博工作室 ☆
'★ Add:四川省彭州市西大街228号/611930 ★
'☆ Tel:028-88079088 Fax:83708850 ☆
'★ E-m:duolaimi-123@163.com ★
'☆ Q Q:59309100 ☆
'★ ★
'☆ 相关网址 [产品介绍]http://www.Nweb.cn ☆
'★ [支持论坛]http://www.Nweb.cn/bbs ★
'☆ ☆
'★ 演示网址 http://www.Nweb.cn ★
'☆ ☆
'★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★
%>
<%
ID=trim(request.querystring("id"))
set Rs=server.createobject("adodb.recordset")
SQL="select * from Products where id="&ID
Rs.open SQL,conn,1,3
if not Rs.eof then
LName=Rs("LName")
LSortname=Rs("LSortname")
LPrice=Rs("LPrice")
LPH=Rs("LPH")
LManufacturer=Rs("LManufacturer")
LSellManufacturer=Rs("LSellManufacturer")
LParticular=Rs("LParticular")
LPattern=Rs("LPattern")
LDot=Rs("LDot")
LDot=LDot+1
Locality="详细介绍 >> "&LName
LAddtime=Rs("LAddtime")
Rs("LDot")=LDot
GroupID=Rs("GroupID")
Exclusive=Rs("Exclusive")
Rs.update
else
response.Write"<script language=javascript> alert('数据库异常错误!');history.back(-1);</script>"
response.end
end if
Rs.close
set Rs=nothing
%>
<%
'===========================
set Rs = server.createobject("adodb.recordset")
SQL="select GroupLevel from Nweb_UGroup where GroupID='"&GroupID&"'"
Rs.open SQL,conn,1,1
GroupLevel=Rs("GroupLevel")
Rs.Close
set Rs=nothing
if Session("GroupLevel")="" then Session("GroupLevel")=0
Select Case Exclusive
Case "<"
if Session("GroupLevel") < GroupLevel then
response.write "<script language=javascript> alert('您的权限不能查看此条信息,请登录或向管理员咨询!');window.close();</script>"
response.end
end if
Case "="
if Session("GroupLevel") <> GroupLevel then
response.write "<script language=javascript> alert('您的权限不能查看此条信息,请登录或向管理员咨询!');window.close();</script>"
response.end
end if
End Select
%>
<HTML>
<HEAD>
<TITLE>首页-产品介绍-<%=LName%>|<%=SiteName%></TITLE>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<META NAME="copyright" CONTENT="Copyright 2004-2005 - NWEB.CN-STUDIO-多来米">
<META NAME="Author" CONTENT="万博网络技术工作室,www.Nweb.cn">
<META NAME="Robots" CONTENT="all">
<META NAME="Keywords" CONTENT="<%=Keywords%>">
<META NAME="Description" CONTENT="<%=Description%>">
<link href="Images/CSS.css" type=text/css rel=stylesheet>
</HEAD>
<script language="JavaScript">
<!--
var flag=false;
function DrawImage(ImgD){
var image=new Image();
image.src=ImgD.src;
if(image.width>0 && image.height>0){
flag=true;
if(image.width/image.height>= 198/198){
if(image.width>198){
ImgD.width=198;
ImgD.height=(image.height*198)/image.width;
}
else{
ImgD.width=image.width;
ImgD.height=image.height;
}
ImgD.alt= "点击查看"+image.width+"×"+image.height+"原始图片...";
}
else{
if(image.height>198){
ImgD.height=198;
ImgD.width=(image.width*198)/image.height;
}
else{
ImgD.width=image.width;
ImgD.height=image.height;
}
ImgD.alt= "点击查看"+image.width+"×"+image.height+"原始图片...";
}
}
}
//-->
</script>
<BODY>
<!--#include file="Top.asp" -->
<table width="868" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="190" height="96" valign="top" bgcolor="#F2F2F2" ><!--#include file="LeftNav.asp" -->
<!--#include file="ProductsLeft.asp" -->
</td>
<td width="5"></td>
<td width="673" valign="top" class="Index-Center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="180" colspan="2" bgcolor="#FFFFFF"><img src="Images/Banner_01.jpg" alt="万博中小企业网站系统" width="499" height="180"></td>
<td colspan="2" align="right" bgcolor="#FFFFFF"><img src="Images/Banner_02.jpg" alt="万博中小企业网站系统" width="171" height="180"></td>
</tr>
<tr>
<td width="93" height="5" bgcolor="#FFFFFF"></td>
<td width="408" bgcolor="#FFFFFF"></td>
<td width="42" bgcolor="#FFFFFF"></td>
<td width="130" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="30" align="right" bgcolor="#F2F2F2"><strong><font color="#1c529b"><img src="Images/Arrow-locality.gif" width="14" height="12" align="absmiddle"> 当前位置:</font></strong></td>
<td colspan="2" bgcolor="#F2F2F2" class="locality"><a href="index.asp">首 页</a> >> <a href="ProductsList.asp">产品展示</a> >> <%=Locality%> </td>
<td bgcolor="#F2F2F2"></td>
</tr>
<tr>
<td height="5" align="center" bgcolor="#FFFFFF"></td>
<td colspan="2" align="center" bgcolor="#FFFFFF"></td>
<td align="center" bgcolor="#FFFFFF"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="28" height="12"> </td>
<td></td>
<td width="28"></td>
</tr>
<tr>
<td height="30"> </td>
<td><table width="616" border="0" cellspacing="0" cellpadding="0" class="ProView-01">
<tr>
<td width="200" height="200" rowspan="8" align="center">
<a href="<%=LPattern%>" target="_blank"><img src="<%=LPattern%>" name="ImgD" width="198" height="198" border="0" onload="javascript:DrawImage(this);"></a> </td>
<td width="1" rowspan="8"></td>
<td width="82" height="25" align="center">产品名称:</td>
<td width="333" height="25"><%=LName%></td>
</tr>
<tr>
<td height="25" align="center">产品编号:</td>
<td height="25"><%=LPH%></td>
</tr>
<tr>
<td height="25" align="center">产品价格:</td>
<td height="25"><%=LPrice%></td>
</tr>
<tr>
<td height="25" align="center">生 产 商:</td>
<td height="25"><%=LManufacturer%></td>
</tr>
<tr>
<td height="25" align="center">销 售 商:</td>
<td height="25"><%=LSellManufacturer%></td>
</tr>
<tr>
<td height="25" align="center">发布日期:</td>
<td height="25"><%=LAddtime%></td>
</tr>
<tr>
<td height="25" align="center">查看数次:</td>
<td height="25"><%=LDot%></td>
</tr>
<tr>
<td height="25" align="center">购 买:</td>
<td height="25"><a href="ProductsBuy.asp?ProName=<%=LName%>&ProNo=<%=LPH%>">在线订购</a></td>
</tr>
</table>
<table width="616" border="0" cellpadding="0" cellspacing="0" class="ProView-01">
<tr>
<td height="24" bgcolor="#E1E1E1"><strong> 产 品 详 细 介 绍:</strong></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><%=LParticular%></td>
</tr>
</table></td>
<td></td>
</tr>
<tr>
<td height="30"> </td>
<td></td>
<td></td>
</tr>
</table></td>
</tr>
</table>
<!--#include file="Bot.asp" -->
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -