Subversion Repositories Applications.gtt

Rev

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

Rev Author Line No. Line
73 jpm 1
<div id="calendrier_mini" class="calendrier">
75 jpm 2
	<h2>Calendrier</h2>
73 jpm 3
	<table>
4
		<caption><a href="<?=$url_mois_precedent;?>">&lt;&lt;</a> <?=$mois['mois'];?>
5
		<?=$mois['annee'];?> <a href="<?=$url_mois_suivant;?>">&gt;&gt;</a></caption>
6
		<thead>
7
			<tr>
8
				<th>Lun</th>
9
				<th>Mar</th>
10
				<th>Mer</th>
11
				<th>Jeu</th>
12
				<th>Ven</th>
13
				<th>Sam</th>
14
				<th>Dim</th>
15
			</tr>
16
		</thead>
17
		<tbody>
18
			<?php foreach ($elements as $semaine) : ?>
19
			<tr>
20
				<?php foreach ($semaine as $jour) : ?>
21
				<td class="<?=$jour['class'];?>"> <? if ($jour['class'] == 'jour_vide') :?>
22
				<?=$jour['jour'];?> <? else :?> <a href="<?=$jour['url'];?>"><?=$jour['jour'];?></a>
23
				<? endif;?></td>
24
				<?php endforeach; ?>
25
			</tr>
26
			<?php endforeach; ?>
27
		</tbody>
28
	</table>
75 jpm 29
	<hr/>
73 jpm 30
</div>