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
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'] != '') : ?>
579 mathilde 88
									<span class="gras">
89
									<?=$description['description']['nom_scientifique']; ?>
90
									</span>
571 mathilde 91
								<? endif; ?>
92
								<?if ($description['description']['nom_commun'] != '') : ?>
579 mathilde 93
									<span class="italique">
571 mathilde 94
									<?=$description['description']['nom_commun']; ?>
579 mathilde 95
									</span>
571 mathilde 96
								<? endif; ?>
97
							</td>
98
						 </tr>
579 mathilde 99
						  <?if ($description['description']['synonymes'] != '') : ?>
100
							<tr>
101
						 		<td>
102
									<span class="titre">Synonymes </span>
103
									<?=$description['description']['synonymes']; ?>
104
								</td>
105
							</tr>
106
						<? endif; ?>
571 mathilde 107
						 <tr>
108
						 	<td>
109
								<?if ($description['description']['texte'] != '') : ?>
110
									<?=$description['description']['texte']; ?>
111
									<br/>
112
								<? endif; ?>
113
							</td>
114
						</tr>
115
						<?if ($description['description']['ecologie'] != '') : ?>
116
							 <tr>
117
						 		<td>
118
									<span class="titre">Écologie </span>
119
									<?=$description['description']['ecologie']; ?>
120
								</td>
121
							</tr>
122
						<? endif; ?>
123
						<?if ($description['description']['repartition'] != '') : ?>
124
							<tr>
125
						 		<td>
126
									<span class="titre">Répartition </span>
127
									<?=$description['description']['repartition']; ?>
128
								</td>
129
							</tr>
130
						<? endif; ?>
131
						<?if ($description['description']['floraison'] != '') : ?>
132
							 <tr>
133
								 <td>
579 mathilde 134
									<span class="titre">Floraison </span>
571 mathilde 135
									<?=$description['description']['floraison']; ?>
579 mathilde 136
									<?if ($description['description']['fructification'] != '') : ?>
137
										<span class="titre">Fructification </span>
138
										<?=$description['description']['fructification']; ?>
139
									<? endif; ?>
571 mathilde 140
								</td>
141
							</tr>
142
						<? endif; ?>
579 mathilde 143
						<?if ($description['description']['usages'] != '') : ?>
571 mathilde 144
						 <tr>
145
						 	<td>
579 mathilde 146
						 		<span class="titre">Usages</span>
147
									<?=$description['description']['usages']; ?>
571 mathilde 148
							</td>
149
						</tr>
150
								<? endif; ?>
151
					</table>
152
 
153
				<? endif;?>
154
				<br /><br />
537 mathilde 155
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
156
					Complétez cette description
157
				</a>
556 mathilde 158
			</span>
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>
531 gduche 219
			<span id="contenu-8" class="contenu">
556 mathilde 220
				<h4><?=$ecologie['titre']?></h4>
221
					<? if ($ecologie['description'] == "") : ?>
222
						<? if ($ecologie['wikini']['ecologie'] == '') :?>
223
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
224
								Participez à la rédaction collaborative de l'écologie
225
							</a>
226
						<? else : echo $ecologie['wikini']['ecologie'];?><br /><br />
227
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
228
								Compléter ces informations
229
							</a>
230
						<? endif; ?>
231
					<? else : ?>
232
						<div class="fond_graphique">
233
							<span class="titre">caractéristiques climatiques</span>
234
							<div class="graphique">
235
								<object  type="image/svg+xml" data="<?=$ecologie['description']['climat_url']?>"
236
								class="svg" alt="<?=$ecologie['description']['climat_url_png']?>" >
237
								</object>
238
							</div>
239
							<span class="titre">caractéristiques du sol</span>
240
							<div class="graphique">
241
								<object  type="image/svg+xml" data="<?=$ecologie['description']['sol_url']?>"
242
								class="svg" class="svg" alt="<?=$ecologie['description']['sol_url_png']?>" >  >
243
								</object>
244
							</div>
245
						</div>
246
					<? endif; ?>
531 gduche 247
			</span>
525 gduche 248
		</div>
249
 
531 gduche 250
		<!-- Statut de protection -->
251
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
252
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
253
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Statut de protection</a>
254
			</h3>
255
			<span id="contenu-7" class="contenu">
256
				<? if ($statut['wikini']['statuts_de_protection'] == '') {?>
257
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
544 delphine 258
						 Complétez nos données sur les statuts de protection
531 gduche 259
					</a>
260
				<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
261
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
262
						Compléter cette liste
263
					</a>
264
				<? } ?>
265
			</span>
266
		</div>
267
 
268
		<!-- Nomenclature -->
525 gduche 269
		<div id="synthese_nomenclature" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
270
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-6">
271
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>nomenclature">Nomenclature</a>
272
			</h3>
273
			<div id="contenu-6" class="contenu">
274
				<h4>Nom retenu</h4>
275
				<div>
276
					<div class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu_formate']) ? 'surlignage' : '' ?>">
277
						<?= $nomenclature['nom_retenu_formate']; ?>
