Produtos
<% sqlplantao = "select * from categoria order by categoria asc" set categoria = server.createobject("ADODB.Recordset") categoria.Open sqlplantao, confest %>
<% contar = 0 do while not categoria.EOF %> <% contar = contar + 1 if contar = 1 then response.Write("") contar = 0 end if response.cookies("categoria") = categoria("id") categoria.movenext loop %>
"> <% =categoria("categoria") %>
<% sqlplantao = "select * from produtos order by id asc" set pro = server.createobject("ADODB.Recordset") pro.MaxRecords = 16 pro.Open sqlplantao, confest %> <% contar = 0 do while not pro.EOF %> <% contar = contar + 1 if contar = 4 then response.Write("") contar = 0 end if response.cookies("produtos") = pro("id") pro.movenext loop %>
" title="<%=pro("descricao")%>" rel="lightbox[foto<%=pro("id")%>]">" height="150" border="0" align="absbottom" />" title="<%=pro("descricao")%>" rel="lightbox[foto<%=pro("id")%>]">" title="<%=pro("descricao")%>" rel="lightbox[foto<%=pro("id")%>]">" title="<%=pro("descricao")%>" rel="lightbox[foto<%=pro("id")%>]">" title="<%=pro("descricao")%>" rel="lightbox[foto<%=pro("id")%>]">

<% =pro("nome") %>