Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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