重庆有哪些厂在招人:asp 忘高手指点 成功可加分谢谢

来源:百度文库 编辑:查人人中国名人网 时间:2024/04/29 04:02:43
小弟不才 自己把公司网站做了下

可在产品列表出现错误
http://cn61071.chinaw3.com/aa1/product.asp
在产品下翻页的时候 左面各项翻页不能对应起来
垫片的里面竟然出现垫板

忘高手指点下 恁磨修改 让垫板的只出现垫板 垫片类只出现垫片
能加QQ指点下吗 252056053

应该是你类型的变量没加上!在下一页中还要加上类型的变量值,这个pro_type=14

<%if rs.eof then%>
没有
<%else
rs.pagesize=25‘一页个数
maxnum=rs.recordcount
maxpage=rs.pagecount
if request("p")="" then
p=1
else
p=cint(request("p"))
end if
if p>maxpage then
p=maxpage
end if
if p=0 then
p=1
end if
if p<>1 then
rs.move (p-1)*rs.pagesize
end if
for i=1 to rs.pagesize

%>
内容
<%rs.movenext
if rs.eof then exit for
next%>
</table></td>
</tr>
</table>
 

<br><div style="width:588px;" align="center">
<table width="90%" height="30" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" class="bgpagLn">共:<font color=red><%=maxnum%></font> | 每页数:<font color=green><%=rs.pagesize%></font> | 总页数:<font color=green><%=maxpage%></font> | 当前页:<font color=red><%=p%></font>
<a href=list.asp?lei=<%=lei%>>首页</a>
<a href=list.asp?lei=<%=lei%>&p=<%=p-1%>>上页</a>
<a href=list.asp?lei=<%=lei%>&p=<%=p+1%>>下页</a>
<a href=list.asp?lei=<%=lei%>&p=<%=maxpage%>>尾页</a></td>
</tr>
</table></div>
<%end if
rs.close
%>