1799 |
raphael |
1 |
<div class="info-bulle-contenu">
|
|
|
2 |
<div class="onglets">
|
|
|
3 |
<ul>
|
|
|
4 |
<li class="inactif"><a class="onglet" onclick="chargerFormatObs('<?=$station_id?>', 'tableau');return false;" href="#">Tableau</a></li>
|
|
|
5 |
<li class="actif"><span class="onglet">Liste</span></li>
|
|
|
6 |
</ul>
|
|
|
7 |
</div>
|
|
|
8 |
<div id="observations">
|
|
|
9 |
<h2><?=count($observations)?> observations pour <?=(isset($commune) ? $commune : '?')?></h2>
|
|
|
10 |
<ol>
|
|
|
11 |
<? foreach ($observations as $obs) : ?>
|
|
|
12 |
<li>
|
|
|
13 |
<div>
|
|
|
14 |
<? if (isset($images[$obs['id']])) : ?>
|
|
|
15 |
<? foreach ($images[$obs['id']] as $num => $urls) : ?>
|
|
|
16 |
<div<?=($num == 0) ? ' class="cel-img-principale"': ' class="cel-img-secondaire"'?>>
|
|
|
17 |
<a class="cel-img" href="<?=$urls['normale']?>" rel="cel-obs-<?=$obs['id']?>">
|
|
|
18 |
<img src="<?=$urls['miniature']?>" alt="Image #<?=$urls['id']?> de l'osbervation #<?=$obs['id']?>" />
|
|
|
19 |
</a>
|
|
|
20 |
</div>
|
|
|
21 |
<? endforeach ?>
|
|
|
22 |
<? endif ?>
|
|
|
23 |
<dl>
|
|
|
24 |
<dt class="champ_nom_latin">Nom</dt>
|
|
|
25 |
<dd>
|
|
|
26 |
<? if (isset($obs['nn']) && $obs['nn'] != '' && $obs['nn'] != 0) : ?>
|
|
|
27 |
<a href="http://www.tela-botanica.org/bdtfx-nn-<?=$obs['nn']?>" onclick="window.open(this.href); arreter(event); return false; "><?=$obs['nom']?></a>
|
|
|
28 |
<? else : ?>
|
|
|
29 |
<?=$obs['nom']?>
|
|
|
30 |
<? endif; ?>
|
|
|
31 |
</dd>
|
|
|
32 |
<dt>Lieu</dt><dd> <?=$obs['lieu']?></dd>
|
|
|
33 |
<dt>Publié par</dt><dd> <?=$obs['observateur']?></dd>
|
|
|
34 |
<dt>Le</dt><dd> <?=$obs['date']?></dd>
|
|
|
35 |
</dl>
|
|
|
36 |
<hr class="nettoyage"/>
|
|
|
37 |
</div>
|
|
|
38 |
</li>
|
|
|
39 |
<? endforeach; ?>
|
|
|
40 |
</ol>
|
|
|
41 |
<? include(dirname(__FILE__).'/obs_msg_info.tpl.html') ?>
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|