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