|
<% do while not lista.eof
id = lista("id")
texto = lista("texto")
titulo = lista("titulo")
data = lista("data")
album = lista("album")
imagem = lista("imagem") %>
<%=titulo%> - Data da Postagem:
<% =data%>
<% if imagem="" then %>
<%else%>
<% end if %>
<%=texto%>
<% if album=True AND verfotos<>"s" then %>
<% end if %>
<% Set listaComen = conexaoDB.Execute("SELECT id,idBlog from comentarios WHERE idBlog="&id)
if listaComen.Eof then
%>
<% else %>
<% end if %>

<% lista.movenext
loop %>
|
<% if month(date)=1 then
mes="Janeiro"
else if month(date)=2 then
mes="Fevereiro"
else if month(date)=3 then
mes="Março"
else if month(date)=4 then
mes="Abril"
else if month(date)=5 then
mes="Maio"
else if month(date)=6 then
mes="Junho"
else if month(date)=7 then
mes="Julho"
else if month(date)=8 then
mes="Agosto"
else if month(date)=9 then
mes="Setembro"
else if month(date)=10 then
mes="Outubro"
else if month(date)=11 then
mes="Novembro"
else if month(date)=12 then
mes="Dezembro"
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
%>

<%=mes%>/<%=year(date)%>
<% dataM= month(listaMes("data"))
dataA= year(listaMes("data"))
dataM2= month(date)
dataA2= year(date)
do while not (dataM=dataM2 and dataA=dataA2)
if dataM2=1 then
dataM2=13
dataA2=dataA2-1
end if
dataM2=dataM2-1
if dataM2=1 then
mes="Janeiro"
else if dataM2=2 then
mes="Fevereiro"
else if dataM2=3 then
mes="Março"
else if dataM2=4 then
mes="Abril"
else if dataM2=5 then
mes="Maio"
else if dataM2=6 then
mes="Junho"
else if dataM2=7 then
mes="Julho"
else if dataM2=8 then
mes="Agosto"
else if dataM2=9 then
mes="Setembro"
else if dataM2=10 then
mes="Outubro"
else if dataM2=11 then
mes="Novembro"
else if dataM2=12 then
mes="Dezembro"
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
end if
%>
<%=mes%>/<%=dataA2%>
<% loop %>
|