Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1446 Rev 1530
1
<!-- Fichier intermédiaire -->
1
<!-- Fichier intermédiaire -->
2
<!-- Variables js commune injectée dans fiche_entete.tpl.tml -->
2
<!-- Variables js commune injectée dans fiche_entete.tpl.tml -->
3
<? $url = htmlentities('?referentiel='.Registre::get('parametres.referentiel').'&niveau='.Registre::get('parametres.niveau').'&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
3
<? $url = htmlentities($urlBase . '?referentiel='.Registre::get('parametres.referentiel').'&niveau='.Registre::get('parametres.niveau').'&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
4
<div class="synthese onglet_contenu" id="synthese">
4
<div class="synthese onglet_contenu" id="synthese">
5
	<div class="colonne deuxtiers">
5
	<div class="colonne deuxtiers">
6
	
6
	
7
		<!-- Description -->
7
		<!-- Description -->
8
		<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
8
		<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
9
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
9
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
10
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description"><?=$i18n["onglet-nom-descr"]?></a>
10
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description"><?=$i18n["onglet-nom-descr"]?></a>
11
			</h3>
11
			</h3>
12
			<div id="contenu-1" class="contenu">
12
			<div id="contenu-1" class="contenu">
13
				<h4><?= $description['titre']?></h4>
13
				<? if ($description['description'] != '' && $description['description'] != array() : ?>
14
				<? if ($description['description'] != '') : ?>
14
					<h4><?= $description['titre']?></h4>
15
					<? if($description['type'] == 'baseflor') : ?>
15
					<? if($description['type'] == 'baseflor') : ?>
16
						<table class="desc">
16
						<table class="desc">
17
							<tr>
17
							<tr>
18
								<td colspan="2">
18
								<td colspan="2">
19
									<?if ($description['description']['type_bio'] != '') : ?>
19
									<?if ($description['description']['type_bio'] != '') : ?>
20
									 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
20
									 	<span class="titre">Type Biologique :</span> <?= $description['description']['type_bio']; ?><br/>
21
									 <? endif; ?>
21
									 <? endif; ?>
22
								</td>
22
								</td>
23
							</tr>
23
							</tr>
24
							<tr>
24
							<tr>
25
								<td colspan="2">
25
								<td colspan="2">
26
									<?  if ($description['description']['form_vegetale'] != '') : ?>
26
									<?  if ($description['description']['form_vegetale'] != '') : ?>
27
								 		<span class="titre">Formation végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
27
								 		<span class="titre">Formation végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
28
								 	<? endif; ?>
28
								 	<? endif; ?>
29
								 </td>
29
								 </td>
30
							</tr>
30
							</tr>
31
							<tr>
31
							<tr>
32
								<td colspan="2">
32
								<td colspan="2">
33
									<? if ($description['description']['chorologie'] != ''): ?>
33
									<? if ($description['description']['chorologie'] != ''): ?>
34
								 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
34
								 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
35
								 	<? endif; ?>
35
								 	<? endif; ?>
36
								</td>
36
								</td>
37
							</tr>
37
							</tr>
38
							<tr>
38
							<tr>
39
								<td >
39
								<td >
40
									<? if ($description['description']['inflorescence'] != '') : ?>
40
									<? if ($description['description']['inflorescence'] != '') : ?>
41
									 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
41
									 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
42
									<? endif; ?>
42
									<? endif; ?>
43
									<? if ($description['description']['fruit'] != '') : ?>
43
									<? if ($description['description']['fruit'] != '') : ?>
44
									 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
44
									 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
45
									<? endif; ?>
45
									<? endif; ?>
46
									<? if ($description['description']['couleur_fleur'] != '') : ?>
46
									<? if ($description['description']['couleur_fleur'] != '') : ?>
47
									 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
47
									 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
48
									<? endif; ?>
48
									<? endif; ?>
49
									<? if ($description['description']['macule'] != '') : ?>
49
									<? if ($description['description']['macule'] != '') : ?>
50
									 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
50
									 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
51
									<? endif; ?>
51
									<? endif; ?>
52
									<? if ($description['description']['floraison'] != '') : ?>
52
									<? if ($description['description']['floraison'] != '') : ?>
53
									 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
53
									 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
54
									<? endif; ?>
54
									<? endif; ?>
55
								</td>
55
								</td>
56
								<td>
56
								<td>
57
									<? if ($description['description']['sexualite'] != '') : ?>
57
									<? if ($description['description']['sexualite'] != '') : ?>
58
									 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
58
									 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
59
									<? endif; ?>
59
									<? endif; ?>
60
									<?if ($description['description']['ordre_maturation'] != '') : ?>
60
									<?if ($description['description']['ordre_maturation'] != '') : ?>
61
									 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
61
									 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
62
									<? endif; ?>
62
									<? endif; ?>
63
									<? if ($description['description']['pollinisation'] != '') : ?>
63
									<? if ($description['description']['pollinisation'] != '') : ?>
64
									 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
64
									 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
65
									<? endif; ?>
65
									<? endif; ?>
66
									<? if ($description['description']['dissemination'] != '') : ?>
66
									<? if ($description['description']['dissemination'] != '') : ?>
67
									 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
67
									 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
68
									<? endif; ?>
68
									<? endif; ?>
69
								</td>
69
								</td>
70
							</tr>
70
							</tr>
71
						</table>	
71
						</table>	
72
					<? elseif($description['titre'] == 'Description de Coste') : ?> 
72
					<? elseif($description['titre'] == 'Description de Coste') : ?> 
73
						<table class="desc">
73
						<table class="desc">
74
							 <tr>
74
							 <tr>
75
							 	<td>
75
							 	<td>
76
									<?if ($description['description']['nom_scientifique'] != '') : ?>
76
									<?if ($description['description']['nom_scientifique'] != '') : ?>
77
										<span class="gras">
77
										<span class="gras">
78
										<?=$description['description']['nom_scientifique']; ?>
78
										<?=$description['description']['nom_scientifique']; ?>
79
										</span> 
79
										</span> 
80
									<? endif; ?>
80
									<? endif; ?>
81
									<?if ($description['description']['nom_commun'] != '') : ?>
81
									<?if ($description['description']['nom_commun'] != '') : ?>
82
										<span class="italique">
82
										<span class="italique">
83
										<?=$description['description']['nom_commun']; ?> 
83
										<?=$description['description']['nom_commun']; ?> 
84
										</span>
84
										</span>
85
									<? endif; ?>
85
									<? endif; ?>
86
								</td>
86
								</td>
87
							 </tr>
87
							 </tr>
88
							 <?if ($description['description']['synonymes'] != '') : ?>
88
							 <? if ($description['description']['synonymes'] != '') : ?>
89
								<tr>
89
								<tr>
90
							 		<td>
90
							 		<td>
91
										<span class="titre">Synonymes </span>
91
										<span class="titre">Synonymes </span>
92
										<?=$description['description']['synonymes']; ?> 
92
										<?=$description['description']['synonymes']; ?> 
93
									</td>
93
									</td>
94
								</tr>
94
								</tr>
95
							<? endif; ?>
95
							<? endif; ?>
96
							 <tr>
96
							 <tr>
97
							 	<td>
97
							 	<td>
98
									<?if ($description['description']['texte'] != '') : ?>
98
									<?if ($description['description']['texte'] != '') : ?>
99
										<?=$description['description']['texte']; ?> 
99
										<?=$description['description']['texte']; ?> 
100
										<br/>
100
										<br/>
101
									<? endif; ?>
101
									<? endif; ?>
102
								</td>
102
								</td>
103
							</tr>
103
							</tr>
104
							<?if ($description['description']['ecologie'] != '') : ?>
104
							<?if ($description['description']['ecologie'] != '') : ?>
105
								 <tr>
105
								 <tr>
106
							 		<td>
106
							 		<td>
107
										<span class="titre">Écologie </span>
107
										<span class="titre">Écologie </span>
108
										<?=$description['description']['ecologie']; ?>
108
										<?=$description['description']['ecologie']; ?>
109
									</td>
109
									</td>
110
								</tr>
110
								</tr>
111
							<? endif; ?>
111
							<? endif; ?>
112
							<?if ($description['description']['repartition'] != '') : ?>
112
							<?if ($description['description']['repartition'] != '') : ?>
113
								<tr>
113
								<tr>
114
							 		<td>
114
							 		<td>
115
										<span class="titre">Répartition </span>
115
										<span class="titre">Répartition </span>
116
										<?=$description['description']['repartition']; ?> 
116
										<?=$description['description']['repartition']; ?> 
117
									</td>
117
									</td>
118
								</tr>
118
								</tr>
119
							<? endif; ?>
119
							<? endif; ?>
120
							<?if ($description['description']['floraison'] != '') : ?>
120
							<?if ($description['description']['floraison'] != '') : ?>
121
								 <tr>
121
								 <tr>
122
									 <td>
122
									 <td>
123
										<span class="titre">Floraison </span>
123
										<span class="titre">Floraison </span>
124
										<?=$description['description']['floraison']; ?>
124
										<?=$description['description']['floraison']; ?>
125
										<?if ($description['description']['fructification'] != '') : ?>
125
										<?if ($description['description']['fructification'] != '') : ?>
126
											<span class="titre">Fructification </span>
126
											<span class="titre">Fructification </span>
127
											<?=$description['description']['fructification']; ?>
127
											<?=$description['description']['fructification']; ?>
128
										<? endif; ?>
128
										<? endif; ?>
129
									</td>
129
									</td>
130
								</tr>
130
								</tr>
131
							<? endif; ?>
131
							<? endif; ?>
132
							<?if ($description['description']['usages'] != '') : ?>
132
							<?if ($description['description']['usages'] != '') : ?>
133
								<tr>
133
								<tr>
134
									<td>
134
									<td>
135
										<span class="titre">Usages</span>
135
										<span class="titre">Usages</span>
136
											<?=$description['description']['usages']; ?>
136
											<?=$description['description']['usages']; ?>
137
									</td>
137
									</td>
138
								</tr>
138
								</tr>
139
							<? endif; ?>
139
							<? endif; ?>
140
						</table>
140
						</table>
141
					<? else : ?>
141
					<? else : ?>
142
						<?=$description['description']?>
142
						<?=$description['description']?>
143
						
143
						
144
					<? endif;?>
144
					<? endif;?>
145
				
145
				
146
				<? endif;?><br />
146
				<? endif;?><br />
147
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" id="alignement-droite">
147
				<a href="<?=$url;?>description" class="alignement-droite">
148
					Voir +/Compléter
-
 
149
				</a>
-
 
150
			</div>
-
 
151
		</div>
-
 
152
		
-
 
153
		<!-- Ethnobotanique -->
-
 
154
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
-
 
155
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
-
 
156
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique"><?=$i18n["onglet-nom-ethnobota"]?></a>
-
 
157
			</h3>
-
 
158
			<div id="contenu-4" class="contenu">
-
 
159
				<h4>Noms communs</h4>
-
 
160
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
-
 
161
					Aucun nom vernaculaire<br /><br />
-
 
162
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
-
 
163
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
-
 
164
						Rajouter vos informations.
-
 
165
					</a>
-
 
166
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];} ?>
-
 
167
				<?php } else { ?>
-
 
168
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
-
 
169
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
-
 
170
					<?php endforeach; ?>
-
 
171
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
-
 
172
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
-
 
173
							et <?= $ethnobotanique['autresNomsVerna'] ?>
-
 
174
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
-
 
175
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
-
 
176
						</a><br />
-
 
177
					<?php }?>
-
 
178
				<?php }?>
-
 
179
				<h4>Usages</h4>
-
 
180
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
-
 
181
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
-
 
182
						Rajouter vos informations.
-
 
183
					</a>
-
 
184
				<? } else { echo $ethnobotanique['wikini']['usage']; } ?>
-
 
185
				<h4>Culture et arts</h4>
-
 
186
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
-
 
187
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
-
 
188
						Rajouter vos informations.
-
 
189
					</a>
-
 
190
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
-
 
191
				<br />
-
 
192
				<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
-
 
193
					Voir +/Compléter
148
					Voir +/Compléter
194
				</a>
149
				</a>
195
			</div>
150
			</div>
196
		</div>
151
		</div>
197
		
152
		
198
		<!-- Ecologie -->
153
		<!-- Ecologie -->
199
		<div id="synthese_ecologie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
154
		<div id="synthese_ecologie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
200
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
155
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
201
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie"><?=$i18n["onglet-nom-eco"]?></a>
156
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie"><?=$i18n["onglet-nom-eco"]?></a>
202
			</h3>
157
			</h3>
203
			<div id="contenu-8" class="contenu">
158
			<div id="contenu-8" class="contenu">
204
				<h4><?= $ecologie['graph']['titre'] ?></h4>
-
 
