<%seo_title="商品对比-"&sitename%>
<% hw_id=request("hw_id") action=request("action") select case action case "add" chkid(hw_id) comadd(hw_id) case "del" chkid(hw_id) comdel(hw_id) case "delall" comdelall end select comid=split(Request.Cookies("venshop")("com"),"/") if Request.Cookies("venshop")("com")="" then%>
   :: 您选择加入对比的商品有:
您还没有选择任何商品进行对比,返回
<%else%>
   :: 您选择加入对比的商品有:(<%=ubound(comid)+1%>件商品)<%if ubound(comid)>=4 then%>小提示:您选择对比的商品数较多,请移动滚动条查看全部商品<%end if%>
<%for i=0 to ubound(comid) hw_id=trim(comid(i)) redim rs(i) set rs(i)=server.CreateObject("adodb.recordset") rs(i).open "select * from venshop_hw where hw_id="&hw_id&"",conn,1,3%> <%next%> <%for i=0 to ubound(comid) hw_id=trim(comid(i)) set rs(i)=server.CreateObject("adodb.recordset") rs(i).open "select * from venshop_hw where hw_id="&hw_id&"",conn,1,3%> <%next%> <%for i=0 to ubound(comid)%> <%next%> <%for i=0 to ubound(comid)%> <%next%> <%for i=0 to ubound(comid)%> <%next%> <%for i=0 to ubound(comid)%> <%next%> <%for i=0 to ubound(comid)%> <%next%> <% sortsid=rs(0)("sort_id") set rsd=server.CreateObject("adodb.recordset") rsd.open "select ziduan from venshop_sort where sort_id="&sortsid&"",conn,1,3 ziduan=rsd("ziduan") zd=split(ziduan,"##") stt=-1 for st=0 to 49 if zd(st)<>"" then stt=-stt%> <%for i=0 to ubound(comid) ziduan=split(rs(i)("ziduan"),"##") %> <%next%> <%end if next rsd.close set rsd=nothing%>
操    作: 取消     定购
图    片: .Html target=_blank><%=pic(1)%>" border="0" onerror="this.src='img/noimage.jpg'" <%=sort_wh%> style="border: 1px solid #C0C0C0">
名    称: .Html target=_blank><%=rs(i)("hw_name")%>
市 场 价: <%=fuhao%> <%=FormatNum(rs(i)("hw_price1"))%><%=danwei%>
本 站 价: <%=fuhao%> <%=FormatNum(rs(i)("hw_price2"))%><%=danwei%>
品    牌: <%if rs(i)("pinpai_id")<>"" then hw_pinpai=rs(i)("pinpai_id") set rsd=server.CreateObject("adodb.recordset") rsd.open "select * from venshop_pinpai where pinpai_id="&hw_pinpai&"",conn,1,3 if not rsd.eof then pinpai_name=rsd("pinpai_name") pinpai_id=rsd("pinpai_id")%>-1.html" target=_blank><%=pinpai_name%><%else%>--<%end if rsd.close set rsd=nothing%><%else%>--<%end if%>
库    存: <%if rs(i)("hw_kucun")>=3 then%>库存充足<%elseif rs(i)("hw_kucun")<3 and rs(i)("hw_kucun")>0 then%>库存有限,请抓紧抢购<%else%>暂时缺货<%end if%>
class="cartshow0"<%else%> class="cartshow1"<%end if%>> <%=zd(st)%>: class="cartshow0"<%else%> class="cartshow1"<%end if%>> <%if ziduan(st)<>"" then%><%=ziduan(st)%><%else%>--<%end if%>
<%for i=0 to ubound(comid)%><%rs(i).close set rs(i)=nothing next end if%>