Subversion Repositories Applications.gtt

Rev

Rev 75 | 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) : ?>
198 killian 21
				<td class="<?=$jour['class'];?>"> <?php if ($jour['class'] == 'jour_vide') :?>
22
				<?=$jour['jour'];?> <?php else :?> <a href="<?=$jour['url'];?>"><?=$jour['jour'];?></a>
23
				<?php endif;?></td>
73 jpm 24
				<?php endforeach; ?>
25
			</tr>
26
			<?php endforeach; ?>
27
		</tbody>
28
	</table>
75 jpm 29
	<hr/>
198 killian 30
</div>