<div class="BREADCUMB" style="width:700px; margin-left:20px; margin-right:20px; border-color:black; background-color: #DDDDDD; color:#656565; text-align:center; padding:5px 0px;"> <b><?php echo SitesPeer::getNom($IDS); ?> </b> </div>
if ($G) { echo '<b>' . $OM->getUsuaris()->getNom() . ' ' . $OM->getUsuaris()->getCog1() . '</b> de ' . $OM->getSiteNom(); } else { echo $OM->getUsuaris()->getNom() . ' ' . $OM->getUsuaris()->getCog1(); } ?> </div> </div> <!-- Publiquem les respostes associades --> <?php foreach ($M['RESPOSTES'] as $OR) { $OU = UsuarisPeer::retrieveByPK($OR->getIdusuari()); $NOM_SITE = SitesPeer::getNom($OR->getIdsite()); ?> <div style="float:left; width:500px;"> <div style="padding-bottom:5px; margin-left:10px; font-size:10px; color:#999"> <?php if ($G) { echo '<img width="10px" src="/images/template/arrow_redo.png" /><b>' . $OU->getNom() . ' ' . $OU->getCog1() . '</b> de ' . $NOM_SITE; } else { echo '<img width="10px" src="/images/template/arrow_redo.png" /><b>' . $OU->getNom() . ' ' . $OU->getCog1() . '</b>'; } ?> <?php echo ': ' . $OR->getText(); ?>
function Formularis_Llista($LFormularis) { ?> <table class="taula_llistat"> <tr> <th>Formulari</th> <th>Entitat</th> <th>Registrat</th> </tr> <?php if (empty($LFormularis)) { echo '<tr><td colspan="4">No s\'ha trobat cap formulari.</td></tr>'; } else { foreach ($LFormularis as $OFR) { $nom = SitesPeer::getNom($OFR->getSiteId()); $OF = $OFR->getFormulariss(); $OF = $OF[0]; $url = url_for('@hospici_formularis_detall?idF=' . $OF->getIdformularis() . '&titol=' . $OF->getNomForUrl()); echo '<tr> <td><a href="' . $url . '">' . $OF->getNom() . '</a></td> <td>' . $nom . '</td> <td>' . $OFR->getRegistrat() . '</td> </tr>'; } } ?> </table> <?php }
public function getNomSite() { return SitesPeer::getNom($this->getSiteId()); }