Ejemplo n.º 1
0
        } else {
            echo '  <div style="float:right">
                                    <div class="requadre_mini" style="color:white; background-color:#FFCC00;">
                                        <a class="auth" href="' . $url . '" name="link_compra" style="text-decoration:none;">Reservar espai</a>
                                    </div>
                                </div>';
        }
        echo '</div>';
        echo '<div style="clear:both">';
        foreach ($OE->getFotos() as $OM) {
            echo '<a class="lightbox" href="/images/multimedia/' . $OM->getLargeImage() . '"><img src="/images/multimedia/' . $OM->getUrl() . '" height="30" alt="" /></a>';
        }
        echo '</div>';
        //echo '<div style="clear:both" class="h_llistat_activitat_organitzador">Entitat: '.$OE->getSiteName().'</div>';
        //echo '<div class="h_llistat_activitat_horari">|&nbsp;&nbsp;+info </div>';
        echo '<div style="clear:both"></div>';
        echo '</div>';
        echo '<div style="height:1px; background-color:#CCCCCC; clear:both;"></div>';
        $cat_ant = $OE->getSiteId();
    }
}
if ($LLISTAT_ESPAIS->getLastPage() > $LLISTAT_ESPAIS->getPage()) {
    echo '<div class="pagerE">' . setPagerN($LLISTAT_ESPAIS, '@hospici_cercador_espais', false) . '</div>';
} else {
    echo '<div class="pagerE">' . setPagerN($LLISTAT_ESPAIS, '@hospici_cercador_espais', true) . '</div>';
}
?>
                        
    </div>
</div>
Ejemplo n.º 2
0
    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>
</div>
Ejemplo n.º 3
0
        //Si la categoria és diferent a l'anterior la mostrem
        if ($cat_ant != $OC->getCategoria()) {
            echo '<div class="h_llistat_activitat_tipus_titol">' . $OC->getCategoriaText() . '</div>';
        }
        echo '<div class="h_llistat_acivitat_titol">
                            <div style="float:left;">
                                <a style="font-size:14px;" href="' . url_for('@hospici_detall_curs?idC=' . $OC->getIdcursos() . '&titol=' . $OC->getNomForUrl()) . '">' . $OC->getTitolcurs() . ' </a><span style="font-size:10px; color:gray;"> (' . $OC->getCodi() . ')</span>
                            </div>';
        $url = url_for('@hospici_detall_curs?idC=' . $OC->getIdcursos() . '&titol=' . $OC->getNomForUrl());
        echo '<div style="float:right; margin-top: 5px;">' . myUser::ph_getEtiquetaCursos($AUTH, $OC, $url, $CURSOS_MATRICULATS) . '</div>';
        echo '</div>';
        echo '<div style="clear:both" class="h_llistat_activitat_horari">Inici: ' . $DATA_INICI . '</div>';
        echo '<div class="h_llistat_activitat_organitzador">|&nbsp;&nbsp;Organitza: ' . $OC->getNomSite() . '</div>';
        echo '<div style="clear:both"></div>';
        echo '</div>';
        echo '<div style="height:1px; background-color:#CCCCCC; clear:both;"></div>';
        $cat_ant = $OC->getCategoria();
    }
}
if ($LLISTAT_CURSOS->getLastPage() > $LLISTAT_CURSOS->getPage()) {
    echo '<div class="pagerE">' . setPagerN($LLISTAT_CURSOS, '@hospici_cercador_cursos', false) . '</div>';
} else {
    echo '<div class="pagerE">' . setPagerN($LLISTAT_CURSOS, '@hospici_cercador_cursos', true) . '</div>';
}
//        if(!empty($LCUR)) echo '<div class="pagerE">'.setPagerN($LLISTAT_CURSOS,'@hospici_cercador_cursos',false).'</div>';
//        else echo '<div class="pagerE">'.setPagerN($LLISTAT_CURSOS,'@hospici_cercador_cursos',true).'</div>';
?>
                        
    </div>
</div>
Ejemplo n.º 4
0
    foreach ($LACT as $OA) {
        echo '<div style="margin-top:10px; margin-bottom:10px;">';
        //Si la categoria és diferent a l'anterior la mostrem
        if ($cat_ant != $OA->getTipusactivitatIdtipusactivitat()) {
            echo '<div class="h_llistat_activitat_tipus_titol">' . $OA->getNomTipusActivitat() . '</div>';
        }
        echo '<div class="h_llistat_acivitat_titol">
                            <div style="float:left">
                                <a href="' . url_for('@hospici_detall_activitat?idA=' . $OA->getActivitatid() . '&titol=' . $OA->getNomForUrl()) . '">' . $OA->getTMig() . '</a>
                            </div>
                                                    
                            <div style="float:right">' . myUser::ph_getEtiquetaActivitats($AUTENTIFICAT, $OA, $ACTIVITATS_AMB_ENTRADES) . '
                            </div>';
        echo '</div>';
        echo '<div style="clear:both" class="h_llistat_activitat_horari">' . generaHorarisCompactat($OA->getHorariss($C)) . '</div>';
        echo '<div class="h_llistat_activitat_organitzador">|&nbsp;&nbsp;Organitza: ' . $OA->getNomSite() . '</div>';
        echo '<div style="clear:both"></div>';
        echo '</div>';
        echo '<div style="height:1px; background-color:#CCCCCC; clear:both;"></div>';
        $cat_ant = $OA->getTipusactivitatIdtipusactivitat();
    }
}
if (!empty($LACT)) {
    echo '<div class="pagerE">' . setPagerN($LLISTAT_ACTIVITATS, '@hospici_cercador_activitats', false) . '</div>';
} else {
    echo '<div class="pagerE">' . setPagerN($LLISTAT_ACTIVITATS, '@hospici_cercador_activitats', true) . '</div>';
}
?>
                        
    </div>
</div>