Subversion Repositories eFlore/Applications.cel

Rev

Rev 1455 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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