278
					</div>
279
					<?php if($nomenclature['basionyme_nom_retenu'] != '') { ?>
280
						<div class="nom"> Basionyme : <?= $nomenclature['basionyme_nom_retenu']; ?></div>
281
					<?php } ?>
282
				</div>
283
 
284
				<h4>Synonymes</h4>
285
				<?php if($nomenclature['synonymes'] == array()) { ?>
286
					Aucun synonyme
287
				<? } else { ?>
288
					<?php foreach ($nomenclature['synonymes'] as $synonyme) : ?>
289
						<div class="nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
290
							<?= $synonyme['nom_sci_complet']; ?>
291
						</div>
292
					<?php endforeach; ?>
293
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
294
						<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
295
							<?= $nomenclature['autresSynonymesNbre'] ?>
296
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
297
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
298
						</a>
299
				<?php }} ?>
300
			</div>
301
		</div>
302
 
531 gduche 303
		<!-- Classification -->
304
		<div id="synthese_classification" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
305
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-5">
306
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>classification">Classification</a>
525 gduche 307
			</h3>
531 gduche 308
			<div id="contenu-5" class="contenu">
309
				<h4>Taxons supérieurs</h4>
310
				<?php if($classification['taxons_sup'] != array()) { ?>
311
					<?php foreach($classification['taxons_sup'] as $taxon) : ?>
312
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
313
					<?php endforeach; ?>
314
				<?php } else { ?>
315
					<div>Aucun taxon supérieur référencé </div>
316
				<?php } ?>
317
				<h4>Taxons inférieurs</h4>
318
				<?php if($classification['taxons_inf'] != array()) { ?>
319
					<?php foreach($classification['taxons_inf'] as $taxon) : ?>
320
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
321
					<?php endforeach; ?>
322
				<?php } else { ?>
323
					<div>Aucun taxon inférieur référencé </div>
324
				<?php } ?>
325
			</div>
326
		</div>
327
 
328
		<!-- Bibliographie -->
329
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
330
				<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
331
					<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
332
				</h3>
333
				<div id="contenu-2" class="contenu">
334
					<?php if (isset($bibliographie['wikini'])) { ?>
335
						<?= ($bibliographie['wikini']['biblio'] == '') ?
336
							'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
337
							Ajoutez votre bibliographie sur ce taxon</a>'
338
						: $bibliographie['wikini']['biblio'].
339
							'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
340
								Compléter cette  bibliographie</a>'; ?>
341
					<?php } else { ?>
342
 
343
						<h4>Flores</h4>
344
						<?php if ($bibliographie['flores'] == array()) { ?>
345
							Aucune flore indiquée
346
						<?php } else { ?>
347
							<?php foreach ($bibliographie['flores'] as $flore) : ?>
348
								<div> - <?= $flore; ?> </div>
349
							<?php endforeach; ?>
350
							<?php if($bibliographie['autresFlores'] > 0) { ?>
351
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
352
									<?= htmlentities($bibliographie['autresFlores']) ?>
353
									autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
354
									flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
355
								</a>
356
						<?php } } ?><br />
357
 
358
						<h4>Références</h4>
359
						<?php if ($bibliographie['references'] == array()) { ?>
360
							Aucune référence bibliographique
361
						<?php } else { ?>
362
							<?php foreach ($bibliographie['references'] as $reference) : ?>
363
								<div> - <?= $reference['reference_html']; ?> </div>
364
							<?php endforeach; ?>
365
							<?php if($bibliographie['autresReferences'] > 0) { ?>
366
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
367
									<?= $bibliographie['autresReferences'] ?>
368
									autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
369
									référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
370
								</a>
371
						<?php } } ?>
372
					<?php }?>
373
				</div>
374
			</div>
375
 
376
 
377
 
378
	</div>
379
 
380
 
381
	<div class="colonne">
382
 
383
		<!-- Illustrations -->
384
		<div id="synthese_illustrations" 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-0">
386
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
387
			</h3>
388
			<span id="contenu-0" class="contenu">
389
				<?php if ($illustration['imageUrl'] != '') : ?>
390
					<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
391
				<?php else : ?>
392
					<span class="absent" style="float:none; margin-left:55px">
393
						Pas de photo<br />
394
						<a href="http://www.tela-botanica.org/page:cel"
395
							title="Ajouter une photographie au moyen du Carnet en Ligne"
396
							onclick="window.open(this.href); return false;" class="contribuer">
397
							Contribuer
398
						</a>
399
					</span>
400
				<?php endif; ?>
525 gduche 401
			</span>
402
		</div>
531 gduche 403
 
404
		<!-- Répartition -->
405
		<div id="synthese_repartition" 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-3">
407
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
525 gduche 408
			</h3>
531 gduche 409
			<span id="contenu-3" class="contenu">
410
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
411
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
525 gduche 412
			</span>
413
		</div>
531 gduche 414
 
415
 
525 gduche 416
	</div>
417
	<hr class="nettoyage" />
418
</div>