644 |
mathilde |
1 |
<!-- ETHNOBOTANIQUE-->
|
671 |
mathilde |
2 |
<div class="bloc <? if ($premier == 'ethnobotanique') : echo 'allow-break'; else : echo 'no-break'; endif; ?>">
|
644 |
mathilde |
3 |
<div class="categorie">Ethnobotanique</div>
|
|
|
4 |
|
|
|
5 |
<!-- NOMS COMMUNS -->
|
|
|
6 |
<?php if($ethnobotanique['nvjfl']['noms'] != array()) : ?>
|
|
|
7 |
<div class="no-break">
|
|
|
8 |
<h2>Noms communs</h2>
|
1130 |
aurelien |
9 |
<span class="citation"><?=$ethnobotanique['nvjfl']['meta']['citation']?></span>
|
644 |
mathilde |
10 |
<table class="allow-break">
|
|
|
11 |
<tr>
|
|
|
12 |
<th>Langue</th><th>Nom</th><th>Genre et Nombre</th><th>Conseil d'emploi</th><th>Notes</th>
|
|
|
13 |
</tr>
|
|
|
14 |
<?php foreach($ethnobotanique['nvjfl']['noms'] as $nom_verna) : ?>
|
|
|
15 |
<tr>
|
|
|
16 |
<td><?= $nom_verna['code_langue'] ?></td>
|
|
|
17 |
<td><?= $nom_verna['nom_vernaculaire'] ?></td>
|
1501 |
delphine |
18 |
<td><?= (isset($nom_verna['genre'])) ? $nom_verna['genre'] : ""; ?></td>
|
|
|
19 |
<td><?= (isset($nom_verna['conseil_emploi'])) ? $nom_verna['conseil_emploi'] : ""; ?></td>
|
644 |
mathilde |
20 |
<td><?= $nom_verna['notes'] ?></td>
|
|
|
21 |
</tr>
|
|
|
22 |
<?php endforeach; ?>
|
|
|
23 |
</table>
|
|
|
24 |
</div>
|
|
|
25 |
<?php endif; ?>
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
<!-- WIKI -->
|
|
|
29 |
<?php if (!empty($ethnobotanique['wikini']['noms_communs'])) : ?>
|
|
|
30 |
<div class="no-break">
|
|
|
31 |
<span> Noms communs et étymologies proposés par les membres du réseau : </span>
|
669 |
mathilde |
32 |
<div title="noms_communs" class="wiki allow-break">
|
644 |
mathilde |
33 |
<?=$ethnobotanique['wikini']['noms_communs']?>
|
|
|
34 |
</div>
|
|
|
35 |
</div>
|
|
|
36 |
<?php endif; ?>
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
<!-- STATUTS -->
|
|
|
40 |
<?php if($ethnobotanique['chorologie']['donnees'] != array()) : ?>
|
|
|
41 |
<div class="no-break">
|
|
|
42 |
<h2>Statuts</h2>
|
1130 |
aurelien |
43 |
<span class="citation"><?=$ethnobotanique['chorologie']['meta']['citation']?></span>
|
644 |
mathilde |
44 |
<table class="liste_statuts allow-break">
|
|
|
45 |
<tr>
|
|
|
46 |
<th></th>
|
|
|
47 |
<? foreach($ethnobotanique['chorologie']['colonnes'] as $colonne) : ?>
|
|
|
48 |
<th><?=$colonne ?></th>
|
|
|
49 |
<?php endforeach; ?>
|
|
|
50 |
</tr>
|
|
|
51 |
<? foreach($ethnobotanique['chorologie']['donnees'] as $type => $donnee) : ?>
|
|
|
52 |
<tr>
|
|
|
53 |
<td><?=$type ?></td>
|
|
|
54 |
<? foreach($ethnobotanique['chorologie']['colonnes'] as $colonne) : ?>
|
|
|
55 |
<td><?= (isset($donnee[$colonne])) ? $donnee[$colonne] : '' ?></td>
|
|
|
56 |
<? endforeach; ?>
|
|
|
57 |
</tr>
|
|
|
58 |
<? endforeach; ?>
|
|
|
59 |
</table>
|
|
|
60 |
</div>
|
|
|
61 |
<? endif; ?>
|
|
|
62 |
|
|
|
63 |
<!-- USAGE -->
|
|
|
64 |
<? if (!empty($ethnobotanique['wikini']['usage'])) : ?>
|
|
|
65 |
<div class="no-break">
|
|
|
66 |
<h2> Usage : </h2>
|
|
|
67 |
<span> Rédaction collaborative. </span>
|
669 |
mathilde |
68 |
<div title="usage" class="wiki allow-break">
|
644 |
mathilde |
69 |
<?=$ethnobotanique['wikini']['usage']?>
|
|
|
70 |
</div>
|
|
|
71 |
</div>
|
|
|
72 |
<? endif; ?>
|
|
|
73 |
|
|
|
74 |
<!-- CULTURE ET ARTS -->
|
|
|
75 |
<? if (!empty($ethnobotanique['wikini']['usage'])) : ?>
|
|
|
76 |
<div class="no-break">
|
|
|
77 |
<h2> Culture et arts : </h2>
|
|
|
78 |
<span> Rédaction collaborative. </span>
|
669 |
mathilde |
79 |
<div title="culture et arts" class="wiki allow-break">
|
644 |
mathilde |
80 |
<?=$ethnobotanique['wikini']['culture_et_arts']?>
|
|
|
81 |
</div>
|
|
|
82 |
</div>
|
|
|
83 |
<? endif; ?>
|
|
|
84 |
|
|
|
85 |
<!-- VIDE DE DONNEES -->
|
|
|
86 |
<? if (empty($ethnobotanique['wikini']) && empty($ethnobotanique['chorologie']) && empty($ethnobotanique['nvjfl']) ) : ?>
|
|
|
87 |
Aucune Donnée.
|
|
|
88 |
<? endif; ?>
|
|
|
89 |
</div>
|
|
|
90 |
<br/>
|
|
|
91 |
<br/>
|