<% Page=cint(request("page")) pagecount=page pageurl="sublist.asp" if request.querystring("page")="" then ipagecurrent=1 else ipagecurrent=cint(request.querystring("page")) end if sqlprod="select * from ProdMain where gb='ch' and online=true and remark = '1'" sqlprod = sqlprod + "order by xuhao asc " Set rsprod=Server.CreateObject("ADODB.RecordSet") MaxPage=12 rsprod.pagesize = MaxPage rsprod.cachesize = MaxPage rsprod.open sqlprod,conn,1,1 'if rsprod.recordcount=1 then 'zid=rsprod("id") 'num=rsprod("prodnum") 'response.Redirect ("product.asp?ProdNum="&num&"&zid="&zid&"") 'end if if rsprod.bof and rsprod.eof then response.write "
暂时没有添加内容!
" else '以下是调用公用的产品显示页面, %>
<% end if rsprod.close set rsprod=nothing end if %>