647 |
mathilde |
1 |
<!-- Classification -->
|
671 |
mathilde |
2 |
<div class="bloc <? if ($premier == 'classification'): echo 'allow-break'; else : echo 'no-break'; endif; ?>">
|
647 |
mathilde |
3 |
<div class="categorie">Classification</div>
|
|
|
4 |
<div class="no-break">
|
|
|
5 |
<?php if ($classification['taxons_sup'] != array()) : ?>
|
|
|
6 |
<h2> Place du taxon dans la classification </h2>
|
|
|
7 |
<span class="citation"><?= $classification['meta']['titre']?></span>
|
|
|
8 |
<table class="allow-break">
|
|
|
9 |
<tr>
|
|
|
10 |
<th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
|
|
|
11 |
</tr>
|
|
|
12 |
|
|
|
13 |
<?php foreach ($classification['taxons_sup'] as $taxon) : ?>
|
|
|
14 |
<tr>
|
|
|
15 |
<td><?= $taxon['rang.libelle'] ?></td>
|
|
|
16 |
<td><?= $taxon['nom_sci'] ?></td>
|
|
|
17 |
<td><?= $taxon['num_nom'] ?></td>
|
|
|
18 |
</tr>
|
|
|
19 |
<?php endforeach; ?>
|
|
|
20 |
|
|
|
21 |
<tr class='surlignage'>
|
|
|
22 |
<td><?= $classification['taxon_courant']['rang.libelle'] ?></td>
|
|
|
23 |
<td><?= $classification['taxon_courant']['nom_sci'] ?></td>
|
|
|
24 |
<td><?= $classification['taxon_courant']['num_nom'] ?></td>
|
|
|
25 |
</tr>
|
|
|
26 |
|
684 |
mathilde |
27 |
<?php if ($classification['taxons_inf'] != array()) : ?>
|
|
|
28 |
<?php foreach($classification['taxons_inf'] as $taxon) : ?>
|
647 |
mathilde |
29 |
<tr>
|
|
|
30 |
<td><?= $taxon['rang.libelle'] ?></td>
|
|
|
31 |
<td><?= $taxon['nom_sci'] ?></td>
|
|
|
32 |
<td><?= $taxon['num_nom'] ?></td>
|
|
|
33 |
</tr>
|
|
|
34 |
<?php endforeach; ?>
|
|
|
35 |
<?php endif; ?>
|
|
|
36 |
</table>
|
|
|
37 |
<?php endif; ?>
|
|
|
38 |
</div>
|
|
|
39 |
|
|
|
40 |
<!-- VIDE DE DONNEES -->
|
|
|
41 |
<?php if ( empty($classification['taxons_sup']) && empty($classification['taxon_inf'] ) ) : ?>
|
|
|
42 |
Aucune donnée.
|
|
|
43 |
<?php endif; ?>
|
|
|
44 |
</div>
|
|
|
45 |
<br/>
|
|
|
46 |
<br/>
|