Product Category
<% sql = "Select * from category order by sortorder" set c = getrecordset(Sql) cnt = 0 if c.eof <> true and c.bof <> true then while c.eof <> true cnt = cnt + 1 %> <% if cnt = 3 then cnt = 0 %> <% end if c.movenext wend end if %>
 
    <%=es(c("category"))%>
">" width="135" height="136" border="0" alt="<%=es(c("category"))%>">
<% sql = "Select * from subcategory where catid="&c("catid") set s = getrecordset(Sql) if s.eof <> true and s.bof <> true then while s.eof <> true %>       &subid=<%=s("subcatid")%>" style="text-decoration:none" class="smalltextgreen"><%=es(s("subcategory"))%>
<% s.movenext wend end if %>