Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 1428 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1428 Rev 1461
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']['citation']?></span>
9
			<span class="citation"><?= $nomenclature['synonymes']['meta']['citation']?></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
		<?php if($nomenclature['referentiel'] != 'bdtxa'): // cf http://referentiels.tela-botanica.org/referentiel/index.php?ref=bdtxa&module=FicheTaxon&num_nom=14610  ?>
26
		<?php if($nomenclature['referentiel'] != 'bdtxa'): // cf http://referentiels.tela-botanica.org/referentiel/index.php?ref=bdtxa&module=FicheTaxon&num_nom=14610  ?>
27
		<div class="onglet_marge_gauche"> Dernière date de modification du nom : <?= $nomenclature['date_maj'] ?> </div>
27
		<div class="onglet_marge_gauche"> Dernière date de modification du nom : <?= $nomenclature['date_maj'] ?> </div>
28
		<? endif; ?>
28
		<? endif; ?>
29
		</div>
29
		</div>
30
		<hr class="nettoyage" />
30
		<hr class="nettoyage" />
31
	<?php endif; ?>
31
	<?php endif; ?>
32
	
32
	
33
	<!-- WIKI -->
33
	<!-- WIKI -->
34
	<? if (!empty($nomenclature['wikini']['nomenclature'])) :?> 
34
	<? if (!empty($nomenclature['wikini']['nomenclature'])) :?> 
35
		<div class="no-break">
35
		<div class="no-break">
36
			<span> Données collaboratives sur ce nom. </span>
36
			<span> Données collaboratives sur ce nom. </span>
37
			<div  title="statuts de protection" class="wiki allow-break">
37
			<div  title="statuts de protection" class="wiki allow-break">
38
				<?=$nomenclature['wikini']['nomenclature']?>
38
				<?=$nomenclature['wikini']['nomenclature']?>
39
			</div>
39
			</div>
40
		</div>
40
		</div>
41
	<? endif; ?>
41
	<? endif; ?>
42
	
42
	
43
	<!-- SYNONYMES -->
43
	<!-- SYNONYMES -->
44
	<?php if(is_array($nomenclature['synonymes']['noms']) && count($nomenclature['synonymes']['noms']) > 0) { ?>
44
	<?php if(is_array($nomenclature['synonymes']['noms']) && count($nomenclature['synonymes']['noms']) > 0) { ?>
45
		<div class="no-break">
45
		<div class="no-break">
46
			<h2>Synonymes</h2>
46
			<h2>Synonymes</h2>
47
			<span class="citation"><?= $nomenclature['synonymes']['meta']['citation']?></span>
47
			<span class="citation"><?= $nomenclature['synonymes']['meta']['citation']?></span>
48
			<?php foreach ($nomenclature['synonymes']['noms'] as $id => $synonyme) : ?>
48
			<?php foreach ($nomenclature['synonymes']['noms'] as $id => $synonyme) : ?>
49
				<ul class="allow-break">
49
				<ul class="allow-break">
50
					<li class="item_nomenclature">
50
					<li class="item_nomenclature">
51
						<span class="nom <?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci']) ? 'surlignage' : '' ?>">
51
						<span class="nom <?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci']) ? 'surlignage' : '' ?>">
52
							<?= $synonyme['nom_sci_complet']  ?>
52
							<?= $synonyme['nom_sci_complet']  ?>
53
						</span>
53
						</span>
54
						<span class="nom basionyme_complet">
54
						<span class="nom basionyme_complet">
55
							<?= ($synonyme['basionyme_html_complet']) ? "Basionyme : ".$synonyme['basionyme_html_complet'] : ''; ?>
55
							<?= ($synonyme['basionyme_html_complet']) ? "Basionyme : ".$synonyme['basionyme_html_complet'] : ''; ?>
56
						</span>
56
						</span>
57
					</li>
57
					</li>
58
				</ul>
58
				</ul>
59
			<?php endforeach; ?>
59
			<?php endforeach; ?>
60
		<hr class="nettoyage" />
60
		<hr class="nettoyage" />
61
		</div>
61
		</div>
62
	<?php } ?>
62
	<?php } ?>
63
	
63
	
64
	<div class="no-break">
64
	<div class="no-break">
65
		<?php if (!empty($nomenclature['taxons_sup'])) : ?>
65
		<?php if (!empty($nomenclature['taxons_sup'])) : ?>
66
		<h2> Place du taxon dans la classification </h2>
66
		<h2> Place du taxon dans la classification </h2>
67
		<span class="citation"><?= $nomenclature['meta']['citation']?></span>
67
		<span class="citation"><?= $nomenclature['meta']['citation']?></span>
68
		<table class="allow-break">
68
		<table class="allow-break">
69
			<tr>
69
			<tr>
70
				<th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
70
				<th>Rang</th><th>Nom Scientifique</th><th>Num Nom</th>
71
			</tr>
71
			</tr>
72
			
72
			
73
				<?php foreach ($nomenclature['taxons_sup']  as $taxon) : ?>
73
				<?php foreach ($nomenclature['taxons_sup']  as $taxon) : ?>
74
					<tr>
74
					<tr>
75
						<td><?= $taxon['rang.libelle'] ?></td>
75
						<td><?= $taxon['rang.libelle'] ?></td>
76
						<td><?= $taxon['nom_sci'] ?></td>
76
						<td><?= $taxon['nom_sci'] ?></td>
77
						<td><?= $taxon['num_nom'] ?></td>
77
						<td><?= $taxon['num_nom'] ?></td>
78
					</tr>
78
					</tr>
79
				<?php endforeach; ?>
79
				<?php endforeach; ?>
80
			
80
			
81
			<tr class="surlignage">
81
			<tr class="surlignage">
82
				<td><?= $nomenclature['taxon_courant']['rang.libelle'] ?></td>
82
				<td><?= $nomenclature['taxon_courant']['rang.libelle'] ?></td>
83
				<td><?= $nomenclature['taxon_courant']['nom_sci'] ?></td>
83
				<td><?= $nomenclature['taxon_courant']['nom_sci'] ?></td>
84
				<td><?= $nomenclature['taxon_courant']['num_nom'] ?></td>
84
				<td><?= $nomenclature['taxon_courant']['num_nom'] ?></td>
85
			</tr>
85
			</tr>
86
			
86
			
87
			<?php if (!empty($nomenclature['taxons_inf'])) : ?>	
87
			<?php if (!empty($nomenclature['taxons_inf'])) : ?>	
88
				<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>
88
				<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>
89
					<tr>
89
					<tr>
90
						<td><?= $taxon['rang.libelle'] ?></td>
90
						<td><?= $taxon['rang.libelle'] ?></td>
91
						<td><?= $taxon['nom_sci'] ?></td>
91
						<td><?= $taxon['nom_sci'] ?></td>
92
						<td><?= $taxon['num_nom'] ?></td>
92
						<td><?= $taxon['num_nom'] ?></td>
93
					</tr>
93
					</tr>
94
				<?php endforeach; ?>
94
				<?php endforeach; ?>
95
			<?php endif; ?>
95
			<?php endif; ?>
96
		</table>
96
		</table>
97
		<?php endif; ?>
97
		<?php endif; ?>
98
		</div>
98
		</div>
99
		
99
		
100
		<!-- VIDE DE DONNEES -->
100
		<!-- VIDE DE DONNEES -->
101
	<?php if ( empty($nomenclature['taxons_sup']) && empty($nomenclature['taxon_inf'] ) ) : ?>
101
	<?php if ( empty($nomenclature['taxons_sup']) && empty($nomenclature['taxon_inf'] ) ) : ?>
102
	Aucune donnée.
102
	Aucune donnée.
103
	<?php endif; ?>
103
	<?php endif; ?>
104
	<br/>
104
	<br/>
105
	
105
	
106
	<!-- FLORES -->
106
	<!-- FLORES -->	
