function PageNews(&$smarty, &$form)
{
    $tabela = $smarty->cfg['prefix'] . 'news';
    $smarty->assign($smarty->actualpage);
    $news = new Noticias($smarty, $form);
    $cfg = array("SetTable" => $tabela, "SetOrdenar" => $news->uri['por'], "SetOrder" => $news->uri["ord"], "SetCaption" => "*");
    $news->CreateSelectSQL($cfg, $smarty);
    $smarty->register_object("noticias", $news);
    $news->uri['tabela'] = $tabela;
    $news->uri['coluna'] = 'ID_NEWS';
    return $smarty->fetch("noticias_page.tpl");
}