网站产品展示详细内容不显示
高手进来看一下,http://www.一抗页面中点击进入详细内容页面时没有内容,也就是说添加产品后详细内容不显示。详细内容代码:
<!--#include file="Inc/syscode.asp"-->
<!--#include file="inc/Skin_css.asp"-->
<%
ShowSmallClassType=ShowSmallClassType_Article
dim ArticleID
ArticleID=trim(request("ArticleID"))
if ArticleId="" then
response.Redirect("Product.asp")
end if
sql="select * from 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")
%>
<%if not(rsBigClass.bof and rsBigClass.eof) and ShowSmallClassType="Menu" then response.write " onmousemove='HideMenu()'"%>
<!-- #include file="Head.asp" -->
<table width="901" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center">
<tr>
<td width="181" align="center" valign="top"><!-- #include file="left.asp" -->
</td>
<td width="10" background="images/zf.gif"> </td>
<td width="710" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="98%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="2"></td>
</tr>
<tr>
<td height="26"> <span > <img src="Img/HaoSc23.png" width="14" height="16" align="absmiddle"> <span class="tt_16">产 品 展 示</span></span></td>
</tr>
<tr>
<td height="2" bgcolor="#CBE0E9"></td>
</tr>
</table></td>
</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<TR>
<TD width="451"
height=25>
<%
response.write " <a href='Product.asp?BigClassName=" & rs("BigClassName") & "'>" & rs("BigClassName") & "</a> >> "
if rs("SmallClassName") & ""<>"" then
response.write "<a href='Product.asp?BigClassName=" & rs("BigClassName")&"&SmallClassName=" & rs("SmallClassName") & "'>" & rs("SmallClassName") & "</a> >> "
end if
response.write rs("Title")
%>
</TD>
<TD width="106"><a href=# onClick="window.open('add.asp?Product_Id=<%=rs("Product_Id")%>','blank_','scrollbars=yes,resizable=no,width=650,height=450')"></a></TD>
</TR>
<TR>
<TD
height=1 colspan="3" background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR>
<TD height="1" colspan="3">
<%call ShowArticleContent()%>
</TD>
</TR>
<TR>
<TD
height=1 colspan="3" background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif"
width=10></TD>
</TR>
<TR>
<TD
height=25>点击数:<%=rs("Hits")%> 录入时间:<%= FormatDateTime(rs("UpdateTime"),2) %> 【<a href='javascript:window.print()'>打印此页</a>】 【<a href='javascript:history.back()'>返回</a>】</TD>
<TD
height=25><a href=# onClick="window.open('add.asp?Product_Id=<%=rs("Product_Id")%>','blank_','scrollbars=yes,resizable=no,width=650,height=450')"></a></TD>
</TR>
</table></td>
</tr>
</table>
<!-- #include file="foot.asp" -->
</BODY></HTML>
<%
end if
rs.close
set rs=nothing
call CloseConn()
%>
高手请帮忙,谢谢,在线跪等!
sun.rar
(190.41 KB)