<% call connect CAT_TEMP = 1 dim no, ft, nt, ns, ms, vdb, kw set ms = con.execute("SELECT TOP 4 * FROM TB_MENSAGENS WHERE STATUS=TRUE ORDER BY COD_MENSAGEM DESC") set nt = con.execute("SELECT TOP 4 * FROM TB_NOTICIAS WHERE STATUS=TRUE ORDER BY ID DESC") set no = con.execute("SELECT TOP 4 * FROM TB_NOVIDADES WHERE STATUS=TRUE ORDER BY ID DESC") set ns = con.execute("SELECT TOP 6 * FROM TB_NOTICIAS WHERE (ID_CATEGORIA = " & CAT_TEMP & " AND STATUS=TRUE) ORDER BY ID DESC") set ft = con.execute("SELECT TOP 2 * FROM TB_FOTOS WHERE (ID_CATEGORIA = " & CAT_TEMP & " AND STATUS=TRUE) ORDER BY ID DESC") set vdb = con.execute("SELECT TOP 1 * FROM TB_BANNER_TOPO WHERE STATUS=TRUE ORDER BY ID DESC") set kw = con.execute("SELECT TOP 1 * FROM TB_KEYWORDS WHERE STATUS=TRUE ORDER BY ID DESC") %> Quem Somos - ALAS - Associação Luterana de Assistência Social - IELB " />

<% call desconnect %>