$cat_ant = "";
if (!$LLISTAT_FORMS->getNbResults()) {
    echo '<div>';
    echo '<div class="h_llistat_activitat_titol">No hem trobat cap resultat amb aquests paràmetres.</div>';
    echo '</div>';
    echo '<div style="margin-top:10px; clear:both;"></div>';
} else {
    foreach ($LLISTAT_FORMS->getResults() as $OF) {
        echo '<div style="margin-top:10px; margin-bottom:10px;">';
        echo '<div class="h_llistat_acivitat_titol">
                            <div style="float:left">
                                <a style="font-size:14px;" href="' . url_for('@hospici_formularis_detall?idF=' . $OF->getIdformularis() . '&titol=' . $OF->getNomForUrl()) . '">' . $OF->getNom() . '</a>
                            </div>';
        //Si apareix aquí és perquè es pot demanar per internet.
        $url = url_for('@hospici_formularis_detall?idF=' . $OF->getIdformularis() . '&titol=' . $OF->getNomForUrl());
        echo '<div style="float:right; margin-top: 5px;">' . myUser::ph_getEtiquetaFormulari($AUTH, $OF, $IDU) . '</div>';
        echo '</div>';
        echo '<div style="clear:both" class="h_llistat_activitat_organitzador">' . $OF->getDescripcio() . '</div>';
        echo '<div style="clear:both"></div>';
        echo '</div>';
        echo '<div style="height:1px; background-color:#CCCCCC; clear:both;"></div>';
    }
}
if ($LLISTAT_FORMS->getLastPage() > $LLISTAT_FORMS->getPage()) {
    echo '<div class="pagerE">' . setPagerN($LLISTAT_FORMS, '@hospici_cercador_formularis', false) . '</div>';
} else {
    echo '<div class="pagerE">' . setPagerN($LLISTAT_FORMS, '@hospici_cercador_formularis', true) . '</div>';
}
?>
                        
    </div>