205
				<? if (empty($ecologie['graph']['description'])) : ?>
159
				<? if (empty($ecologie['graph']['description'])) : ?>
206
					<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
160
					<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
207
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
161
						<a href="<?=$url;?>ecologie" >
208
							Rajouter vos informations.
162
							Rajouter vos informations.
209
						</a>
163
						</a>
-
 
164
					<? else ?>					
-
 
165
						<h4><?= $ecologie['graph']['titre'] ?></h4>
210
					<? else : echo $ecologie['graph']['wikini']['ecologie'];?>
166
						 <?= $ecologie['graph']['wikini']['ecologie']; ?>
211
					<? endif; ?>
167
					<? endif; ?>
212
				<? else : ?>
168
				<? else : ?>
213
					<div class="fond_graphique">	
169
					<div class="fond_graphique">	
214
						<? if (isset($ecologie['graph']['description']['climat_url'])) :?>
170
						<? if (isset($ecologie['graph']['description']['climat_url'])) :?>
215
							<span class="titre">caractéristiques climatiques</span>
171
							<span class="titre">caractéristiques climatiques</span>
216
							<div class="graphique">
172
							<div class="graphique">
217
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>" 
173
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>" 
218
									class="svg" alt="<?=$ecologie['graph']['description']['climat_url_png']?>" >  
174
									class="svg" >  
219
								</object>
175
								</object>
220
							</div>
176
							</div>
221
						<? endif;?>
177
						<? endif;?>
222
						<? if (isset($ecologie['graph']['description']['sol_url'])) :?>
178
						<? if (isset($ecologie['graph']['description']['sol_url'])) :?>
223
							<span class="titre">caractéristiques du sol</span>
179
							<span class="titre">caractéristiques du sol</span>
224
							<div class="graphique">
180
							<div class="graphique">
225
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
181
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
226
									class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >   
182
									class="svg" >
227
								</object>
183
								</object>
228
							</div>
184
							</div>
229
						<? endif;?>
185
						<? endif;?>
230
						<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
186
						<a href="<?=$url;?>ecologie">
231
							Voir les références
187
							Voir les références
232
						</a>
188
						</a>
233
					</div>
189
					</div>
234
				<? endif; ?>
190
				<? endif; ?>
235
				<? if (!empty($ecologie['phytosocio']['description'])) : ?>
191
				<? if (!empty($ecologie['phytosocio']['description'])) : ?>
236
					<h4>Phytosociologie</h4>
192
					<h4>Phytosociologie</h4>
237
					<span class="gras">
193
					<span class="gras">
238
						<?=$ecologie['phytosocio']['description'][0]['niveau.libelle']?> - 
194
						<?=$ecologie['phytosocio']['description'][0]['niveau.libelle']?> - 
239
						<?=$ecologie['phytosocio']['description'][0]['code_catminat']?>
195
						<?=$ecologie['phytosocio']['description'][0]['code_catminat']?>
240
					</span> <br/>
196
					</span> <br/>
241
					<?=$ecologie['phytosocio']['description'][0]['syntaxon']?> - 
197
					<?=$ecologie['phytosocio']['description'][0]['syntaxon']?> - 
242
					<span class="italique">
198
					<span class="italique">
243
						<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
199
						<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
244
					</span> 
200
					</span> 
245
				<? endif; ?>
201
				<? endif; ?>
246
				<br/>
202
				<br/>
247
				<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" id="alignement-droite">
203
				<a href="<?=$url;?>ecologie" class="alignement-droite">
248
					Voir +/Compléter
204
					Voir +/Compléter
249
				</a>
205
				</a>
250
			</div>
206
			</div>
251
		</div>
207
		</div>
252
		
208
		
253
		<!-- Nomenclature -->
209
		<!-- Nomenclature -->
254
		<div id="synthese_nomenclature" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
210
		<div id="synthese_nomenclature" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
255
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-6">
211
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-6">
256
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>nomenclature"><?=$i18n["onglet-nom-classif"]?></a>
212
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>nomenclature"><?=$i18n["onglet-nom-classif"]?></a>
257
			</h3>
213
			</h3>
258
			<div id="contenu-6" class="contenu">
214
			<div id="contenu-6" class="contenu">
259
				<h4>Taxons supérieurs</h4>
215
				<h4>Taxons supérieurs</h4>
260
				<?php if($nomenclature['taxons_sup'] != array()) { ?>	
216
				<?php if($nomenclature['taxons_sup'] != array()) { ?>	
261
					<?php foreach($nomenclature['taxons_sup'] as $taxon) : ?>	
217
					<?php foreach($nomenclature['taxons_sup'] as $taxon) : ?>	
262
						<div>
218
						<div>
263
							<a title="Voir la fiche de ce nom" href="<?= $nomenclature['urls']->obtenirUrlFiche($taxon['num_nom'],'nom_scientifique', $taxon['nom_sci']); ?>">
219
							<a title="Voir la fiche de ce nom" href="<?= $nomenclature['urls']->obtenirUrlFiche($taxon['num_nom'],'nom_scientifique', $taxon['nom_sci']); ?>">
264
								<?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?>
220
								<?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?>
265
							</a>
221
							</a>
266
						</div>
222
						</div>
267
					<?php endforeach; ?>
223
					<?php endforeach; ?>
268
				<?php } else { ?>	
224
				<?php } else { ?>	
269
					<div>Aucun taxon supérieur référencé </div>
225
					<div>Aucun taxon supérieur référencé </div>
270
				<?php } ?>
226
				<?php } ?>
271
				<h4>Nom retenu</h4>
227
				<h4>Nom retenu</h4>
272
				<div>
228
				<div>
273
					<div class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu_formate']) ? 'surlignage' : '' ?>">
229
					<div class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu_formate']) ? 'surlignage' : '' ?>">
274
						<?= $nomenclature['nom_retenu_formate']; ?>
230
						<?= $nomenclature['nom_retenu_formate']; ?>
275
					</div>
231
					</div>
276
					<?php if($nomenclature['basionyme_nom_retenu'] != '') { ?>	
232
					<?php if($nomenclature['basionyme_nom_retenu'] != '') { ?>	
277
						<div class="nom"> <span class="nomenclature_basionyme">Basionyme : <?= $nomenclature['basionyme_nom_retenu']; ?></span></div>
233
						<div class="nom"> <span class="nomenclature_basionyme">Basionyme : <?= $nomenclature['basionyme_nom_retenu']; ?></span></div>
278
					<?php } ?>
234
					<?php } ?>
279
				</div>
235
				</div>
280
				
236
				
281
				<h4>Synonymes</h4>
237
				<h4>Synonymes</h4>
282
				<?php if($nomenclature['synonymes'] == array()) { ?>
238
				<?php if($nomenclature['synonymes'] == array()) { ?>
283
					Aucun synonyme
239
					Aucun synonyme
284
				<? } else { ?>
240
				<? } else { ?>
285
					<?php foreach ($nomenclature['synonymes'] as $synonyme) : ?>
241
					<?php foreach ($nomenclature['synonymes'] as $synonyme) : ?>
286
						<div class="nomenclature_synonyme nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
242
						<div class="nomenclature_synonyme nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
287
							<?= $synonyme['nom_sci_complet']; ?>
243
							<?= $synonyme['nom_sci_complet']; ?>
288
						</div>
244
						</div>
289
					<?php endforeach; ?>
245
					<?php endforeach; ?>
290
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
246
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
291
						<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
247
						<a href="<?=$url;?>nomenclature" style="float:right;" >et 
292
							<?= $nomenclature['autresSynonymesNbre'] ?>
248
							<?= $nomenclature['autresSynonymesNbre'] ?>
293
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
249
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
294
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
250
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
295
						</a>
251
						</a>
296
				<?php }} ?>
252
				<?php }} ?>
297
				<h4>Taxons inférieurs</h4>
253
				<h4>Taxons inférieurs</h4>
298
				<?php if($nomenclature['taxons_inf'] != array()) { ?>
254
				<?php if($nomenclature['taxons_inf'] != array()) { ?>
299
					<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>	
255
					<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>	
300
						<div>
256
						<div>
301
							<a title="Voir la fiche de ce nom" href="<?= $nomenclature['urls']->obtenirUrlFiche($taxon['num_nom'],'nom_scientifique', $taxon['nom_sci']); ?>">
257
							<a title="Voir la fiche de ce nom" href="<?= $nomenclature['urls']->obtenirUrlFiche($taxon['num_nom'],'nom_scientifique', $taxon['nom_sci']); ?>">
302
								<?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?>
258
								<?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?>
303
							</a>
259
							</a>
304
						</div>
260
						</div>
305
					<?php endforeach; ?>
261
					<?php endforeach; ?>
306
				<?php } else { ?>	
262
				<?php } else { ?>	
307
					<div>Aucun taxon inférieur référencé </div>
263
					<div>Aucun taxon inférieur référencé </div>
308
				<?php } ?>
264
				<?php } ?>
309
				<br/>
265
				<br/>
310
				<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
266
				<a href="<?=$url;?>nomenclature" class="alignement-droite">
311
					Voir +/Compléter
267
					Voir +/Compléter
312
				</a>
268
				</a>
313
			</div>
269
			</div>
314
		</div>
270
		</div>
315
		
271
		
316
		
272
		
317
		<!-- Bibliographie -->	
273
		<!-- Bibliographie -->	
318
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
274
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
319
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
275
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
320
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie"><?=$i18n["onglet-nom-biblio"]?></a>
276
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie"><?=$i18n["onglet-nom-biblio"]?></a>
321
			</h3>
277
			</h3>
322
			<div id="contenu-2" class="contenu">
278
			<div id="contenu-2" class="contenu">
323
				<?php if (isset($bibliographie['wikini'])) { ?>
279
				<?php if (isset($bibliographie['wikini'])) { ?>
324
					<?= ($bibliographie['wikini']['biblio'] == '') ? 
280
					<?= ($bibliographie['wikini']['biblio'] == '') ? 
325
						'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
281
						'<a href="'.$url.'bibliographie" >
326
							Rajouter vos données.</a>'
282
							Rajouter vos données.</a>'
327
					: $bibliographie['wikini']['biblio'].
283
					: $bibliographie['wikini']['biblio'].
328
						'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
284
						'<br /><br /><a href="'.$url.'description" >
329
						Compléter cette  bibliographie</a>'; ?>
285
						Compléter cette  bibliographie</a>'; ?>
330
				<?php } else { ?>
286
				<?php } else { ?>
331
					<h4>Références</h4>
287
					<h4>Références</h4>
332
					<?php if ($bibliographie['references'] == array()) { ?>
288
					<?php if ($bibliographie['references'] == array()) { ?>
333
						Aucune référence bibliographique
289
						Aucune référence bibliographique
334
					<?php } else { ?>
290
					<?php } else { ?>
335
						<?php foreach ($bibliographie['references'] as $reference) : ?>
291
						<?php foreach ($bibliographie['references'] as $reference) : ?>
336
							<div> - <?= $reference['reference_html']; ?> </div>
292
							<div> - <?= $reference['reference_html']; ?> </div>
337
						<?php endforeach; ?>
293
						<?php endforeach; ?>
338
						<?php if($bibliographie['autresReferences'] > 0) { ?>
294
						<?php if($bibliographie['autresReferences'] > 0) { ?>
339
							<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
295
							<a href="<?=$url;?>bibliographie" class="alignement-droite">
340
								et <?= $bibliographie['autresReferences'] ?>
296
								et <?= $bibliographie['autresReferences'] ?>
341
								autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
297
								autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
342
								référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
298
								référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
343
							</a>
299
							</a>
344
					<?php } } ?>
300
					<?php } } ?>
345
				<?php }?>
301
				<?php }?>
346
				<hr class="nettoyage" />
302
				<hr class="nettoyage" />
347
				<a href="<?=$url;?>bibliographie" class="lien_ouverture_onglet_parent" id="alignement-droite">
303
				<a href="<?=$url;?>bibliographie" class="alignement-droite">
348
					Voir +/Compléter
304
					Voir +/Compléter
349
				</a>
305
				</a>
350
			</div>
306
			</div>
351
		</div>
307
		</div>
352
			
308
			
353
	</div><div class="colonne">	
309
	</div><div class="colonne">	
354
	
310
	
355
		<!-- Illustrations -->
311
		<!-- Illustrations -->
356
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
312
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
357
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
313
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
358
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations"><?=$i18n["onglet-nom-illustra"]?></a>
314
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations"><?=$i18n["onglet-nom-illustra"]?></a>
359
			</h3>
315
			</h3>
360
			<div id="contenu-0" class="contenu">
316
			<div id="contenu-0" class="contenu">
361
				<?php if ($illustrations['imageUrl'] != '') : ?>
317
				<?php if ($illustrations['imageUrl'] != '') : ?>
362
					<img class="illustration_cel" data-num-nom="<?= $num_nom; ?>" title="<?= $infos['nom_sci'] . ($nom_vernaculaire != '' ? ' ('.$nom_vernaculaire.')' : '') ?>" 
318
					<img class="illustration_cel" data-num-nom="<?= $num_nom; ?>" title="<?= $infos['nom_sci'] . ($nom_vernaculaire != '' ? ' ('.$nom_vernaculaire.')' : '') ?>" 
363
					src="<?=$illustrations['imageUrl']?>" alt="<?= $infos['nom_sci'] . ($nom_vernaculaire != '' ? ' ('.$nom_vernaculaire.')' : '') ?>" 
319
					src="<?=$illustrations['imageUrl']?>" alt="<?= $infos['nom_sci'] . ($nom_vernaculaire != '' ? ' ('.$nom_vernaculaire.')' : '') ?>" 
364
					style="margin-bottom: 0px; margin-left: -2px; width: 210px;"/>
320
					style="margin-bottom: 0px; margin-left: -2px; width: 210px;"/>
365
				<?php else : ?>
321
				<?php else : ?>
366
					<span class="absent" style="float:none; margin-left:55px">
322
					<span class="absent" style="float:none; margin-left:55px">
367
						Pas de photo<br />
323
						Pas de photo<br />
368
						<a href="http://www.tela-botanica.org/page:cel" 
324
						<a href="http://www.tela-botanica.org/page:cel" 
369
							title="Ajouter une photographie de <?= $nom_retenu ?> au moyen du Carnet en Ligne" 
325
							title="Ajouter une photographie de <?= $nom_retenu ?> au moyen du Carnet en Ligne" 
370
							onclick="window.open(this.href); return false;" class="contribuer">
326
							onclick="window.open(this.href); return false;" class="contribuer">
371
							Contribuer
327
							Contribuer
372
						</a>