107
	<?php if(is_array($nomenclature['flores_synonymes']) && count($nomenclature['flores_synonymes']) > 0) { ?>
107
		<?php if(is_array($nomenclature['flores_synonymes']) && count($nomenclature['flores_synonymes']) > 0) { ?>
108
	<div class="no-break">
108
		<h2>Dénomination dans les flores usuelles</h2>
109
		<h2>Flores</h2>
-
 
110
		<span class="citation"><?= $nomenclature['synonymes']['meta']['citation']?></span>
-
 
111
		
109
			<ul>
112
		<?php foreach ($nomenclature['flores_synonymes'] as $num_nom_syn => $infos_flore) : ?>
110
			<?php foreach ($nomenclature['flores_synonymes'] as $infos_flore) : ?>
113
			<?php foreach ($infos_flore as $code => $flore) : ?>
111
				<li class="item_nomenclature">
-
 
112
					<div>
114
				<ul class="allow-break">
113
						Ce taxon est noté dans la flore <em><?= $infos_flore['nom_flore'] ?></em>
115
					<li class="item_nomenclature">
114
						<?php if(isset($infos_flore['num'])) { ?>
116
						<div class="nom">
115
							sous :<br /><ul>
117
							Dans la flore <em><?= $flore['nom_flore'] ?></em>,
116
							<?php foreach ($infos_flore['num'] as $code => $flore) : ?>
-
 
117
									<li>le nom de <em><?= $flore['nom_sci']  ?></em>
-
 
118
									et <?=$infos_flore['type']?> <b><?= $flore['id'] ?></b><?=($flore['statut']) ? ' en tant que '.$flore['statut'] : ''?><br /></li>
118
							ce taxon porte le nom de <em><?= $flore['nom_sci']  ?></em>
119
								
119
							et le code <b><?= $flore['id'] ?></b><br />
120
							<?php endforeach; ?>
-
 
121
							</ul>
-
 
122
						<?php } else { ?>
-
 
123
								
120
						</div>
124
						<?php } ?>
121
					</li>
125
				</div>
122
				</ul>
126
			</li>
123
			<?php endforeach; ?>
-
 
124
		<?php endforeach; ?>
-
 
125
	</div>
127
			<?php endforeach; ?>
126
	<hr class="nettoyage" />
128
			</ul><hr class="nettoyage" />
-
 
129
		<?php } ?>
127
	<?php } ?>
130
	
128
	
131
	
129
	<!-- num type -->
132
	<!-- num type -->
130
	<?php if($nomenclature['num_type'] != null) { ?>
133
	<?php if($nomenclature['num_type'] != null) { ?>
131
		<h3> Autres </h3>
134
		<h3> Autres </h3>
132
		<ul>
135
		<ul>
133
			<li class="item_nomenclature">
136
			<li class="item_nomenclature">
134
				<span class="nom">Numéro du type : <?= $nomenclature['num_type'] ?></span> 
137
				<span class="nom">Numéro du type : <?= $nomenclature['num_type'] ?></span> 
135
			</li>
138
			</li>
136
		</ul>
139
		</ul>
137
	<?php } ?>
140
	<?php } ?>
138
		
141
		
139
	<!-- VIDE DE DONNEES -->
142
	<!-- VIDE DE DONNEES -->
140
	<?php if ( empty($nomenclature['basionyme_nom_retenu']) && empty($nomenclature['nom_retenu_formate'] ) 
143
	<?php if ( empty($nomenclature['basionyme_nom_retenu']) && empty($nomenclature['nom_retenu_formate'] ) 
141
	&& empty($nomenclature['nom_selectionne'] ) && empty($nomenclature['synonymes']['noms'] )
144
	&& empty($nomenclature['nom_selectionne'] ) && empty($nomenclature['synonymes']['noms'] )
142
	&& empty($nomenclature['nom_retenu']) && empty($nomenclature['flores_synonymes'])
145
	&& empty($nomenclature['nom_retenu']) && empty($nomenclature['flores_synonymes'])
143
	&& empty($nomenclature['num_type'])) : ?>
146
	&& empty($nomenclature['num_type'])) : ?>
144
	Aucune donnée.
147
	Aucune donnée.
145
	<?php endif; ?>
148
	<?php endif; ?>
146
</div>
149
</div>
147
<br/>
150
<br/>
148
<br/>
151
<br/>