操 作: |
<%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%>
.Html target=_blank><%=pic(1)%>" border="0" onerror="this.src='img/noimage.jpg'" <%=sort_wh%> style="border: 1px solid #C0C0C0"> |
<%next%>
名 称: |
<%for i=0 to ubound(comid)%>
.Html target=_blank><%=rs(i)("hw_name")%> |
<%next%>
市 场 价: |
<%for i=0 to ubound(comid)%>
<%=fuhao%> <%=FormatNum(rs(i)("hw_price1"))%><%=danwei%> |
<%next%>
本 站 价: |
<%for i=0 to ubound(comid)%>
<%=fuhao%> <%=FormatNum(rs(i)("hw_price2"))%><%=danwei%> |
<%next%>
品 牌: |
<%for i=0 to ubound(comid)%>
<%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%>
|
<%next%>
库 存: |
<%for i=0 to ubound(comid)%>
<%if rs(i)("hw_kucun")>=3 then%>库存充足<%elseif rs(i)("hw_kucun")<3 and rs(i)("hw_kucun")>0 then%>库存有限,请抓紧抢购<%else%>暂时缺货<%end if%> |
<%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%>
class="cartshow0"<%else%> class="cartshow1"<%end if%>>
<%=zd(st)%>: |
<%for i=0 to ubound(comid)
ziduan=split(rs(i)("ziduan"),"##")
%>
class="cartshow0"<%else%> class="cartshow1"<%end if%>>
<%if ziduan(st)<>"" then%><%=ziduan(st)%><%else%>--<%end if%> |
<%next%>
<%end if
next
rsd.close
set rsd=nothing%>
|