328
						</a>
373
					</span>
329
					</span>
374
				<?php endif; ?>
330
				<?php endif; ?>
375
				<br/>
331
				<br/>
376
				<a href="<?=$url;?>illustrations" class="lien_ouverture_onglet_parent" id="alignement-droite">
332
				<a href="<?=$url;?>illustrations" class="alignement-droite">
377
					Voir +/Compléter
333
					Voir +/Compléter
378
				</a>
334
				</a>
379
			</div>
335
			</div>
380
		</div>
336
		</div>
381
		
337
		
382
		<!-- Répartition -->
338
		<!-- Répartition -->
383
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
339
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
384
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
340
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
385
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition"><?=$i18n["onglet-nom-repart"]?></a>
341
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition"><?=$i18n["onglet-nom-repart"]?></a>
386
			</h3>
342
			</h3>
387
			<div id="contenu-3" class="contenu">
343
			<div id="contenu-3" class="contenu">
388
			  	<? if ($referentiel != "bdtxa" && $repartition['eflore'] != null) : ?>
344
				<? if ($referentiel != "bdtxa" && $repartition['eflore'] != null) : ?>
389
			  		<h4>Observations</h4>
345
					<h4>Observations</h4>
-
 
346
					<a href="<?=$url;?>repartition">
390
			  		<img src="<?=htmlentities($repartition['eflore'])?>" alt="<?= $infos['nom_sci'] ?> - carte des observations" style="margin-left: 11px; width: 190px;" />
347
						<img src="<?=htmlentities($repartition['eflore'])?>" alt="<?= $infos['nom_sci'] ?> - carte des observations" style="margin-left: 11px; width: 190px;" />
-
 
348
					</a>
391
			  	<? endif; ?>
349
				<? endif; ?>
392
			  	<? if ($repartition['chorodep'] != null) : ?>
350
				<? if ($repartition['chorodep'] != null) : ?>
393
					<h4>Répartition départementale</h4>
351
					<h4>Répartition départementale</h4>
-
 
352
					<a href="<?=$url;?>repartition" class="alignement-droite">
394
					<img src="<?=htmlentities($repartition['chorodep'])?>" alt="<?= $infos['nom_sci'] ?> - carte de répartition"/>
353
						<img src="<?=htmlentities($repartition['chorodep'])?>" alt="<?= $infos['nom_sci'] ?> - carte de répartition"/>
-
 
354
					</a>
395
			  	<? endif; ?>
355
				<? endif; ?>
396
			  	<br/>
356
				<br/>
397
				<a href="<?=$url;?>repartition" class="lien_ouverture_onglet_parent" id="alignement-droite">
357
				<a href="<?=$url;?>repartition" class="alignement-droite">
398
					Voir +/Compléter
358
					Voir +/Compléter
399
				</a>
359
				</a>
400
			</div>
360
			</div>
401
		</div>
361
		</div>
402
		
362
		
403
		<!-- Statut de protection -->
363
		<!-- Statut de protection -->
404
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
364
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
405
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
365
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
406
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut"><?=$i18n["onglet-nom-protect"]?></a>
366
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut"><?=$i18n["onglet-nom-protect"]?></a>
407
			</h3>
367
			</h3>
408
				<div id="contenu-7">
368
				<div id="contenu-7">
409
				<div class="contenu <?= (isset($statut['statuts'])) ? 'attention' : ''; ?>">
369
				<div class="contenu <?= (isset($statut['statuts'])) ? 'attention' : ''; ?>">
410
				<? if (!empty($statut['statuts']) && isset($statut['statuts'])) { ?>
370
				<? if (!empty($statut['statuts']) && isset($statut['statuts'])) { ?>
411
					Dans les zones suivantes, ce taxon est soumis à :
371
					Dans les zones suivantes, ce taxon est soumis à :
412
					<ul>
372
					<ul>
413
					<?php foreach($statut['statuts'] as $id=>$type_statut) : ?>
373
					<?php foreach($statut['statuts'] as $id=>$type_statut) : ?>
414
						<li><?= $id;?> :<ul>
374
						<li><?= $id;?> :<ul>
415
						<?php foreach($type_statut as $statut_zone) : ?>	
375
						<?php foreach($type_statut as $statut_zone) : ?>	
416
							<li><a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
376
							<li><a href="<?=$url;?>statut" >
417
								<?= $statut_zone ?><br />
377
								<?= $statut_zone ?><br />
418
							</a></li>
378
							</a></li>
419
						<?php endforeach; ?></ul></li>
379
						<?php endforeach; ?></ul></li>
420
					<?php endforeach; ?></ul>
380
					<?php endforeach; ?></ul>
421
				<? } else if ($statut['wikini']['statuts_de_protection'] != '' ) { ?>
381
				<? } else if ($statut['wikini']['statuts_de_protection'] != '' ) { ?>
422
					<?= $statut['wikini']['statuts_de_protection'];?>
382
					<?= $statut['wikini']['statuts_de_protection'];?>
423
				<? } ?>
383
				<? } ?>
