Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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