Tur - Diário do Nordeste

Tur

#if($m.context.page.pathAfterPage.size() > 0) #set($pos = 0) #if($m.context.page.pathAfterPage.size() > 1) #set($pos = $m.context.page.pathAfterPage.size() - 1) #end #set($idNoticia = $m.context.page.pathAfterPage.get($pos)) #end #set($noticia = $tool_domain.getModel($idNoticia)) ##HEADER #parse("/WEB-INF/velocity/www/jogada/commons/header.vm") #parse("/WEB-INF/velocity/www/jogada/commons/header-mobile.vm")
##Inicio conteudo
## Aqui ser� exibido o Script do banner cadastrado no polopoly #render({"content": $content.banner_superBanner, "":""})
#if($content.multimidia.checked) #set($idVideo = $m.request.httpRequest.getParameter("id")) #set($description = $m.request.httpRequest.getParameter("description")) #set($playerSambaChannel = $m.request.httpRequest.getParameter("playerChanel")) #set($tipo = $m.request.httpRequest.getParameter("tipo")) #set($URL = $m.request.httpRequest.getRequestURL())

$!description

#if($tipo.equals("youtube")) #else #if($!playerSambaChannel) #else #end #end #else #if($idNoticia) #render({"content": $idNoticia, "params":{"view":"article"}, "":""}) #end #if($content.banners590x335.list.size() > 0 && $noticia.images_galeria.list.size() == 0) $!content.banners590x335.list.get(0).content.code.value #end
#end #set($tag = $tool_domain.getDateURL($request.getRequestURI())) #set($noticiasRelacionadasSlot = $content.noticiasRelacionadas.slotElements.list.get(0)) #set($noticiasRelacionadas = $noticiasRelacionadasSlot.content.publishingQueue.list.get(0).content.contentList) #set($qtdMaxima = $noticiasRelacionadasSlot.content.maximumAmount.value) ##set($tipo = $entry.content.get("_data").getInputTemplate().getExternalId().getExternalId()) ##>>$tipo ##$!lista.content.get("_data").setCategoria("$tag") ##$!entry.contentId.value

notícias relacionadas

#set($categ = $noticia.categorization.get("_data").content.getItemSelectedCategories()) #set($tipo = $noticiasRelacionadasSlot.content.publishingQueue.list.get(0).content.get("_data").getInputTemplate().getExternalId().getExternalId()) #set($relacionadasConteudo = $noticiasRelacionadasSlot.content.publishingQueue.list.get(0).content.get("_data")) #set($relacionadas = []) #foreach($categories in $categ) $relacionadasConteudo.setCategoria("$categories") #set($noticiasRelacionadas = $noticiasRelacionadasSlot.content.publishingQueue.list.get(0).content.contentList) #foreach($entry in $noticiasRelacionadas) #set($tamRelacioadas = $relacionadas.size()) #if(((!$relacionadas.contains($entry.contentId)) || ($relacionadas.size() == 0)) && ($math.toInteger($tamRelacioadas) < $math.toInteger($qtdMaxima)) && ($entry.contentId != $idNoticia)) #set($noticiaAdicionada = $relacionadas.add($entry.contentId)) #set($path = $tool_path.concat($m.context.page.contentPath, $entry.contentId)) #end #end #end
##Veja mais >

Última Hora

#render({"content": $!content.ultimaHora,"params": {"modeUltimas":"sim","":""},"":""})
#render({"content": $content.maiscampeonatos,"":""})
#render({"content": $content.classificacao,"":""})
#parse("/WEB-INF/velocity/www/jogada/commons/footer.vm") #parse("/WEB-INF/velocity/www/jogada/commons/footer-mobile.vm")