Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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