<% set prod_img=server.CreateObject("adodb.recordset") prod_img.open "select DefaultPicUrl,id from product where Elite = true and BigClassName='"&rsBigClass("BigClassName")&"' order by id asc",conn,1,3 if prod_img.recordcount>=1 then response.Write("") end if prod_img.close set prod_img=nothing %> |
" ><%=rsBigClass("BigClassName")%>
<% set rsSmallClass=server.CreateObject("adodb.recordset") rsSmallClass.open "Select * From SmallClass Where BigClassName='" & rsBigClass("BigClassName") & "'",conn,1,3 if not(rsSmallClass.bof and rsSmallClass.eof) then do while not rsSmallClass.eof %> <%=rsSmallClass("SmallClassName")%> | <% rsSmallClass.movenext loop end if rsSmallClass.close set rsSmallClass=nothing %> |