| Line 1... |
Line 1... |
| 1 |
<div class="onglet_contenu" id="statut">
|
1 |
<div class="onglet_contenu" id="statut">
|
| 2 |
<h2>Statuts de protection</h2>
|
2 |
<h2>Statuts de protection</h2>
|
| 3 |
<?php if(!empty($statuts) && is_array($statuts)) { ?>
|
3 |
<?php if(!empty($statuts) && is_array($statuts)) { ?>
|
| - |
|
4 |
<?php if(isset($statuts[0])) { ?>
|
| 4 |
<table class="liste_statuts_protection largeur-11">
|
5 |
<table class="liste_statuts_protection">
|
| 5 |
<tr>
|
6 |
<tr>
|
| 6 |
<th>Zone géographique</th><th>Règle appliquée</th><th>Texte</th><th class="largeur-01">Nom</th>
|
7 |
<th>Zone géographique</th><th>Règle appliquée</th><th>Texte</th>
|
| 7 |
</tr>
|
8 |
</tr>
|
| 8 |
<?php if ($statuts != array()) : ?>
|
9 |
<?php if ($statuts != array()) : ?>
|
| 9 |
<?php foreach ($statuts as $za => $lois) : ?>
|
10 |
<?php foreach ($statuts as $index => $statut) : ?>
|
| 10 |
<?php if($za != "meta") : ?>
|
11 |
<?php if(is_numeric($index)) { ?>
|
| 11 |
<?php foreach ($lois as $loi) : ?>
|
- |
|
| 12 |
<tr>
|
12 |
<tr>
|
| 13 |
<td><?= $za; ?></td>
|
13 |
<td><?= $statut['zone_application']; ?></td>
|
| 14 |
<td><?= $loi['regle']; ?></td>
|
14 |
<td><?= $statut['regle']; ?></td>
|
| 15 |
<td>
|
- |
|
| 16 |
<?php if($loi['hyperlien_legifrance'] != "") : ?>
|
- |
|
| 17 |
<a class="lien_externe" title="Voir le texte de loi relatif" href="<?= $loi['hyperlien_legifrance']; ?>">
|
15 |
<td><a class="lien_externe" title="Voir le texte de loi relatif" href="<?= $statut['hyperlien_legifrance']; ?>">
|
| 18 |
<?= $loi['texte']; ?>
|
16 |
<?= $statut['texte']; ?>
|
| 19 |
</a>
|
17 |
</a>
|
| - |
|
18 |
(<?= $statut['statut']; ?>)
|
| - |
|
19 |
</td>
|
| - |
|
20 |
</tr>
|
| 20 |
<?php else : ?>
|
21 |
<?php } ?>
|
| 21 |
<?= $loi['texte']; ?>
|
22 |
<?php endforeach; ?><?php endif; ?>
|
| - |
|
23 |
</table>
|
| 22 |
<?php endif; ?>
|
24 |
<?php } else { ?>
|
| - |
|
25 |
<table class="liste_statuts_protection largeur-11">
|
| - |
|
26 |
<tr>
|
| - |
|
27 |
<th>Zone géographique</th><th>Règle appliquée</th><th>Texte</th><th class="largeur-01">Nom</th>
|
| - |
|
28 |
</tr>
|
| - |
|
29 |
<?php if ($statuts != array()) : ?>
|
| - |
|
30 |
<?php foreach ($statuts as $za => $lois) : ?>
|
| 23 |
(<?= $loi['statut']; ?>)
|
31 |
<?php if($za != "meta") : ?>
|
| - |
|
32 |
<?php foreach ($lois as $loi) : ?>
|
| 24 |
</td>
|
33 |
<tr>
|
| - |
|
34 |
<td><?= $za; ?></td>
|
| - |
|
35 |
<td><?= $loi['regle']; ?></td>
|
| - |
|
36 |
<td><?= $loi['texte']; ?> (<?= $loi['statut']; ?>)</td>
|
| 25 |
<td><i><?php foreach ($loi['nom_sci'] as $nom_sci) { echo "- ".$nom_sci."<br /><br />"; } ?></i></td>
|
37 |
<td><i><?php foreach ($loi['nom_sci'] as $nom_sci) { echo "- ".$nom_sci."<br /><br />"; } ?></i></td>
|
| 26 |
</tr>
|
38 |
</tr>
|
| - |
|
39 |
<?php endforeach; ?>
|
| - |
|
40 |
<?php endif; ?>
|
| 27 |
<?php endforeach; ?>
|
41 |
<?php endforeach; ?>
|
| 28 |
<?php endif; ?>
|
42 |
<?php endif; ?>
|
| 29 |
<?php endforeach; ?>
|
43 |
</table>
|
| 30 |
<?php endif; ?>
|
44 |
<?php } ?>
|
| 31 |
</table>
|
- |
|
| 32 |
<div class="conteneur_lien_metadonnees">
|
45 |
<div class="conteneur_lien_metadonnees">
|
| 33 |
<?=$statuts['meta']['citation']?>
|
46 |
<?=$statuts['meta']['citation']?>
|
| 34 |
<span class="conteneur_lien_metadonnees">
|
47 |
<span class="conteneur_lien_metadonnees">
|
| 35 |
<a class="lien_metadonnees lien_popup" href="<?= $statuts['meta']['url']; ?>">Voir toutes les metadonnées</a>
|
48 |
<a class="lien_metadonnees lien_popup" href="<?= $statuts['meta']['url']; ?>">Voir toutes les metadonnées</a>
|
| 36 |
</span>
|
49 |
</span>
|