示例#1
0
                        </th>
                        <th>
                            Data e luogo
                        </th>
                        <th>
                            Stato
                        </th>

                        <th>
                            Azione
                        </th>
                    </thead>

                    <?php 
if ($me->admin()) {
    $corsi = CorsoBase::elenco();
} else {
    $corsi = $me->corsiBaseDiGestione();
}
foreach ($corsi as $corso) {
    // autorisolutore problemi dei direttori mancanti
    $direttore = $corso->direttore();
    if (!$direttore) {
        $corso->stato = CORSO_S_DACOMPLETARE;
    }
    ?>

                    <tr>

                    	<td style="width: 20%;">
                            <?php