Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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