求一段 产品展示的代码;不是横排 就是竖排 求指点
<table width="80%" border="0" align="center"><tr>
<td width="20%" height="15" rowspan="10" align="center"><iframe style="margin-bottom: 10px" id="iframeComment2" marginheight="0"
src="productleft.asp" frameborder="0" height="400" marginwidth="0"
scrolling="no"></iframe></td>
<td height="15" colspan="2"></td>
</tr>
<%
proid=REQUEST.Form("proid")
proTYPE=REQUEST.Form("proTYPE")
proname=REQUEST.Form("proname")
proimgadd=REQUEST.form("proimgadd")
if proTYPE="" then proTYPE=REQUEST.QueryString("proTYPE")
call openDB()
sql="select * from productinfo order by proid desc"
rs.open sql,conn,3
if not rs.eof then
else
response.Write("暂无信息!")
response.End()
end if
rs.pagesize=6
page=request.querystring("currentpage")
if page="" then page=1
rs.AbsolutePage=cint(page)
do while not rs.eof and size<rs.pagesize
%>
<%dim n
if (n mod 1)=0 then
%>
<td valign="top" align="center"><a href=productinfo.asp?proid=<%=rs("proid")%>.html target="_blank"><img src="<%=rs("proimgadd")%>" width="200" height="176" border="0" align="top" /></a></br>
<%=rs("proname")%></td>
<%
end if
n=n+1
%>
<%
rs.movenext
size=size+1
loop
%>
<tr>
<td align="center" valign="baseline">
<%
pageName="productshow.asp"
pageParameter="proid="&proid&"protype="&protype&"&proName="&proName&""
call selectManyInfoBegin(pageName,pageParameter)
%>
</td>
</tr>
</table>
我的源码,求指点: