<% if request("temaID") <> "" then temaID = request("temaID") else temaID = 57 end if if request("temaID") <> "" then if request("temaID") = "58" then sNumber = "2" %>
<%else sNumber = "" %>
<% end if else sNumber = "" %>
<% end if 'end if %>
<%if request("temaID") <> "" then %> .png" border="0" style="margin-left:173px;margin-top:16px;"> <% else %> <% end if %>
<% gridSQL = "select * from fotos where status = 1 and temaID = "&temaID&" order by publishdate desc, publishtime desc" set grid = cn.execute(gridSQL) if not grid.eof then %> <%end if%>