📄 show_product.asp
字号:
<%@ codepage ="936" %>
<!--#include file="head.asp"-->
<!--#include file="../inc/check_input.asp"-->
<script language="javascript">
function show_sader(mylink)
{
window.open(mylink,'','top=50,left=120,width=520,height=450,scrollbars=yes')
}
</script>
<script language="javascript">
function show_product(link)
{
window.open(link,'','top=50,left=150,width=500,height=450,scrollbars=yes')
}
</script>
<script language="javascript">
function show(mylink)
{
window.open(mylink,'','top=50,left=100,width=575,height=240,scrollbars=yes')
}
</script>
<%
dim sql
dim rs,rstj
dim gssql
dim rstj1
dim gssql1
dim rsjh1
dim jhsql1
dim rsjh
dim jhsql
dim gsid,gsname
dim rstype
dim hits
hits=request("hits")
gsid=session("id")
if not isEmpty(request("id")) then
id=request("id")
id=CheckInput(id,"i","1")
set rs=server.createobject("adodb.recordset")
sql1="update spzs set hits=hits+1 where id="+cstr(id)+""
rs.open sql1,conn,1,1
else
id=1
end if
sql="select * from spzs where id="+cstr(id)+" order by id desc"
set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
set rsjh1= Server.CreateObject("ADODB.Recordset")
jhsql1="select info_id,showname from info where showname<>'""' order by Info_id desc"
rsjh1.open jhsql1,conn,1,1
set rsjh= Server.CreateObject("ADODB.Recordset")
jhsql="select info_id,showname from info where sortid="+cstr(sortid)+" and showname<>'""' order by Info_id desc"
rsjh.open jhsql,conn,1,1
set rstj1= Server.CreateObject("ADODB.Recordset")
gssql1="select id,qymc,web from qyml where tjbz like '%02%' order by id desc"
rstj1.open gssql1,conn,1,1
set rstj= Server.CreateObject("ADODB.Recordset")
gssql="select id,qymc,web from qyml where sortid="+cstr(sortid)+" and tjbz like '%02%' order by id"
rstj.open gssql,conn,1,1
%>
<head>
<STYLE type=text/css>
TD {
COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
.GR {
COLOR: #666
}
TD {
COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
TD {
FONT-SIZE: 12px; LINE-HEIGHT: 150%
}
TD {
FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
TD {
COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
TD {
COLOR: #000; FONT-FAMILY: 宋体; FONT-SIZE: 12px
}
</STYLE>
<HTML>
<META content=zh-cn http-equiv=Content-Language>
<LINK href="images/main.css" rel=stylesheet type=text/css>
<META content="Microsoft FrontPage 6.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff text=#000000 topMargin=0 marginheight="0">
<CENTER>
<TABLE border=0 cellPadding=0 cellSpacing=0 width=760 style="border-collapse: collapse" bordercolor="#111111" height="7">
<TBODY>
<tr>
<TD height=7>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber9">
<tr>
<TD height=6 style="font-family: 宋体; font-size: 12px; line-height: 150%">
<TABLE border=0 borderColor=#111111 cellPadding=0 cellSpacing=0
id=AutoNumber1 style="BORDER-COLLAPSE: collapse" width="760">
<TBODY>
<TR>
<TD width=559 style="font-family: 宋体; font-size: 12px; line-height: 150%" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber17">
<tr>
<TD vAlign=top>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TBODY>
<TR>
<TD bgColor=#ffffff>
<TABLE border=0 borderColor=#111111 cellPadding=0
cellSpacing=0 height=470 id=AutoNumber2
style="BORDER-COLLAPSE: collapse" width="100%">
<TBODY>
<TR>
<TD bgColor=#ffffff height=86>
<DIV align=center>
<CENTER>
<TABLE border=0 borderColor=#111111 id=AutoNumber4
style="BORDER-COLLAPSE: collapse" width="100%" cellspacing="0" cellpadding="0">
<TBODY>
<TR>
<TD height=383
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
vAlign=top>
<TABLE border=0 borderColor=#111111 cellPadding=0
cellSpacing=0 id=AutoNumber1
style="BORDER-COLLAPSE: collapse" width="100%">
<TBODY>
<TR>
<TD style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="100%">
<TABLE border=0 borderColor=#111111
cellPadding=0 cellSpacing=0 id=AutoNumber2
style="BORDER-COLLAPSE: collapse" width="100%">
<TBODY>
<TR>
<TD background=images/buy.gif
height=21
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
vAlign=bottom>
<TABLE border=0 borderColor=#111111
cellPadding=0 cellSpacing=0 id=AutoNumber10
style="BORDER-COLLAPSE: collapse" width="100%">
<TBODY>
<TR>
<TD style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="5%"> </TD>
<TD height=22
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="95%"><B><SPAN
style="FONT-SIZE: 10.5pt"><FONT color=#ffffff
style="FILTER: glow(color=#000080, strength=1); FONT-WEIGHT: 700; LETTER-SPACING: 1px; POSITION: relative; WIDTH: 100%"><%=rs("cpmc")%>产品信息</FONT></SPAN></B></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#ffffef height=30
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%">
<TABLE border=0 borderColor=#111111
cellPadding=0 cellSpacing=0
style="BORDER-COLLAPSE: collapse" width="100%">
<TBODY>
<TR>
<TD align=middle bgColor=#E8E8FF
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%">
<CENTER>
<TABLE border=1 borderColor=#111111
borderColorDark=#CEDBFF borderColorLight=#CEDBFF
cellPadding=0 cellSpacing=0 height=293
style="BORDER-COLLAPSE: collapse" width=542>
<TBODY>
<TR>
<TD bgColor=#ffffff height=293
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
vAlign=top width="47%">
<DIV align=center>
<CENTER>
<TABLE border=0 borderColor=#111111
cellPadding=2 cellSpacing=1 height=283
id=AutoNumber7 style="BORDER-COLLAPSE: collapse"
width="98%">
<TBODY>
<TR>
<TD bgColor=#F7F7FF height=142
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%">
<TABLE align=left border=0 borderColor=#111111
cellPadding=0 cellSpacing=0 height=1
style="BORDER-COLLAPSE: collapse" width=523>
<TBODY>
<TR><!-- 汽车图片 -->
<TD align=left height=1
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
vAlign=top width=256>
<DIV align=center>
<CENTER>
<TABLE border=0 borderColor=#111111
cellPadding=3 cellSpacing=1 id=AutoNumber8
style="BORDER-COLLAPSE: collapse" width="99%">
<TBODY>
<TR>
<TD style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
vAlign=bottom width="100%">
<P align=center>
<a target="_blank" href="../picture/<%=rs("picture")%>">
<img border="0" src="../picture/<%=rs("picture")%>" width="140" height="125" style="border: 1px solid #000000" alt="<%=rs("cpmc")%>"></a><BR> (点击看原图 )</P></TD></TR>
<TR>
<TD style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="100%">
<P align=center><b>
<font color="#FF6600">
<a target="_blank" href="../company/index.asp?id=<%=rs("gsid")%>">
<%=rs("sccj")%></a></font></b></P></TD></TR></TBODY></TABLE></CENTER></DIV></TD><!-- 汽车图片 -->
<TD align=middle height=1
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width=267>
<TABLE bgColor=#f4faff border=1
borderColor=#ffffff borderColorDark=#ffffff
borderColorLight=#ffffff cellSpacing=0
height=176 style="BORDER-COLLAPSE: collapse"
width="90%">
<TBODY>
<TR>
<TD bgColor=#949EFE class=c_black colSpan=2
height=15 width="100%">
<P align=center><b>
<font color="#FFFFFF">
<%=rs("cpmc")%></font></b></P></TD></TR>
<TR>
<TD bgColor=#E8E8FF height=15
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="43%">
<DIV align=right>产品编号:</DIV></TD>
<TD bgColor=#E8E8FF height=15
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="57%"><FONT
face=Arial><B> <%=rs("cpbh")%></B></FONT></TD></TR>
<TR>
<TD bgColor=#F7F8FF height=17
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="43%">
<DIV align=right> 产品价格:</DIV></TD>
<TD bgColor=#F7F8FF height=17
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="57%">
<font color="#FF6600"> <%if rs("cpjg")="0" then response.write"价优" else response.write""&rs("cpjg")&"元" end if%></font></TD></TR>
<TR>
<TD bgColor=#E8E8FF height=20
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="43%">
<DIV align=right> 产品商标:</DIV></TD>
<TD bgColor=#E8E8FF height=20
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="57%"> <%=rs("cpsb")%></TD></TR>
<TR>
<TD bgColor=#F7F8FF height=16
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="43%">
<P align=right> 产品规格:</P></TD>
<TD bgColor=#F7F8FF height=16
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="57%"> <%=rs("cpgg")%></TD></TR>
<TR>
<TD bgColor=#E8E8FF height=6
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="43%">
<P align=right>生产产地:</P></TD>
<TD bgColor=#E8E8FF height=6
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="57%"> <%=rs("cpcd")%></TD></TR>
<tr>
<TD bgColor=#F7F8FF height=9
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="43%">
<P align=right>发布时间:</P></TD>
<TD bgColor=#F7F8FF height=9
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="57%"> <%=rs("idate")%></TD>
</tr>
<TR>
<TD bgColor=#E8E8FF height=9
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="43%">
<P align=right>浏览人数:</P></TD>
<TD bgColor=#E8E8FF height=9
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="57%"> <font color="#FF0000"><%=rs("hits")%></font></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD height=41
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%" bgcolor="#F7F7FF">
<DIV align=center>
<CENTER>
<TABLE border=0 borderColor=#111111
cellPadding=0 cellSpacing=0 height=71
style="BORDER-COLLAPSE: collapse" width="100%">
<TBODY>
<TR>
<TD height=19
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width=620 align=center><script type="text/javascript"><!--
google_ad_client = "pub-1643874477780591";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "C3D9FF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></TD></TR>
<TR>
<TD bgColor=#ECECFF height=21
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width=620> <IMG border=0
src="images/total.gif">
详细信息</TD></TR>
<TR>
<TD bgColor=#F7F8FF height=51
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
width="90%">
<DIV align=center>
<CENTER>
<TABLE border=0 borderColor=#111111
cellSpacing=1 id=AutoNumber13
style="BORDER-COLLAPSE: collapse" width="99%">
<TBODY>
<TR>
<TD width="100%"> <%=Replace(rs("xxsm"),chr(13),"<br> ")%>
</TD></TR></TBODY></TABLE></CENTER></DIV></TD></TR></TBODY></TABLE></CENTER></DIV></TD></TR></TBODY></TABLE></CENTER></DIV></TD></TR></TBODY></TABLE></CENTER>
<TABLE border=0 borderColor=#111111
cellPadding=0 cellSpacing=0 id=AutoNumber15
style="BORDER-COLLAPSE: collapse" width="100%">
<TBODY>
<TR>
<TD width="100%"> </TD></TR></TBODY></TABLE>
<CENTER>
<TABLE border=1 borderColor=#111111
borderColorDark=#cedbff borderColorLight=#cedbff
cellPadding=0 cellSpacing=0
style="BORDER-COLLAPSE: collapse" width=542>
<TBODY>
<TR>
<TD bgColor=#ffffff
style="FONT-SIZE: 12px; LINE-HEIGHT: 150%"
vAlign=top width="47%">
<DIV align=center>
<CENTER>
<TABLE border=0 borderColor=#111111
cellSpacing=1 id=AutoNumber5
style="BORDER-COLLAPSE: collapse" width="98%" cellpadding="2">
<TBODY>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -