| 468 |
jpm |
1 |
<div class="onglets">
|
|
|
2 |
<ul>
|
|
|
3 |
<li class="onglet-actif">Tableau</li>
|
|
|
4 |
<li class="onglet-inactif"><a onclick="chargerFormatObs('<?=$station_id?>', 'liste');return false;" href="#">Liste</a></li>
|
|
|
5 |
</ul>
|
|
|
6 |
</div>
|
|
|
7 |
<div id="observations">
|
|
|
8 |
<table>
|
| 475 |
jpm |
9 |
<caption><h2><?=count($observations)?> observations pour <?=(isset($commune) ? $commune : '?')?></h2></caption>
|
| 468 |
jpm |
10 |
<thead>
|
|
|
11 |
<tr>
|
|
|
12 |
<th>Nom</th><th>Date</th><th>Lieu</th><th>Observateur</th>
|
|
|
13 |
</tr>
|
|
|
14 |
</thead>
|
|
|
15 |
<tbody>
|
|
|
16 |
<? foreach ($observations as $obs) : ?>
|
|
|
17 |
<tr>
|
|
|
18 |
<td><a href="http://www.tela-botanica.org/nn<?=$obs['nn']?>" onclick="window.open(this.href); arreter(event); return false; "><?=$obs['nom']?></a></td>
|
|
|
19 |
<td><?=$obs['date']?></td>
|
|
|
20 |
<td><?=$obs['lieu']?></td>
|
|
|
21 |
<td><?=$obs['observateur']?></td>
|
|
|
22 |
</tr>
|
|
|
23 |
<? endforeach; ?>
|
|
|
24 |
</tbody>
|
|
|
25 |
</table>
|
|
|
26 |
</div>
|
|
|
27 |
<script type="text/javascript">
|
|
|
28 |
//<![CDATA[
|
|
|
29 |
$(document).ready(function() {
|
|
|
30 |
$("#observations table").tablesorter();
|
|
|
31 |
});
|
|
|
32 |
//]]>
|
|
|
33 |
</script>
|