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