www.gusucode.com > 运动用品商城网站系统源代码程序 > IncAsp/all_phtuij.asp
<table cellSpacing="0" cellPadding="0" border="0"> <tr><td class="ph_la1"><span class="ph_laf">推荐产品</span></td></tr> <tr><td class="ph_la2"> <table border="0" cellpadding="3" cellspacing="0" width="96%"> <%set rs=server.createobject("adodb.recordset") sql="select top 5 hw_id,hw_name,hw_price1,hw_price2,hw_price3,hw_pic,hw_content from venshop_hw 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)%>" <%=sort_wh%>></a><br> <a href="viewst.asp?hw_id=<%=rs("hw_id")%>" target=_blank><%=rs("hw_name")%></a><br> <p align="left" style="line-height: 150%; margin: 3px" class="anse"><%=rs("hw_content")%><br> <span class="price">原价<%=fuhao%><%=rs("hw_price1")%><%=danwei%><br> 普通会员<%=fuhao%><%=rs("hw_price2")%><%=danwei%> <br> VIP会员<%=fuhao%><%=rs("hw_price3")%><%=danwei%></span></td></tr> <% rs.movenext loop rs.close set rs=nothing%></table> <div class="d5"> <p align="right"><a href="hot.asp?stype=tjindex" style="text-decoration: none">更多产品>>></a></div></td></tr> <tr><td class="ph_la3"> </td></tr></table>