getDadosBusca(); $erro = $app->getErro(); $dados = $app->getDados(); $su = $app->getDadosUsuario(); $e = isset($dados["get"]["e"]) ? $dados["get"]["e"] : NULL; $nw = isset($dados["get"]["nw"]) ? $dados["get"]["nw"] : NULL; $codNoticia = isset($dados["get"]["codNoticia"]) ? $dados["get"]["codNoticia"] : NULL; if (!$codNoticia) goToUrl($urlListar . "?bsc=ativar"); // Dados Notícia $not = new NoticiaModel($codNoticia); $not->setDados(); $codColunista = $not->getCodColunista(); $tmsPublicacao = dataExtenso($not->getTmsPublicacao()); $manchete = $not->getManchete(); $chamada = $not->getChamada(); $conteudo = $not->getConteudo(); $tags = $not->getTags(); $status = $not->getStatus(); unset($obj); // URL compartilhe $urlVerCompartilhe = $urlVer . "?codNoticia=" . $codNoticia; // Valida status da notícia if ($status != "A") goToUrl($urlListar . "?bsc=ativar"); // Obter a quantidade de comentário $qtdComentario = NoticiaComentarioModel::obterQtdComentario($codNoticia); ?>
| | comentou: