Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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