| <%=noticia.getTitulo()%> |
| |
<%
java.sql.Time horan = noticia.getHoraPublicacao();
if (horan == null) {
horan = noticia.getHora();
}
java.util.Date datan = noticia.getDataPublicacao();
if (datan==null) {
datan = noticia.getData();
}
Calendario calendarioNoticia = new Calendario(horan);
%>
| <%=datan.toString().substring(8,10)%>/<%=datan.toString().substring(5,7)%>/<%=datan.toString().substring(0,4)%> às <%=calendarioNoticia.getHoraMinuto()%> |
|
<% {
String imagem1 = noticia.getFiguraChamada();
ImageSize2 imageSize = new ImageSize2();
int largura = 0;
if(imagem1!=null && !imagem1.trim().equals("") && imageSize.criaImageSize(imagem1)){
imageSize.travarLarguraAtura(200, 150);
largura = imageSize.getLarguraProporcional();
int larguraOriginal = 0;
int alturaOriginal = 0;
String caminhoReal = request.getRealPath("/");
ImageInfo imageInfo = new ImageInfo();
imageInfo.setInput(new FileInputStream(caminhoReal + "jsp/noticias/images/temp/" + imagem1));
imageInfo.setDetermineImageNumber(true);
if (imageInfo.check()) {
larguraOriginal = imageInfo.getWidth();
alturaOriginal = imageInfo.getHeight();
}
%>
<%
String credito = noticia.getCreditoChamada();
if (credito != null && !credito.equals("")) {
%>
| <%=credito%> |
<%
}
%>
|
<%
String legenda = noticia.getLegendaChamada();
if (legenda != null && !legenda.equals("")) {
%>
| <%=legenda%> |
<%
}
%>
<%
}
}
%>
<%=TextTools.getHtmlFormat2(noticia.getChamada())%> |
<%=noticia.getCorpo()%>
<%
Vector comps = GerenteDeComplemento.retornar(noticia.getCodigo());
if( comps!= null){ %>
<%
for(int j=0; j
style="display:'none'">
<%=comp.getConteudo()%>
<% }
}
%>
<%
Audio audio = GerenteDeAudios.retornar(noticia.getCodigo());
if( audio != null) {
%>
Áudios relacionados:
<%=audio.getDescricao()%>
<%
}
%>
<%
String fonte=noticia.getFonte();
if(fonte!=null && !fonte.trim().equals("")){
%>
Fonte: <%=fonte%>
<%
}
%>
© Todas as matérias
poderão ser reproduzidas desde que citada
a fonte. |
|
|
<%
if(ultimasIterator.hasNext()) {
%>
<%
for (int i = 0 ;i<5; i++)
{
if (ultimasIterator.hasNext()){
Canal canalTemp = null;
java.sql.Time hora;
java.sql.Date data;
Calendario cal, cal2;
noticia=(Noticia)ultimasIterator.next();
hora=noticia.getHoraPublicacao();
if(hora==null)
hora=noticia.getHora();
cal=new Calendario(hora);
data=noticia.getDataPublicacao();
if(data==null)
data=noticia.getData();
cal2=new Calendario(data);
canalTemp=noticia.getCanalObjeto();
%>
| <%=cal2.getData()%> às <%=cal.getHoraMinutoExpress()%>: <%=noticia.getTitulo()%> |
|
<%
}
}
%>
| Outras » |
<%
}
%> |
|