www.gusucode.com > 运动用品商城网站系统源代码程序 > IncAsp/all_phtao.asp
<table cellSpacing="0" cellPadding="0" border="0" width="780"> <tr><td background="Skin/Taobao/top1.gif"><span class="ph_laf"> <img border="0" src="Img/t.gif" width="25" height="24"> 套装产品 | SUITE</span></td></tr> <tr><td class="ph_la2"> <table border="0" cellpadding="3" width="780"> <%set rs=server.createobject("adodb.recordset") sql="select top 6 hw_id,hw_name,hw_price1,hw_price2,hw_price3,hw_pic,hw_content from venshop_hwt where hw_kucun>0 and tjindex=1 order by hw_id DESC" rs.open sql,conn,1,1 i=-1 do while not rs.eof i=i+1%> <tr><td height="26"<%if i>0 then%> class="heng"<%end if%>><p align="center" style="line-height: 150%; margin: 3px"> <a <%if photoh=1 then%>class=photo<%end if%> target="_blank" href="viewst.asp?hw_id=<%=rs("hw_id")%>"> <img border="0" src="<%pic=split(rs("hw_pic"),"*")%><%=pic(1)%>" width="250" height="250"></a><br> </span></td><td height="26"<%if i>0 then%> class="heng"<%end if%>><span class="price"><b><a href="viewst.asp?hw_id=<%=rs("hw_id")%>" target=_blank><%=rs("hw_name")%></a></b><font color="#ED7201"><br> </font> <p align="left" style="line-height: 150%; margin: 3px" class="anse"> <font color="#ED7201"><%=rs("hw_content")%><br> 原价<%=fuhao%><%=rs("hw_price1")%><%=danwei%><br> 普通会员<%=fuhao%><%=rs("hw_price2")%><%=danwei%> <br> VIP会员<%=fuhao%><%=rs("hw_price3")%><%=danwei%></font></td></tr> <% rs.movenext loop rs.close set rs=nothing%></table> </td></tr> </table>