Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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