<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> 上方整合传播机构
<% ' response.Write("dot..") ' response.End() dim ProID, photo1,photo2, maxid , minid ProID = int(Request.QueryString("ID")) Minid = int(Request.QueryString("minid")) Maxid = int(Request.QueryString("maxid")) 'ProID = isnum if maxid = 0 then maxid = 79 end if %>
上方,是我们前行的方向和目标
<% '找出显示的大类 set RsMinList = server.CreateObject("adodb.recordset") SqlMinList = " SELECT A.MaxID, A.MinID, A.MinName, A.MinRank FROM ProductMin20 AS A Where A.MaxID = "&MaxID&" ORDER BY A.MinRank " RsMinList.open SqlMinList, objConn, 1, 1 if RsMinList.eof or RsMinList.bof then response.Write("参数错误maxid=")&maxid response.End() else do while not RsMinList.eof Minid = Rsminlist("MinID") set RsList = server.CreateObject("adodb.recordset") SqlList = "SELECT * FROM ProductList20 where MinID = "& minid &" ORDER BY ProRank, ProUpdateTime DESC " 'response.Write("
slqlist")&sqllist RsList.open SqlList, objConn, 1, 1 if MinID = 0 then colorset3 = "msyh15_green2" else if ProID = RsList("ProID") then colorset3 = "msyh15_green2" else 'response.Write(ProID) ' response.Write("ProID=")&RsList("ProID") colorset = "msyh15_hs" end if end if if not(RsList.bof and RsList.eof) then %>

<%=RsMinList("minname")%>: <% dim colorset i = 1 do while i < 100 and not RsList.eof if ProID = 0 then if i = 1 then colorset = "msyh15_green2" else colorset = "msyh15_hs" end if ProID = RsList("ProID") else if ProID = RsList("ProID") then colorset = "msyh15_green2" else 'response.Write(ProID) ' response.Write("ProID=")&RsList("ProID") colorset = "msyh15_hs" end if end if %> &minid=<%=minid%>"><%=RsList("ProName")%> 、  <% i= i + 1 RsList.movenext loop %>

<% else %>

<%=RsMinList("minname")%>: 数据更新中...

<% end if RsList.close set RsList = nothing RsMinList.movenext loop end if '大类结束 RsMinList.close Set RsMinList = Nothing %>
<% set RsList = server.CreateObject("adodb.recordset") SqlList = "SELECT * FROM ProductList20 where ProID = "&ProID&" ORDER BY ProRank, ProUpdateTime DESC " ' response.Write(sqllist) RsList.open SqlList, objConn, 1, 1 if not(RsList.bof and RsList.eof) then photo1 = RsList("ProImage1") photo2 = RsList("ProImage2") titile1 = RsList("titile") %>
    <% dim image11 , image22, n11, n22 , n33 image11 = Split(photo1,"|") image22 = Split(photo2,"|") n11 = UBound(image11) n22 = UBound(image11) if n11 > n22 then n33 = n22 - 1 else n33 = n11 - 1 end if For i8 = 0 To n33 filename11 = Split(image11(i8),"@") filename22 = Split(image22(i8),"@") %>
  • <% Next else response.Write("
  • 数据更新中...
  • ") end if RsList.close set RsList = nothing %>
深圳市上步路国企大厦B座26C      电话:0755 - 2238 4158   传真:0755 - 2238 5058