Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 847 | Rev 1022 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 847 Rev 852
1
<!-- NOMENCLATURE -->
1
<!-- NOMENCLATURE -->
2
<div class="bloc <?if ($premier == 'nomenclature') : echo 'allow-break'; else : echo 'no-break'; endif; ?>">
2
<div class="bloc <?if ($premier == 'nomenclature') : echo 'allow-break'; else : echo 'no-break'; endif; ?>">
3
	<div class="categorie"> Nomenclature </div>
3
	<div class="categorie"> Nomenclature </div>
4
	<!-- NOM RETENU -->
4
	<!-- NOM RETENU -->
5
	<?php if(!empty($nomenclature['basionyme_nom_retenu']) || !empty($nomenclature['nom_selectionne'])
5
	<?php if(!empty($nomenclature['basionyme_nom_retenu']) || !empty($nomenclature['nom_selectionne'])
6
	 || !empty($nomenclature['nom_retenu'])   || !empty($nomenclature['nom_retenu_formate'])) :?>
6
	 || !empty($nomenclature['nom_retenu'])   || !empty($nomenclature['nom_retenu_formate'])) :?>
7
	 	<div class="no-break">
7
	 	<div class="no-break">
8
			<h2>Nom retenu</h2>
8
			<h2>Nom retenu</h2>
9
			<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
9
			<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
10
			<div style="float:right">
10
			<div style="float:right">
11
				<div class="legende">
11
				<div class="legende">
12
					<b>Légende</b><br />
12
					<b>Légende</b><br />
13
					<span class="legende_nom_retenu couleur_legende" style="margin:8px 5px 0 0"></span><span>Nom sélectionné</span>
13
					<span class="legende_nom_retenu couleur_legende" style="margin:8px 5px 0 0"></span><span>Nom sélectionné</span>
14
				</div>
14
				</div>
15
			</div>
15
			</div>
16
			<div class="onglet_marge_gauche">
16
			<div class="onglet_marge_gauche">
17
				<span class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu']) ? 'surlignage' : '' ?>">
17
				<span class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu']) ? 'surlignage' : '' ?>">
18
					<?= $nomenclature['nom_retenu_formate'] ?>
18
					<?= $nomenclature['nom_retenu_formate'] ?>
19
				</span>
19
				</span>
20
			</div>
20
			</div>
21
			<div class="nom onglet_marge_gauche basionyme_complet">
21
			<div class="nom onglet_marge_gauche basionyme_complet">
22
				Basionyme :
22
				Basionyme :
23
					<?= $nomenclature['basionyme_nom_retenu'] ?>
23
					<?= $nomenclature['basionyme_nom_retenu'] ?>
24
			</div>
24
			</div>
25
		
25
		
26
		<div class="onglet_marge_gauche"> Dernière date de modification du nom : <?= $nomenclature['date_maj'] ?> </div>
26
		<div class="onglet_marge_gauche"> Dernière date de modification du nom : <?= $nomenclature['date_maj'] ?> </div>
27
		</div>
27
		</div>
28
		<hr class="nettoyage" />
28
		<hr class="nettoyage" />
29
	<?php endif; ?>
29
	<?php endif; ?>
30
	
30
	
31
	<!-- WIKI -->
31
	<!-- WIKI -->
32
	<? if (!empty($nomenclature['wikini']['nomenclature'])) :?> 
32
	<? if (!empty($nomenclature['wikini']['nomenclature'])) :?> 
33
		<div class="no-break">
33
		<div class="no-break">
34
			<span> Données collaboratives sur ce nom. </span>
34
			<span> Données collaboratives sur ce nom. </span>
35
			<div  title="statuts de protection" class="wiki allow-break">
35
			<div  title="statuts de protection" class="wiki allow-break">
36
				<?=$nomenclature['wikini']['nomenclature']?>
36
				<?=$nomenclature['wikini']['nomenclature']?>
37
			</div>
37
			</div>
38
		</div>
38
		</div>
39
	<? endif; ?>
39
	<? endif; ?>
40
	
40
	
41
	<!-- SYNONYMES -->
41
	<!-- SYNONYMES -->
42
	<?php if(is_array($nomenclature['synonymes']['noms']) && count($nomenclature['synonymes']['noms']) > 0) { ?>
42
	<?php if(is_array($nomenclature['synonymes']['noms']) && count($nomenclature['synonymes']['noms']) > 0) { ?>
43
		<div class="no-break">
43
		<div class="no-break">
44
			<h2>Synonymes</h2>
44
			<h2>Synonymes</h2>
45
			<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
45
			<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
46
			<?php foreach ($nomenclature['synonymes']['noms'] as $id => $synonyme) : ?>
46
			<?php foreach ($nomenclature['synonymes']['noms'] as $id => $synonyme) : ?>
47
				<ul class="allow-break">
47
				<ul class="allow-break">
48
					<li class="item_nomenclature">
48
					<li class="item_nomenclature">
49
						<span class="nom <?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci']) ? 'surlignage' : '' ?>">
49
						<span class="nom <?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci']) ? 'surlignage' : '' ?>">
50
							<?= $synonyme['nom_sci_complet']  ?>
50
							<?= $synonyme['nom_sci_complet']  ?>
51
						</span>
51
						</span>
52
						<span class="nom basionyme_complet">
52
						<span class="nom basionyme_complet">
53
							<?= ($synonyme['basionyme_html_complet']) ? "Basionyme : ".$synonyme['basionyme_html_complet'] : ''; ?>
53
							<?= ($synonyme['basionyme_html_complet']) ? "Basionyme : ".$synonyme['basionyme_html_complet'] : ''; ?>
54
						</span>
54
						</span>
55
					</li>
55
					</li>
56
				</ul>
56
				</ul>
57
			<?php endforeach; ?>
57
			<?php endforeach; ?>
58
		<hr class="nettoyage" />
58
		<hr class="nettoyage" />
59
		</div>
59
		</div>
60
	<?php } ?>
60
	<?php } ?>
61
	
61
	
62
	<div class="no-break">
62
	<div class="no-break">
63
		<?php if ($nomenclature['taxons_sup'] != array()) : ?>
63
		<?php if ($nomenclature['taxons_sup'] != array()) : ?>
64
		<h2> Place du taxon dans la classification </h2>
64
		<h2> Place du taxon dans la classification </h2>
65
		<span class="citation"><?= $nomenclature['meta']['titre']?></span>
65
		<span class="citation"><?= $nomenclature['meta']['titre']?></span>
66
		<table class="allow-break">
66
		<table class="allow-break">
67
			<tr>
67
			<tr>
68
				<th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
68
				<th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
69
			</tr>
69
			</tr>
70
			
70
			
71
				<?php foreach ($nomenclature['taxons_sup']  as $taxon) : ?>
71
				<?php foreach ($nomenclature['taxons_sup']  as $taxon) : ?>
72
					<tr>
72
					<tr>
73
						<td><?= $taxon['rang.libelle'] ?></td>
73
						<td><?= $taxon['rang.libelle'] ?></td>
74
						<td><?= $taxon['nom_sci'] ?></td>
74
						<td><?= $taxon['nom_sci'] ?></td>
75
						<td><?= $taxon['num_nom'] ?></td>
75
						<td><?= $taxon['num_nom'] ?></td>
76
					</tr>
76
					</tr>
77
				<?php endforeach; ?>
77
				<?php endforeach; ?>
78
			
78
			
79
			<tr class="surlignage">
79
			<tr class="surlignage">
80
				<td><?= $nomenclature['taxon_courant']['rang.libelle'] ?></td>
80
				<td><?= $nomenclature['taxon_courant']['rang.libelle'] ?></td>
81
				<td><?= $nomenclature['taxon_courant']['nom_sci'] ?></td>
81
				<td><?= $nomenclature['taxon_courant']['nom_sci'] ?></td>
82
				<td><?= $nomenclature['taxon_courant']['num_nom'] ?></td>
82
				<td><?= $nomenclature['taxon_courant']['num_nom'] ?></td>
83
			</tr>
83
			</tr>
84
			
84
			
85
			<?php if ($nomenclature['taxons_inf'] != array()) : ?>	
85
			<?php if ($nomenclature['taxons_inf'] != array()) : ?>	
86
				<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>
86
				<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>
87
					<tr>
87
					<tr>
88
						<td><?= $taxon['rang.libelle'] ?></td>
88
						<td><?= $taxon['rang.libelle'] ?></td>
89
						<td><?= $taxon['nom_sci'] ?></td>
89
						<td><?= $taxon['nom_sci'] ?></td>
90
						<td><?= $taxon['num_nom'] ?></td>
90
						<td><?= $taxon['num_nom'] ?></td>
91
					</tr>
91
					</tr>
92
				<?php endforeach; ?>
92
				<?php endforeach; ?>
93
			<?php endif; ?>
93
			<?php endif; ?>
94
		</table>
94
		</table>
95
		<?php endif; ?>
95
		<?php endif; ?>
96
		</div>
96
		</div>
97
		
97
		
98
		<!-- VIDE DE DONNEES -->
