asp产品列表页,为什么二级产品显示,一级分类不显示产品 30
<divid="neicontent"><divclass="pdlist"><ul><li><%t_arr=w_index.tproshowall("pro",pid)...
<div id="neicontent">
<div class="pdlist">
<ul>
<li>
<%t_arr=w_index.tproshowall("pro",pid)
maxlen=18
if w_index.checkobj(t_arr) then
tall=ubound(t_arr)+1
w_index.webpage page,tall,maxlen
z=0
for j=(page-1)*maxlen to ubound(t_arr)
%>
<dl>
<dd><a href="productview.asp?pid=<%=t_arr(j,0)%>" title="<%=t_arr(j,1)%>" target="_blank"> <img src="edit2/uploadfile/<%=t_arr(j,4)%>" width="173" height="130" border="0" /> </a></dd>
<dt><a href="productview.asp?pid=<%=t_arr(j,0)%>" title="<%=t_arr(j,1)%>" target="_blank"><%=t_arr(j,1)%></a></dt>
</dl>
<%
z=z+1
if z>=maxlen then exit for end if
if z mod 3=0 then
%>
</li>
<li>
<%
end if
next
erase t_arr
end if%>
</li>
</ul>
</div>
<div class="clear"></div>
<div class="fanye">
<table align='center' id='Table1' class='unnamed2'>
<tr>
<td style='font-size:12px' ><%theasp="product.asp?pid="&pid
w_index.fen page,tall,maxlen,theasp%></td>
</tr>
</table>
</div>
</div> 展开
<div class="pdlist">
<ul>
<li>
<%t_arr=w_index.tproshowall("pro",pid)
maxlen=18
if w_index.checkobj(t_arr) then
tall=ubound(t_arr)+1
w_index.webpage page,tall,maxlen
z=0
for j=(page-1)*maxlen to ubound(t_arr)
%>
<dl>
<dd><a href="productview.asp?pid=<%=t_arr(j,0)%>" title="<%=t_arr(j,1)%>" target="_blank"> <img src="edit2/uploadfile/<%=t_arr(j,4)%>" width="173" height="130" border="0" /> </a></dd>
<dt><a href="productview.asp?pid=<%=t_arr(j,0)%>" title="<%=t_arr(j,1)%>" target="_blank"><%=t_arr(j,1)%></a></dt>
</dl>
<%
z=z+1
if z>=maxlen then exit for end if
if z mod 3=0 then
%>
</li>
<li>
<%
end if
next
erase t_arr
end if%>
</li>
</ul>
</div>
<div class="clear"></div>
<div class="fanye">
<table align='center' id='Table1' class='unnamed2'>
<tr>
<td style='font-size:12px' ><%theasp="product.asp?pid="&pid
w_index.fen page,tall,maxlen,theasp%></td>
</tr>
</table>
</div>
</div> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询