www.gusucode.com > 凡人网络购物系统 2008源码程序 > IncAsp/venshop_ins.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 hw_name=rs("hw_name") if request("hw_name")<>"" then hw_name=replace(hw_name,request("hw_name"),"<font color=red>"&request("hw_name")&"</font>") %> <tr><td align="center"> <table width="100%" border="0" cellpadding="3"> <tr><td align="center" width="150"> <a <%if photoh=1 then%>class=photo<%end if%> target="_blank" href="views.asp?hw_id=<%=rs("hw_id")%>"> <img border="0" src="<%pic=split(rs("hw_pic"),"*")%><%=pic(1)%>" onerror="this.src='img/noimage.jpg'" <%=sort_wh%> style="border: 1px solid #C0C0C0"></a></td> <td><p style="line-height: 150%; margin-top:3px; margin-bottom:3px" class="anse"> <a class="title" target="_blank" href="views.asp?hw_id=<%=rs("hw_id")%>"><IMG src="Skin/<%=venshop_skin%>/dot3.gif" border=0 align="absmiddle"> <%=hw_name%></a><br> <%=rs("hw_content")%></p> 市场价:<strike><%=fuhao%><%=trim(rs("hw_price1"))%><%=danwei%></strike> <span style="font-size:10pt; color:#FD6700;font-weight: bold">会员价:<i><%=fuhao%><%=trim(rs("hw_price2"))%><%=danwei%></i></span> 节省:<%=fuhao%><%=trim(rs("hw_price1"))-trim(rs("hw_price2"))%><%=danwei%> <p align="right" style="margin: 5px"><a href="basket.asp?hw_id=<%=rs("hw_id")%>"><img border="0" src="Skin/<%=venshop_skin%>/buy.gif"></a> <a href="com.asp?action=add&hw_id=<%=rs("hw_id")%>"><img border="0" src="Skin/<%=venshop_skin%>/duibi.gif"></a> <a href="fav.asp?action=add&hw_id=<%=rs("hw_id")%>"><img border="0" src="Skin/<%=venshop_skin%>/shoucang.gif"></a> </td></tr><tr><td height="2" background="img/dot_menu.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 hw_name=rs("hw_name") if request("hw_name")<>"" then hw_name=replace(hw_name,request("hw_name"),"<font color=red>"&request("hw_name")&"</font>") %> <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="views.asp?hw_id=<%=rs("hw_id")%>"> <img border="0" src="<%pic=split(rs("hw_pic"),"*")%><%=pic(1)%>" 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="views.asp?hw_id=<%=rs("hw_id")%>" class="title"><%=hw_name%></a></td></tr> <tr><td align="center">价格:<span class="price"><%=fuhao%><%=rs("hw_price2")%><%=danwei%></span></td></tr> <tr><td align="center"><a href="basket.asp?hw_id=<%=rs("hw_id")%>"><img border="0" src="Img/buy1.gif"></a> <a href="views.asp?hw_id=<%=rs("hw_id")%>"><img border="0" src="Img/buy2.gif"></a></td></tr></table></td> <%if (i mod lookhang=0) and i>=lookhang then%></tr><tr><%end if%> <%rs.movenext loop%> </tr> <%end if%></table>