New file |
0,0 → 1,28 |
<div id="calendrier_mini" class="calendrier"> |
<table> |
<caption><a href="<?=$url_mois_precedent;?>"><<</a> <?=$mois['mois'];?> |
<?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">>></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> |
</div> |