示例#1
0
<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>
示例#2
0
        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();
            ?>
示例#3
0
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 
}
示例#4
0
文件: Cursos.php 项目: nagiro/intra
 public function getNomSite()
 {
     return SitesPeer::getNom($this->getSiteId());
 }