Subversion Repositories eFlore/Applications.cel

Rev

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

<div class="info-bulle-contenu">
        <div class="onglets">
                <ul>
                        <li class="actif"><span class="onglet">Tableau</span></li>
                        <li class="inactif"><a class="onglet" onclick="chargerFormatObs('<?=$station_id?>', 'liste');return false;" href="#">Liste</a></li>
                </ul>
        </div>
        <div id="observations">
                <table>
                        <caption><h2><?=count($observations)?> observations pour <?=(isset($commune) ? $commune : '?')?></h2></caption>
                        <thead>
                                <tr>
                                        <th>Nom</th><th>Date</th><th>Lieu</th><th>Observateur</th>
                                </tr>
                        </thead>
                        <tbody>
                                <? foreach ($observations as $obs) : ?>
                                        <tr>
                                                <td>&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; ?>
                                                </td>
                                                <td>&nbsp;<?=$obs['date']?></td>
                                                <td>&nbsp;<?=$obs['lieu']?></td>
                                                <td>&nbsp;<?=$obs['observateur']?></td>
                                        </tr>
                                <? endforeach; ?>
                        </tbody>
                </table>
                <? include(dirname(__FILE__).'/obs_msg_info.tpl.html') ?>
        </div>
</div>