Subversion Repositories eFlore/Applications.cel

Rev

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

Rev Author Line No. Line
521 jpm 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>
468 jpm 12
				<tr>
521 jpm 13
					<th>Nom</th><th>Date</th><th>Lieu</th><th>Observateur</th>
468 jpm 14
				</tr>
521 jpm 15
			</thead>
16
			<tbody>
17
				<? foreach ($observations as $obs) : ?>
18
					<tr>
545 jpm 19
						<td>&nbsp;
1455 aurelien 20
						<? if (isset($obs['nn']) && $obs['nn'] != '' && $obs['nn'] != 0) : ?>
1666 aurelien 21
							<a href="http://www.tela-botanica.org/<?=$obs['referentiel']?>-nn-<?=$obs['nn']?>" onclick="window.open(this.href); arreter(event); return false; "><?=$obs['nom']?></a>
521 jpm 22
						<? else : ?>
23
							<?=$obs['nom']?>
24
						<? endif; ?>
25
						</td>
545 jpm 26
						<td>&nbsp;<?=$obs['date']?></td>
27
						<td>&nbsp;<?=$obs['lieu']?></td>
28
						<td>&nbsp;<?=$obs['observateur']?></td>
521 jpm 29
					</tr>
30
				<? endforeach; ?>
31
			</tbody>
32
		</table>
33
		<? include(dirname(__FILE__).'/obs_msg_info.tpl.html') ?>
34
	</div>
479 jpm 35
</div>