Subversion Repositories eFlore/Applications.cel

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
468 jpm 1
<div class="onglets">
2
	<ul>
479 jpm 3
		<li class="actif"><span class="onglet">Tableau</span></li>
4
		<li class="inactif"><a class="onglet" onclick="chargerFormatObs('<?=$station_id?>', 'liste');return false;" href="#">Liste</a></li>
468 jpm 5
	</ul>
6
</div>
7
<div id="observations">
8
	<table>
475 jpm 9
		<caption><h2><?=count($observations)?> observations pour <?=(isset($commune) ? $commune : '?')?></h2></caption>
468 jpm 10
		<thead>
11
			<tr>
12
				<th>Nom</th><th>Date</th><th>Lieu</th><th>Observateur</th>
13
			</tr>
14
		</thead>
15
		<tbody>
16
			<? foreach ($observations as $obs) : ?>
17
				<tr>
507 jpm 18
					<td>
19
					<? if (isset($obs['nn'])) : ?>
20
						<a href="http://www.tela-botanica.org/nn<?=$obs['nn']?>" onclick="window.open(this.href); arreter(event); return false; "><?=$obs['nom']?></a>
21
					<? else : ?>
22
						<?=$obs['nom']?>
23
					<? endif; ?>
24
					</td>
468 jpm 25
					<td><?=$obs['date']?></td>
26
					<td><?=$obs['lieu']?></td>
27
					<td><?=$obs['observateur']?></td>
28
				</tr>
29
			<? endforeach; ?>
30
		</tbody>
31
	</table>
492 jpm 32
	<? include(dirname(__FILE__).'/obs_msg_info.tpl.html') ?>
479 jpm 33
</div>