Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 609 | Rev 810 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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