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

📄 products.asp

📁 管理登录system 管理员:admin 密码:admin888 数据库链接文件: conn.asp 内容数据库前台链接文件 systemconn.asp 内容数据库后台链接文件 sy
💻 ASP
字号:
<!--#include file="siteinfo.asp"-->
<HTML>
<HEAD>
<TITLE><%=sitename%></TITLE>
<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>= 200/200){ 
   if(image.width>200){
    ImgD.width=200; 
    ImgD.height=(image.height*200)/image.width; 
   }
   else{ 
    ImgD.width=image.width;
    ImgD.height=image.height; 
   } 
   ImgD.alt= "点击查看"+image.width+"×"+image.height+"原始图片..."; 
  } 
  else{ 
   if(image.height>200){
    ImgD.height=200; 
    ImgD.width=(image.width*200)/image.height; 
   }
   else{ 
    ImgD.width=image.width;
    ImgD.height=image.height; 
   } 
   ImgD.alt= "点击查看"+image.width+"×"+image.height+"原始图片..."; 
  } 
 }
}
//--> 
</script> 
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<link href="images/CSS.css" type=text/css rel=stylesheet>
</HEAD>
	    <% idd=trim(request.querystring("id"))
             set rsr=server.createobject("adodb.recordset")
             sql="select * from Products where id="&idd
             rsr.open sql,conn,1,3
			 if not rsr.eof then
			 
			    LName=rsr("LName")
				LSortname=rsr("LSortname")
				LPrice=rsr("LPrice")
				LPH=rsr("LPH")
				LManufacturer=rsr("LManufacturer") 
				LSellManufacturer=rsr("LSellManufacturer") 	
				LParticular=rsr("LParticular")
				LPattern=rsr("LPattern")	
				LDot=rsr("LDot")
				LDot=LDot+1
				LAddtime=rsr("LAddtime") 	
				rsr("LDot")=LDot
				rsr.update
				else
				response.Write"找不到产品记录,发生导常错误,请联系管理员!"
			 end if 	
 %>
<BODY>
<!--#include file="top.asp" -->
<table width="778" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="179" valign="top" background="images/BGline01.gif"><!--#include file="Productsleft.asp" --></td>
    <td width="598" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr background="images/BGline04.gif">
          <td width="20" height="24" background="images/BGline04.gif">&nbsp;</td>
          <td background="images/BGline04.gif"><span class="ABOUT_01"><img src="images/GO_03.gif" width="11" height="11" align="absmiddle"> 当前位置:<a href="index.asp">首页</a> &gt; <a href="productsall.asp">产品展厅</a> &gt; 详细介绍</span></td>
          <td width="20" background="images/BGline04.gif">&nbsp;</td>
        </tr>
        <tr>
          <td width="20">&nbsp;</td>
          <td>&nbsp;</td>
          <td width="20">&nbsp;</td>
        </tr>
        <tr>
          <td width="20">&nbsp;</td>
          <td><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
            <tr>
              <td width="37%" rowspan="8" valign="top"><table width="200" height="200" border="0" cellpadding="1" cellspacing="1" bgcolor="#D0D5D0">
                <tr>
                  <td align="center" bgcolor="#FFFFFF"><a href="<%=LPattern%>" target="_blank"><img src="<%=LPattern%>" name="ImgD" width="200" height="200" border="0"  onload="javascript:DrawImage(this);"></a></td>
                </tr>
              </table></td>
              <td width="14%" height="21" align="right" bgcolor="#E3E6E3">产品名称:</td>
              <td width="49%" height="21" bgcolor="#f3f4f3">&nbsp;<%=LName%></td>
            </tr>
            <tr>
              <td width="14%" height="21" align="right" bgcolor="#E3E6E3">产品编号:</td>
              <td width="49%" height="21" bgcolor="#f3f4f3">&nbsp;<%=LPH%></td>
            </tr>
            <tr>
              <td width="14%" height="21" align="right" bgcolor="#E3E6E3">产品价格:</td>
              <td width="49%" height="21" bgcolor="#f3f4f3">&nbsp;<%=LPrice%></td>
            </tr>
            <tr>
              <td width="14%" height="21" align="right" bgcolor="#E3E6E3">生&nbsp;&nbsp;产&nbsp;&nbsp;商:</td>
              <td width="49%" height="21" bgcolor="#f3f4f3">&nbsp;<%=LManufacturer%></td>
            </tr>
            <tr>
              <td width="14%" height="21" align="right" bgcolor="#E3E6E3">销&nbsp;&nbsp;售&nbsp;&nbsp;商:</td>
              <td width="49%" height="21" bgcolor="#f3f4f3">&nbsp;<%=LSellManufacturer%></td>
            </tr>
            <tr>
              <td width="14%" height="21" align="right" bgcolor="#E3E6E3">发布日期:</td>
              <td width="49%" height="21" bgcolor="#f3f4f3">&nbsp;<%=LAddtime%></td>
            </tr>
            <tr>
              <td width="14%" height="21" align="right" bgcolor="#E3E6E3">查看数次:</td>
              <td width="49%" height="21" bgcolor="#f3f4f3">&nbsp;<%=LDot%></td>
            </tr>
            <tr>
              <td width="14%" height="21" align="right" bgcolor="#E3E6E3">购  买:</td>
              <td width="49%" height="21" bgcolor="#f3f4f3">&nbsp;<a href="ProductsBuy.asp?proname=<%=rsr("Lname")%>&prono=<%=rsr("LPH")%>"><font color=#000066>在线下定单</font></a></td>
            </tr>
            <tr align="center" bgcolor="#E3E6E3">
              <td height="24" colspan="3"><font  color="#333333"><strong>&nbsp; 产 品 详 细 介 绍</strong></font></td>
            </tr>
            <tr align="center" valign="top" bgcolor="#FFFFFF">
              <td height="10" colspan="3" ></td>
            </tr>
            <tr valign="top" bgcolor="#FFFFFF">
              <td height="22" colspan="3" ><%=LParticular%></td>
            </tr>
          </table></td>
          <td width="20">&nbsp;</td>
        </tr>
        <tr>
          <td width="20" height="40">&nbsp;</td>
          <td>&nbsp;</td>
          <td width="20">&nbsp;</td>
        </tr>
    </table></td>
    <td width="1" valign="top" background="images/BGline02.gif"></td>
  </tr>
</table>
<!--#include file="bot.asp" -->
</BODY>
</HTML>

⌨️ 快捷键说明

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