424
				</div><div class="contenu <?= isset($statut['liste_rouge'][0]) ? 'attention' : ''; ?>">
384
				</div><div class="contenu <?= isset($statut['liste_rouge'][0]) ? 'attention' : ''; ?>">
425
				<? if (!empty($statut['liste_rouge']) && isset($statut['liste_rouge'][0])) { ?>
385
				<? if (!empty($statut['liste_rouge']) && isset($statut['liste_rouge'][0])) { ?>
426
					<div class="gras">Ce taxon est classé dans la liste rouge dans la catégorie : <br /></div>
386
					<div class="gras">Ce taxon est classé dans la liste rouge dans la catégorie : <br /></div>
427
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
387
					<a href="<?=$url;?>statut" >
428
						<?= $statut['liste_rouge'][0]['num_categorie'].' - '.$statut['liste_rouge'][0]['categorie']; ?><br />
388
						<?= $statut['liste_rouge'][0]['num_categorie'].' - '.$statut['liste_rouge'][0]['categorie']; ?><br />
429
					</a>
389
					</a>
430
				<? } ?>
390
				<? } ?>
431
				<? if ($statut['wikini']['statuts_de_protection'] == '' && !isset($statut['statuts'][0]) && !isset($statut['liste_rouge'][0])) {?>
391
				<? if ($statut['wikini']['statuts_de_protection'] == '' && ($statut['statuts'] == array()) && !isset($statut['liste_rouge'][0])) {?>
432
					<span class="pas_de_protection">Pas de protection connue</span>
392
					<span class="pas_de_protection">Pas de protection connue</span>
433
				<? }?>
393
				<? }?>
434
				<br />
394
				<br />
435
				<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" id="alignement-droite">
395
				<a href="<?=$url;?>statut" class="alignement-droite">
436
					Voir +/Compléter
396
					Voir +/Compléter
437
				</a>
397
				</a>
438
				</div>
398
				</div>
439
			</div>
399
			</div>
440
		</div>	
400
		</div>	
-
 
401
		
-
 
402
		<!-- Ethnobotanique -->
-
 
403
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
-
 
404
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
-
 
405
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique"><?=$i18n["onglet-nom-ethnobota"]?></a>
-
 
406
			</h3>
-
 
407
			<div id="contenu-4" class="contenu">
-
 
408
				<h4>Noms communs</h4>
-
 
409
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
-
 
410
					Aucun nom vernaculaire<br /><br />
-
 
411
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
-
 
412
					<a href="<?=$url;?>ethnobotanique" >
-
 
413
						Rajouter vos informations.
-
 
414
					</a>
-
 
415
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];} ?>
-
 
416
				<?php } else { ?>
-
 
417
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
-
 
418
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
-
 
419
					<?php endforeach; ?>
-
 
420
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
-
 
421
						<a href="<?=$url;?>ethnobotanique" class="alignement-droite">
-
 
422
							et <?= $ethnobotanique['autresNomsVerna'] ?>
-
 
423
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
-
 
424
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
-
 
425
						</a><br />
-
 
426
					<?php }?>
-
 
427
				<?php }?>
-
 
428
				<h4>Usages</h4>
-
 
429
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
-
 
430
					<a href="<?=$url;?>ethnobotanique" >
-
 
431
						Rajouter vos informations.
-
 
432
					</a>
-
 
433
				<? } else { echo $ethnobotanique['wikini']['usage']; } ?>
-
 
434
				<h4>Culture et arts</h4>
-
 
435
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
-
 
436
					<a href="<?=$url;?>ethnobotanique" >
-
 
437
						Rajouter vos informations.
-
 
438
					</a>
-
 
439
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
-
 
440
				<br />
-
 
441
				<a href="<?=$url;?>ethnobotanique" class="alignement-droite">
-
 
442
					Voir +/Compléter
-
 
443
				</a>
-
 
444
			</div>
-
 
445
		</div>
-
 
446
		
441
	</div>
447
	</div>
442
	<hr class="nettoyage" />	
448
	<hr class="nettoyage" />	
443
	<script type="text/javascript">
449
	<script type="text/javascript">
444
		$.event.trigger('ongletSyntheseCharge');
450
		$.event.trigger('ongletSyntheseCharge');
445
	</script>
451
	</script>
446
</div>
452
</div>