www.gusucode.com > 绿色环保工作企业网站源码程序 > ProductShow.asp
<!--#include file="Inc/SysProduct.asp" --> <% ShowSmallClassType=ShowSmallClassType_Article dim ID ID=trim(request("ID")) if ID="" then response.Redirect("Product.asp") end if sql="select * from Product where ID=" & ID & "" 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 %> <!-- #include file="Head.asp" --> <DIV id=index_container> <div id="index_left"> <div id="left"> <div id="left_title">产品系列</div> <div id="left_content"> <DIV id=elem-FrontProductCategory_slideTree-001 name="商品分类"><LINK href="imgbyy/css2.css" type=text/css rel=stylesheet> <div class="FrontProductCategory_slideTree-default" id="FrontProductCategory_slideTree-001"> <div class="left_bottom"> <div class="right_bottom"> <div class="left_top"> <div class="right_top"> <table width="95%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="3"></td> </tr> </table> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> <% call ShowSmallClass_Tree() %> </td> </tr> </table> <table width="100" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="10"></td> </tr> </table> </div> </div> </div> </div> </div> </DIV> </div> <div id="left_btm"></div> </div> <table width="100" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="6"></td> </tr> </table> <!--#include file="searchinc.asp"--> <div id="index_contact"> <div id="index_contact1"></div> <div id="index_contact2"> <div id="elem-FrontSpecify_show-001" name="联系我们说明页"> <link href="about_files/css3.css" type="text/css" rel="stylesheet" /> <div class="FrontSpecify_show-default" id="FrontSpecify_show-001"> <div class="content"> <div class="style1"><!--#include file="qq.asp"--></div> </div> </div> </div> </div> </div> </div> <DIV id=index_right><!--<div id="right_title">产品中心</div> --> <DIV id=right_content> <DIV ><LINK href="about_files/FrontCommonContent_showDetailByList.css" type=text/css rel=stylesheet> <DIV class=FrontCommonContent_showDetailByList-default id=> <DIV class=content> <DIV id=right_title>产品展示</DIV> <DIV class=text> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="452" height="25"><% call ShowClassGuide() %> </td> </tr> <tr> <td height="237" colspan="2"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="21" colspan="3"> </td> </tr> <tr> <td width="52%" rowspan="5"> <a href="<%=rs("DefaultPicUrl")%>" target="_blank"><img src="<%=rs("DefaultPicUrl")%>" width="359" height="260" border="0" style="BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-COLOR: #cccccc; BORDER-TOP-COLOR: #cccccc; BORDER-RIGHT-COLOR: #cccccc"></a> </td> <td height="39" align="center" valign="middle"><div align="right">产品编号:</div></td> <td height="40" valign="middle"><font color="#FF6600"><strong><%=rs("Product_Id")%></strong></font></td> </tr> <tr> <td width="16%" height="39" align="center" valign="middle"><div align="right">产品名称:</div></td> <td width="32%" height="40" valign="middle"><font color="#FF6600"><strong><%=rs("title")%></strong></font></td> </tr> <tr> <td height="31" align="center" valign="middle"><div align="right">规 格:</div></td> <td height="40" valign="middle"><font color="#FF6600"><strong><%=rs("Spec")%></strong></font></td> </tr> <tr> <td height="29" align="center" valign="middle"><div align="right">产品备注:</div></td> <td height="40" valign="middle"><font color="#FF6600"><strong><%=rs("Memo")%></strong></font></td> </tr> <tr> <td height="31" valign="middle"><div align="right">产品类别:</div></td> <td height="40" valign="middle"><font color="#FF6600"><strong><%=rs("BigClassName")%></strong></font></td> </tr> <tr> <td height="9" colspan="3"> </td> </tr> </table></td> </tr> <tr> <td class="title_right" height="37" colspan="2"> <span style="font-weight: bold">产 品 说 明 </span></td> </tr> <tr> <td height="1" colspan="2"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="50"><%=rs("Content")%></td> </tr> </table></td> </tr> <tr> <td height="1" colspan="2" bgcolor="#CCCCCC"></td> </tr> <tr> <td height="40" align="center">点击数:<%=rs("hits")%> 录入时间:<%=FormatDateTime(RS("UpDateTime"),2)%> 【<a href='javascript:window.print()' class="black">打印此页</a>】 【<a href="javascript:self.close()" class="black">关闭</a>】</td> </tr> </table> </DIV> </DIV></DIV></DIV></DIV> <DIV class=clear></DIV></DIV> <DIV class=clear></DIV> </DIV></DIV> <DIV class=clear></DIV> <!-- #include file="Foot.asp" --> <% end if rs.close set rs=nothing call CloseConn() %>