Subversion Repositories eFlore/Applications.cel

Rev

Details | Last modification | View Log | RSS feed

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