Subversion Repositories eFlore/Applications.cel

Rev

Rev 496 | Blame | Last modification | View Log | RSS feed

<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>
                                        <? 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; ?>
                                        </td>
                                        <td><?=$obs['date']?></td>
                                        <td><?=$obs['lieu']?></td>
                                        <td><?=$obs['observateur']?></td>
                                </tr>
                        <? endforeach; ?>
                </tbody>
        </table>
        <? include(dirname(__FILE__).'/obs_msg_info.tpl.html') ?>
</div>