Subversion Repositories eFlore/Applications.cel

Rev

Rev 1455 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="info-bulle-contenu">
        <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>
                                <div>
                                        <? if (isset($images[$obs['id']])) : ?>
                                                <? foreach ($images[$obs['id']] as $num => $urls) : ?>
                                        <div<?=($num == 0) ? ' class="cel-img-principale"': ' class="cel-img-secondaire"'?>>
                                                <a class="cel-img" href="<?=$urls['normale']?>" rel="cel-obs-<?=$obs['id']?>">
                                                        <img src="<?=$urls['miniature']?>" alt="Image #<?=$urls['id']?> de l'osbervation #<?=$obs['id']?>" />
                                                </a>
                                        </div>
                                                <? endforeach ?>
                                        <? endif ?>
                                        <dl>
                                                <dt class="champ_nom_latin">Nom</dt>
                                                <dd>&nbsp;
                                                <? if (isset($obs['nn']) && $obs['nn'] != '' && $obs['nn'] != 0) : ?>
                                                        <a href="http://www.tela-botanica.org/bdtfx-nn-<?=$obs['nn']?>" onclick="window.open(this.href); arreter(event); return false; "><?=$obs['nom']?></a>
                                                <? else : ?>
                                                        <?=$obs['nom']?>
                                                <? endif; ?>
                                                </dd>
                                                <dt>Lieu</dt><dd>&nbsp;<?=$obs['lieu']?></dd>
                                                <dt>PubliƩ par</dt><dd>&nbsp;<?=$obs['observateur']?></dd>
                                                <dt>Le</dt><dd>&nbsp;<?=$obs['date']?></dd>
                                        </dl>
                                        <hr class="nettoyage"/>
                                </div>
                        </li>
                        <? endforeach; ?>
                </ol>
                <? include(dirname(__FILE__).'/obs_msg_info.tpl.html') ?>
        </div>
</div>