Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 544 | Rev 561 | 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') : ?>
86
					Chorologie :
87
					<?= ($description['description']['chorologie'] == '') ? 'Aucune donnée' : $description['description']['chorologie']; ?> <br/>
88
					Inflorescence :
89
					<?= ($description['description']['inflorescence'] == '') ? 'Aucune donnée' : $description['description']['inflorescence']; ?><br/>
90
					Sexualité :
91
					 <?= ($description['description']['sexualite'] == '') ? 'Aucune donnée' : $description['description']['sexualite']; ?><br/>
92
					Ordre de maturation :
93
					<?= ($description['description']['ordre_maturation'] == '') ? 'Aucune donnée' : $description['description']['ordre_maturation']; ?><br/>
94
					Pollinisation :
95
					<?= ($description['description']['pollinisation'] == '') ? 'Aucune donnée' : $description['description']['pollinisation']; ?><br/>
96
					Fruit :
97
					<?= ($description['description']['fruit'] == '') ? 'Aucune donnée' : $description['description']['fruit']; ?><br/>
98
					Dissémination :
99
					<?= ($description['description']['dissemination'] == '') ? 'Aucune donnée' : $description['description']['dissemination']; ?><br/>
100
					Couleur de la fleur :
101
					<?= ($description['description']['couleur_fleur'] == '') ? 'Aucune donnée' : $description['description']['couleur_fleur']; ?><br/>
102
					Macule :
103
					<?= ($description['description']['macule'] == '') ? 'Aucune donnée' : $description['description']['macule']; ?><br/>
104
					Floraison :
105
					<?= ($description['description']['floraison'] == '') ? 'Aucune donnée' : $description['description']['floraison']; ?><br/>
106
					Type Biologique :
107
					<?= ($$description['description']['type_bio'] == '') ? 'Aucune donnée' : $description['description']['type_bio']; ?><br/>
108
					Forme végétale :
109
					<?= ($description['description']['form_vegetale'] == '') ? 'Aucune donnée' : $description['description']['form_vegetale']; ?><br/>
110
				<? else :
111
					 echo $description['description'];  endif;?>
112
				<br /><br />
113
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
114
					Complétez cette description
115
				</a>
525 gduche 116
			</div>
117
		</div>
118
 
531 gduche 119
		<!-- Ecologie -->
120
		<div id="synthese_ecologie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
121
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
122
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
525 gduche 123
			</h3>
531 gduche 124
			<span id="contenu-8" class="contenu">
556 mathilde 125
				<h4><?=$ecologie['titre']?></h4>
126
					<? if ($ecologie['description'] == "") : ?>
127
						<? if ($ecologie['wikini']['ecologie'] == '') :?>
128
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
129
								Participez à la rédaction collaborative de l'écologie
130
							</a>
131
						<? else : echo $ecologie['wikini']['ecologie'];?><br /><br />
132
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
133
								Compléter ces informations
134
							</a>
135
						<? endif; ?>
136
					<? else : ?>
137
						<div class="fond_graphique">
138
							<span class="titre">caractéristiques climatiques</span>
139
							<div class="graphique">
140
								<object  type="image/svg+xml" data="<?=$ecologie['description']['climat_url']?>"
141
								class="svg" alt="<?=$ecologie['description']['climat_url_png']?>" >
142
								</object>
143
							</div>
144
							<span class="titre">caractéristiques du sol</span>
145
							<div class="graphique">
146
								<object  type="image/svg+xml" data="<?=$ecologie['description']['sol_url']?>"
147
								class="svg" alt="<?=$ecologie['description']['sol_url_png']?>" >
148
								</object>
149
							</div>
150
						</div>
151
					<? endif; ?>
525 gduche 152
			</span>
153
		</div>
154
 
531 gduche 155
		<!-- Ethnobotanique -->
525 gduche 156
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
157
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
158
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>
159
			</h3>
160
			<div id="contenu-4" class="contenu">
161
				<h4>Noms communs</h4>
162
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
163
					Aucun nom vernaculaire<br /><br />
164
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
165
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
166
						Participez à la rédaction collaborative de la liste des noms communs
167
					</a>
168
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];?><br /><br />
169
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
170
							Compléter cette liste
171
						</a>
172
					<? } ?>
173
				<?php } else { ?>
174
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
175
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
176
					<?php endforeach; ?>
177
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
178
						<a href="<?=$url;?>ethnobotanique" style="float:right;" class="lien_ouverture_onglet_parent" >et
179
							<?= $ethnobotanique['autresNomsVerna'] ?>
180
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
181
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
182
						</a><br />
183
					<?php }?>
184
				<?php }?>
185
				<h4>Usages</h4>
186
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
187
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
188
						Participez à la rédaction collaborative des usages
189
					</a>
190
				<? } else { echo $ethnobotanique['wikini']['usage'];?><br /><br />
191
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
192
						Compléter ces informations
193
					</a>
194
				<? } ?>
195
				<h4>Culture et arts</h4>
196
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
197
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
198
						Participez à la rédaction collaborative sur la culture et les arts
199
					</a>
200
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts'];?><br /><br />
201
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
202
						Compléter ces informations
203
					</a>
204
				<? } ?>
205
			</div>
206
		</div>
531 gduche 207
 
208
		<!-- Bibliographie -->
209
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
210
				<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
211
					<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
212
				</h3>
213
				<div id="contenu-2" class="contenu">
214
					<?php if (isset($bibliographie['wikini'])) { ?>
215
						<?= ($bibliographie['wikini']['biblio'] == '') ?
216
							'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
217
							Ajoutez votre bibliographie sur ce taxon</a>'
218
						: $bibliographie['wikini']['biblio'].
219
							'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
220
								Compléter cette  bibliographie</a>'; ?>
221
					<?php } else { ?>
222
 
223
						<h4>Flores</h4>
224
						<?php if ($bibliographie['flores'] == array()) { ?>
225
							Aucune flore indiquée
226
						<?php } else { ?>
227
							<?php foreach ($bibliographie['flores'] as $flore) : ?>
228
								<div> - <?= $flore; ?> </div>
229
							<?php endforeach; ?>
230
							<?php if($bibliographie['autresFlores'] > 0) { ?>
231
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
232
									<?= htmlentities($bibliographie['autresFlores']) ?>
233
									autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
234
									flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
235
								</a>
236
						<?php } } ?><br />
237
 
238
						<h4>Références</h4>
239
						<?php if ($bibliographie['references'] == array()) { ?>
240
							Aucune référence bibliographique
241
						<?php } else { ?>
242
							<?php foreach ($bibliographie['references'] as $reference) : ?>
243
								<div> - <?= $reference['reference_html']; ?> </div>
244
							<?php endforeach; ?>
245
							<?php if($bibliographie['autresReferences'] > 0) { ?>
246
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
247
									<?= $bibliographie['autresReferences'] ?>
248
									autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
249
									référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
250
								</a>
251
						<?php } } ?>
252
					<?php }?>
253
				</div>
254
			</div>
255
	</div>
525 gduche 256
 
531 gduche 257
 
258
	<div class="colonne">
259
 
260
		<!-- Illustrations -->
261
		<div id="synthese_illustrations" 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-0">
263
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
525 gduche 264
			</h3>
531 gduche 265
			<span id="contenu-0" class="contenu">
266
				<?php if ($illustration['imageUrl'] != '') : ?>
267
					<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
268
				<?php else : ?>
269
					<span class="absent" style="float:none; margin-left:55px">
270
						Pas de photo<br />
271
						<a href="http://www.tela-botanica.org/page:cel"
272
							title="Ajouter une photographie au moyen du Carnet en Ligne"
273
							onclick="window.open(this.href); return false;" class="contribuer">
274
							Contribuer
275
						</a>
276
					</span>
277
				<?php endif; ?>
278
			</span>
525 gduche 279
		</div>
280
 
531 gduche 281
		<!-- Répartition -->
282
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
283
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
284
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
525 gduche 285
			</h3>
531 gduche 286
			<span id="contenu-3" class="contenu">
287
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
288
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
289
			</span>
525 gduche 290
		</div>
291
 
531 gduche 292
		<!-- Statut de protection -->
525 gduche 293
		<div id="synthese_statut" 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-7">
295
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Statut de protection</a>
296
			</h3>
297
			<span id="contenu-7" class="contenu">
298
				<? if ($statut['wikini']['statuts_de_protection'] == '') {?>
299
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
544 delphine 300
						Complétez nos données sur les statuts de protection
525 gduche 301
					</a>
302
				<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
303
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
304
						Compléter cette liste
305
					</a>
306
				<? } ?>
307
			</span>
308
		</div>
531 gduche 309
 
525 gduche 310
	</div>
311
	<hr class="nettoyage" />
312
</div>