Rev 545 | Rev 553 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<div class="info-bulle-contenu">
<!-- Javascript : Fancybox -->
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
$('a.cel-img').fancybox({
'autoDimensions': false,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'speedIn' : 600,
'speedOut' : 200,
'overlayShow' : true
});
});
//]]>
</script>
<div class="onglets">
<ul>
<li class="inactif"><a class="onglet" onclick="chargerFormatObs('<?=$station_id?>', 'tableau');return false;" href="#">Tableau</a></li>
<li class="actif"><span class="onglet">Liste</span></li>
</ul>
</div>
<div id="observations">
<h2><?=count($observations)?> observations pour <?=(isset($commune) ? $commune : '?')?></h2>
<ol>
<? foreach ($observations as $obs) : ?>
<li>
<? if (isset($images[$obs['id']])) : ?>
<? foreach ($images[$obs['id']] as $num => $urls) : ?>
<div<?=($num == 0) ? '': ' style="display:none;"'?>>
<a class="cel-img" href="<?=$urls['L']?>" rel="cel-obs-<?=$obs['id']?>" >
<img src="<?=$urls['S']?>" alt="Image #<?=$urls['id']?> de l'osbervation #<?=$obs['id']?>" style="float:right;height:75px;"/>
</a>
</div>
<? endforeach ?>
<? endif ?>
<dl>
<dt class="champ_nom_latin">Nom</dt>
<dd>
<? if (isset($obs['nn'])) : ?>
<a href="http://www.tela-botanica.org/nn<?=$obs['nn']?>" onclick="window.open(this.href); arreter(event); return false; "><?=$obs['nom']?></a>
<? else : ?>
<?=$obs['nom']?>
<? endif; ?>
</dd>
<dt>Lieu</dt><dd> <?=$obs['lieu']?></dd>
<dt>PubliƩ par</dt><dd> <?=$obs['observateur']?></dd>
<dt>Le</dt><dd> <?=$obs['date']?></dd>
</dl>
</li>
<? endforeach; ?>
</ol>
<? include(dirname(__FILE__).'/obs_msg_info.tpl.html') ?>
</div>
</div>