| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 738 人关注过本帖
标题:网站产品展示详细内容不显示
只看楼主 加入收藏
sunbiote
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2009-7-28
收藏
 问题点数:0 回复次数:0 
网站产品展示详细内容不显示
高手进来看一下,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">&nbsp;</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">&nbsp; <span >&nbsp;&nbsp;<img src="Img/HaoSc23.png" width="14" height="16" align="absmiddle"> &nbsp;<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 "&nbsp;<a href='Product.asp?BigClassName=" & rs("BigClassName") & "'>" & rs("BigClassName") & "</a>&nbsp;&gt;&gt;&nbsp;"
if rs("SmallClassName") & ""<>"" then
    response.write "<a href='Product.asp?BigClassName=" & rs("BigClassName")&"&SmallClassName=" & rs("SmallClassName") & "'>" & rs("SmallClassName") & "</a>&nbsp;&gt;&gt;&nbsp;"
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")%>&nbsp; 录入时间:<%= FormatDateTime(rs("UpdateTime"),2) %>&nbsp;【<a href='javascript:window.print()'>打印此页</a>】&nbsp;【<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)
搜索更多相关主题的帖子: 详细内容 展示 
2009-07-28 15:50
快速回复:网站产品展示详细内容不显示
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.031781 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved