Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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