www.gusucode.com > 凡人网络购物系统 2008源码程序 > IncAsp/all_inszp.asp
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <% if lookt="image" then i=0 do while not rs.eof and (i<rs.pagesize) i=i+1 %> <tr><td align="center"> <table width="100%" border="0" cellpadding="3"> <tr><td align="center"> <a <%if photoh=1 then%>class=photo<%end if%> target="_blank" href="viewzp.asp?zp_id=<%=rs("zp_id")%>"> <img border="0" src="<%=rs("zp_pic")%>" onerror="this.src='img/noimage.jpg'" <%=sort_wh%> style="border: 1px solid #C0C0C0"></a></td> <td> <p style="line-height: 150%; margin-top:5px; margin-bottom:5px" class="anse"> <a class="title" target="_blank" href="viewzp.asp?zp_id=<%=rs("zp_id")%>"><IMG src="Skin/<%=venshop_skin%>/dot3.gif" border=0 align="absmiddle"> <%=rs("zp_name")%></a></p> <p style="line-height: 150%; margin-top: 5px; margin-bottom: 5px"> 市场价:<strike><%=fuhao%><%=trim(rs("zp_price"))%><%=danwei%></strike><br> <span style="font-size:10pt; color:#FD6700;font-weight: bold">订单金额满 <i><%=fuhao%><%=trim(rs("zp_full"))%><%=danwei%></i> 即送</span> </td></tr><tr><td height="2" width="1160" background="img/spacer.gif" colspan="2"></td></tr></table></td></tr> <%rs.movenext loop%> <%else%> <tr> <% i=0 do while not rs.eof and (i<rs.pagesize) i=i+1 %> <td width="20%" align="center"> <table width="100%" border="0" cellpadding="3" cellspacing="0"> <tr><td align="center"><b><a <%if photoh=1 then%>class=photo<%end if%> target="_blank" href="viewzp.asp?zp_id=<%=rs("zp_id")%>"> <img border="0" src="<%=rs("zp_pic")%>" onerror="this.src='img/noimage.jpg'" <%=sort_wh%> style="border: 1px solid #C0C0C0"></a></b></td></tr> <tr><td align="center"><a target="_blank" href="viewzp.asp?zp_id=<%=rs("zp_id")%>" class="title"><%=rs("zp_name")%></a></td></tr> <tr><td align="center"><span style="font-size:10pt; color:#FD6700;font-weight: bold">满 <i><%=fuhao%><%=trim(rs("zp_full"))%><%=danwei%></i> 送</span></td></tr> </table></td> <%if (i mod lookhang=0) and i>=lookhang then%></tr><tr><%end if%> <%rs.movenext loop%> </tr> <%end if%></table>