98
		<!-- VIDE DE DONNEES -->
99
	<?php if ( empty($nomenclature['taxons_sup']) && empty($classification['taxon_inf'] ) ) : ?>
99
	<?php if ( empty($nomenclature['taxons_sup']) && empty($nomenclature['taxon_inf'] ) ) : ?>
100
	Aucune donnée.
100
	Aucune donnée.
101
	<?php endif; ?>
101
	<?php endif; ?>
102
	<br/>
102
	<br/>
103
	
103
	
104
	<!-- FLORES -->
104
	<!-- FLORES -->
105
	<?php if(is_array($nomenclature['flores_synonymes']) && count($nomenclature['flores_synonymes']) > 0) { ?>
105
	<?php if(is_array($nomenclature['flores_synonymes']) && count($nomenclature['flores_synonymes']) > 0) { ?>
106
	<div class="no-break">
106
	<div class="no-break">
107
		<h2>Flores</h2>
107
		<h2>Flores</h2>
108
		<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
108
		<span class="citation"><?= $nomenclature['synonymes']['meta']['titre']?></span>
109
		
109
		
110
		<?php foreach ($nomenclature['flores_synonymes'] as $num_nom_syn => $infos_flore) : ?>
110
		<?php foreach ($nomenclature['flores_synonymes'] as $num_nom_syn => $infos_flore) : ?>
111
			<?php foreach ($infos_flore as $code => $flore) : ?>
111
			<?php foreach ($infos_flore as $code => $flore) : ?>
112
				<ul class="allow-break">
112
				<ul class="allow-break">
113
					<li class="item_nomenclature">
113
					<li class="item_nomenclature">
114
						<div class="nom">
114
						<div class="nom">
115
							Dans la flore <em><?= $flore['nom_flore'] ?></em>,
115
							Dans la flore <em><?= $flore['nom_flore'] ?></em>,
116
							ce taxon porte le nom de <em><?= $flore['nom_sci']  ?></em>
116
							ce taxon porte le nom de <em><?= $flore['nom_sci']  ?></em>
117
							et le code <b><?= $flore['id'] ?></b><br />
117
							et le code <b><?= $flore['id'] ?></b><br />
118
						</div>
118
						</div>
119
					</li>
119
					</li>
120
				</ul>
120
				</ul>
121
			<?php endforeach; ?>
121
			<?php endforeach; ?>
122
		<?php endforeach; ?>
122
		<?php endforeach; ?>
123
	</div>
123
	</div>
124
	<hr class="nettoyage" />
124
	<hr class="nettoyage" />
125
	<?php } ?>
125
	<?php } ?>
126
	
126
	
127
	<!-- num type -->
127
	<!-- num type -->
128
	<?php if($nomenclature['num_type'] != null) { ?>
128
	<?php if($nomenclature['num_type'] != null) { ?>
129
		<h3> Autres </h3>
129
		<h3> Autres </h3>
130
		<ul>
130
		<ul>
131
			<li class="item_nomenclature">
131
			<li class="item_nomenclature">
132
				<span class="nom">Numéro du type : <?= $nomenclature['num_type'] ?></span> 
132
				<span class="nom">Numéro du type : <?= $nomenclature['num_type'] ?></span> 
133
			</li>
133
			</li>
134
		</ul>
134
		</ul>
135
	<?php } ?>
135
	<?php } ?>
136
		
136
		
137
	<!-- VIDE DE DONNEES -->
137
	<!-- VIDE DE DONNEES -->
138
	<?php if ( empty($nomenclature['basionyme_nom_retenu']) && empty($nomenclature['nom_retenu_formate'] ) 
138
	<?php if ( empty($nomenclature['basionyme_nom_retenu']) && empty($nomenclature['nom_retenu_formate'] ) 
139
	&& empty($nomenclature['nom_selectionne'] ) && empty($nomenclature['synonymes']['noms'] )
139
	&& empty($nomenclature['nom_selectionne'] ) && empty($nomenclature['synonymes']['noms'] )
140
	&& empty($nomenclature['nom_retenu']) && empty($nomenclature['flores_synonymes'])
140
	&& empty($nomenclature['nom_retenu']) && empty($nomenclature['flores_synonymes'])
141
	&& empty($nomenclature['num_type'])) : ?>
141
	&& empty($nomenclature['num_type'])) : ?>
142
	Aucune donnée.
142
	Aucune donnée.
143
	<?php endif; ?>
143
	<?php endif; ?>
144
</div>
144
</div>
145
<br/>
145
<br/>
146
<br/>
146
<br/>