547 |
jpm |
1 |
|
521 |
jpm |
2 |
<div class="info-bulle-contenu">
|
547 |
jpm |
3 |
<!-- Javascript : Fancybox -->
|
|
|
4 |
<script type="text/javascript">
|
|
|
5 |
//<![CDATA[
|
|
|
6 |
$(document).ready(function() {
|
|
|
7 |
$('a.cel-img').fancybox({
|
|
|
8 |
'autoDimensions': false,
|
|
|
9 |
'transitionIn' : 'elastic',
|
|
|
10 |
'transitionOut' : 'elastic',
|
|
|
11 |
'speedIn' : 600,
|
|
|
12 |
'speedOut' : 200,
|
|
|
13 |
'overlayShow' : true
|
|
|
14 |
});
|
|
|
15 |
});
|
|
|
16 |
//]]>
|
|
|
17 |
</script>
|
521 |
jpm |
18 |
<div class="onglets">
|
|
|
19 |
<ul>
|
|
|
20 |
<li class="inactif"><a class="onglet" onclick="chargerFormatObs('<?=$station_id?>', 'tableau');return false;" href="#">Tableau</a></li>
|
|
|
21 |
<li class="actif"><span class="onglet">Liste</span></li>
|
|
|
22 |
</ul>
|
|
|
23 |
</div>
|
|
|
24 |
<div id="observations">
|
|
|
25 |
<h2><?=count($observations)?> observations pour <?=(isset($commune) ? $commune : '?')?></h2>
|
|
|
26 |
<ol>
|
|
|
27 |
<? foreach ($observations as $obs) : ?>
|
|
|
28 |
<li>
|
547 |
jpm |
29 |
<? if (isset($images[$obs['id']])) : ?>
|
|
|
30 |
<? foreach ($images[$obs['id']] as $num => $urls) : ?>
|
|
|
31 |
<div<?=($num == 0) ? '': ' style="display:none;"'?>>
|
|
|
32 |
<a class="cel-img" href="<?=$urls['L']?>" rel="cel-obs-<?=$obs['id']?>" >
|
|
|
33 |
<img src="<?=$urls['S']?>" alt="Image #<?=$urls['id']?> de l'osbervation #<?=$obs['id']?>" style="float:right;height:75px;"/>
|
|
|
34 |
</a>
|
|
|
35 |
</div>
|
|
|
36 |
<? endforeach ?>
|
|
|
37 |
<? endif ?>
|
521 |
jpm |
38 |
<dl>
|
|
|
39 |
<dt class="champ_nom_latin">Nom</dt>
|
545 |
jpm |
40 |
<dd>
|
521 |
jpm |
41 |
<? if (isset($obs['nn'])) : ?>
|
|
|
42 |
<a href="http://www.tela-botanica.org/nn<?=$obs['nn']?>" onclick="window.open(this.href); arreter(event); return false; "><?=$obs['nom']?></a>
|
|
|
43 |
<? else : ?>
|
|
|
44 |
<?=$obs['nom']?>
|
|
|
45 |
<? endif; ?>
|
|
|
46 |
</dd>
|
545 |
jpm |
47 |
<dt>Lieu</dt><dd> <?=$obs['lieu']?></dd>
|
|
|
48 |
<dt>Publié par</dt><dd> <?=$obs['observateur']?></dd>
|
|
|
49 |
<dt>Le</dt><dd> <?=$obs['date']?></dd>
|
521 |
jpm |
50 |
</dl>
|
|
|
51 |
</li>
|
|
|
52 |
<? endforeach; ?>
|
|
|
53 |
</ol>
|
|
|
54 |
<? include(dirname(__FILE__).'/obs_msg_info.tpl.html') ?>
|
|
|
55 |
</div>
|
468 |
jpm |
56 |
</div>
|