Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 908 | Rev 917 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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