Subversion Repositories Applications.gtt

Rev

Rev 73 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div id="calendrier_mini" class="calendrier">
        <h2>Calendrier</h2>
        <table>
                <caption><a href="<?=$url_mois_precedent;?>">&lt;&lt;</a> <?=$mois['mois'];?>
                <?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">&gt;&gt;</a></caption>
                <thead>
                        <tr>
                                <th>Lun</th>
                                <th>Mar</th>
                                <th>Mer</th>
                                <th>Jeu</th>
                                <th>Ven</th>
                                <th>Sam</th>
                                <th>Dim</th>
                        </tr>
                </thead>
                <tbody>
                        <?php foreach ($elements as $semaine) : ?>
                        <tr>
                                <?php foreach ($semaine as $jour) : ?>
                                <td class="<?=$jour['class'];?>"> <? if ($jour['class'] == 'jour_vide') :?>
                                <?=$jour['jour'];?> <? else :?> <a href="<?=$jour['url'];?>"><?=$jour['jour'];?></a>
                                <? endif;?></td>
                                <?php endforeach; ?>
                        </tr>
                        <?php endforeach; ?>
                </tbody>
        </table>
        <hr/>
</div>