Exemple #1
0
<div class="h_requadre_resultats">
    <div class="h_subtitle_gray c1">
        L'HOSPICI...
    </div>    
        
    <?php 
if ($CURS instanceof Cursos) {
    $datai = $CURS->getDatainmatricula('U');
    $url = url_for('@hospici_detall_curs?idC=' . $CURS->getIdcursos() . '&titol=' . $CURS->getNomForUrl());
    $MatAntIdi = CursosPeer::IsAnticAlumne($CURS->getIdcursos(), $CURSOS_MATRICULATS);
    $dataiA = mktime(0, 0, 0, 9, 12, 2011);
    $OS = SitesPeer::retrieveByPK($CURS->getSiteId());
    $nom = $OS->getNom();
    $email = $OS->getEmailString();
    $tel = $OS->getTelefonString();
    $ESTAT = myUser::ph_EstatCurs($AUTH, $CURS, $url, $CURSOS_MATRICULATS);
    //Carrego la imatge del site
    $imatge = SitesPeer::getSiteLogo($CURS->getSiteId());
    //Si l'entitat té un pdf, l'hauríem de carregar.
    if (empty($pdf)) {
        $pdf = 0;
    }
    ?>
			<div style="border:0px solid #96BF0D; clear:both; padding:10px;">
				<div style="font-size:11px"><b><?php 
    echo $CURS->getTitolcurs();
    ?>
</b><br /><span style="color: gray;"><?php 
    echo $nom;
    ?>
</span></div>