Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1020 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
639 mathilde 1
<!-- STATUTS de protection -->
671 mathilde 2
<div class="bloc <? if ($premier == 'statuts') : echo 'allow-break'; else : echo 'no-break'; endif; ?>">
639 mathilde 3
	<h2 class= "categorie">Statuts de protection</h2>
4
 
848 mathilde 5
	<!-- STATUTS -->
6
	<?php if(!empty($statuts['statuts'])) : ?>
7
	<table class="liste_statuts_protection no-break">
8
		<tr>
9
			<th>Zone géographique</th><th>Règle appliquée</th><th>Texte</th>
10
		</tr>
11
 
12
			<?php foreach ($statuts['statuts'] as $statut) : ?>
13
				<tr>
14
					<td>
15
						<?= $statut['zone_application']; ?>
16
					</td>
17
					<td>
18
						<?= $statut['regle']; ?>
19
					</td>
20
					<td>
21
						<?= $statut['texte']; ?>
22
						(<?= $statut['statut']; ?>)
23
					</td>
24
				</tr>
25
			<?php endforeach; ?>
26
 
27
	</table>
28
<?php endif; ?>
29
 
639 mathilde 30
	<!-- WIKI -->
31
	<? if(!empty($statuts['wikini']['statuts_de_protection'])) : ?>
32
	<div class="no-break">
33
		<h2>Vos compléments sur les statuts de protection :</h2>
34
		<span>Données collaboratives sur les statuts de protection. </span>
669 mathilde 35
		<div class="allow-break wiki" title="statuts de protection">
639 mathilde 36
			<?=$statuts['wikini']['statuts_de_protection']?>
37
		</div>
38
	</div>
39
	<? endif;?>
40
 
41
	<!-- VIDE DE DONNEES -->
848 mathilde 42
	<? if (empty($statuts['wikini']['statuts_de_protection']) && empty($statuts['statuts']) ): ?>
1020 raphael 43
		Pas de protection connue.
639 mathilde 44
	<? endif;?>
45
 
46
</div>
47
<br/>
48
<br/>
49