Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 605 | Rev 609 | 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>
537 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">
556 mathilde 225
				<h4><?=$ecologie['titre']?></h4>
608 mathilde 226
					<? if (empty($ecologie['description'])) : ?>
556 mathilde 227
						<? if ($ecologie['wikini']['ecologie'] == '') :?>
228
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
229
								Participez à la rédaction collaborative de l'écologie
230
							</a>
231
						<? else : echo $ecologie['wikini']['ecologie'];?><br /><br />
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">
240
								<object  type="image/svg+xml" data="<?=$ecologie['description']['climat_url']?>"
241
								class="svg" alt="<?=$ecologie['description']['climat_url_png']?>" >
242
								</object>
243
							</div>
244
							<span class="titre">caractéristiques du sol</span>
245
							<div class="graphique">
246
								<object  type="image/svg+xml" data="<?=$ecologie['description']['sol_url']?>"
247
								class="svg" alt="<?=$ecologie['description']['sol_url_png']?>" >
248
								</object>
249
							</div>
608 mathilde 250
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
251
								Voir les références
252
							</a>
253
							<br/>
254
							<br/>
255
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent">
256
								Complétez nos données sur l'écologie.
257
							</a>
556 mathilde 258
						</div>
608 mathilde 259
 
556 mathilde 260
					<? endif; ?>
608 mathilde 261
 
262
 
594 delphine 263
			</div>
525 gduche 264
		</div>
265
 
531 gduche 266
		<!-- Ethnobotanique -->
525 gduche 267
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
268
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
269
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>
270
			</h3>
271
			<div id="contenu-4" class="contenu">
272
				<h4>Noms communs</h4>
273
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
274
					Aucun nom vernaculaire<br /><br />
275
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
276
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
277
						Participez à la rédaction collaborative de la liste des noms communs
278
					</a>
279
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];?><br /><br />
280
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
281
							Compléter cette liste
282
						</a>
283
					<? } ?>
284
				<?php } else { ?>
285
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
286
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
287
					<?php endforeach; ?>
288
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
289
						<a href="<?=$url;?>ethnobotanique" style="float:right;" class="lien_ouverture_onglet_parent" >et
290
							<?= $ethnobotanique['autresNomsVerna'] ?>
291
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
292
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
293
						</a><br />
294
					<?php }?>
295
				<?php }?>
296
				<h4>Usages</h4>
297
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
298
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
299
						Participez à la rédaction collaborative des usages
300
					</a>
301
				<? } else { echo $ethnobotanique['wikini']['usage'];?><br /><br />
302
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
303
						Compléter ces informations
304
					</a>
305
				<? } ?>
306
				<h4>Culture et arts</h4>
307
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
308
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
309
						Participez à la rédaction collaborative sur la culture et les arts
310
					</a>
311
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts'];?><br /><br />
312
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
313
						Compléter ces informations
314
					</a>
315
				<? } ?>
316
			</div>
317
		</div>
531 gduche 318
 
319
		<!-- Bibliographie -->
320
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
321
				<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
322
					<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
323
				</h3>
324
				<div id="contenu-2" class="contenu">
325
					<?php if (isset($bibliographie['wikini'])) { ?>
326
						<?= ($bibliographie['wikini']['biblio'] == '') ?
327
							'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
328
							Ajoutez votre bibliographie sur ce taxon</a>'
329
						: $bibliographie['wikini']['biblio'].
330
							'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
331
								Compléter cette  bibliographie</a>'; ?>
332
					<?php } else { ?>
333
 
334
						<h4>Flores</h4>
335
						<?php if ($bibliographie['flores'] == array()) { ?>
336
							Aucune flore indiquée
337
						<?php } else { ?>
338
							<?php foreach ($bibliographie['flores'] as $flore) : ?>
339
								<div> - <?= $flore; ?> </div>
340
							<?php endforeach; ?>
341
							<?php if($bibliographie['autresFlores'] > 0) { ?>
342
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
343
									<?= htmlentities($bibliographie['autresFlores']) ?>
344
									autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
345
									flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
346
								</a>
347
						<?php } } ?><br />
348
 
349
						<h4>Références</h4>
350
						<?php if ($bibliographie['references'] == array()) { ?>
351
							Aucune référence bibliographique
352
						<?php } else { ?>
353
							<?php foreach ($bibliographie['references'] as $reference) : ?>
354
								<div> - <?= $reference['reference_html']; ?> </div>
355
							<?php endforeach; ?>
356
							<?php if($bibliographie['autresReferences'] > 0) { ?>
357
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
358
									<?= $bibliographie['autresReferences'] ?>
359
									autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
360
									référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
361
								</a>
362
						<?php } } ?>
363
					<?php }?>
364
				</div>
365
			</div>
366
	</div>
525 gduche 367
 
531 gduche 368
 
369
	<div class="colonne">
370
 
371
		<!-- Illustrations -->
372
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
373
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
374
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
525 gduche 375
			</h3>
531 gduche 376
			<span id="contenu-0" class="contenu">
377
				<?php if ($illustration['imageUrl'] != '') : ?>
378
					<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
379
				<?php else : ?>
380
					<span class="absent" style="float:none; margin-left:55px">
381
						Pas de photo<br />
382
						<a href="http://www.tela-botanica.org/page:cel"
383
							title="Ajouter une photographie au moyen du Carnet en Ligne"
384
							onclick="window.open(this.href); return false;" class="contribuer">
385
							Contribuer
386
						</a>
387
					</span>
388
				<?php endif; ?>
389
			</span>
525 gduche 390
		</div>
391
 
531 gduche 392
		<!-- Répartition -->
393
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
394
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
395
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
525 gduche 396
			</h3>
531 gduche 397
			<span id="contenu-3" class="contenu">
398
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
399
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
400
			</span>
525 gduche 401
		</div>
402
 
531 gduche 403
		<!-- Statut de protection -->
525 gduche 404
		<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">
406
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Statut de protection</a>
407
			</h3>
408
			<span id="contenu-7" class="contenu">
409
				<? if ($statut['wikini']['statuts_de_protection'] == '') {?>
410
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
544 delphine 411
						Complétez nos données sur les statuts de protection
525 gduche 412
					</a>
413
				<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
414
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
415
						Compléter cette liste
416
					</a>
417
				<? } ?>
418
			</span>
419
		</div>
531 gduche 420
 
525 gduche 421
	</div>
422
	<hr class="nettoyage" />
423
</div>