Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 531 | Rev 544 | 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">
125
				<? if ($ecologie['wikini']['ecologie'] == '') {?>
126
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
127
						Participez à la rédaction collaborative de l'écologie
128
					</a>
129
				<? } else { echo $ecologie['wikini']['ecologie'];?><br /><br />
130
					<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
131
						Compléter ces informations
132
					</a>
133
				<? } ?>
525 gduche 134
			</span>
135
		</div>
136
 
531 gduche 137
		<!-- Ethnobotanique -->
525 gduche 138
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
139
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
140
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>
141
			</h3>
142
			<div id="contenu-4" class="contenu">
143
				<h4>Noms communs</h4>
144
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
145
					Aucun nom vernaculaire<br /><br />
146
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
147
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
148
						Participez à la rédaction collaborative de la liste des noms communs
149
					</a>
150
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];?><br /><br />
151
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
152
							Compléter cette liste
153
						</a>
154
					<? } ?>
155
				<?php } else { ?>
156
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
157
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
158
					<?php endforeach; ?>
159
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
160
						<a href="<?=$url;?>ethnobotanique" style="float:right;" class="lien_ouverture_onglet_parent" >et
161
							<?= $ethnobotanique['autresNomsVerna'] ?>
162
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
163
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
164
						</a><br />
165
					<?php }?>
166
				<?php }?>
167
				<h4>Usages</h4>
168
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
169
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
170
						Participez à la rédaction collaborative des usages
171
					</a>
172
				<? } else { echo $ethnobotanique['wikini']['usage'];?><br /><br />
173
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
174
						Compléter ces informations
175
					</a>
176
				<? } ?>
177
				<h4>Culture et arts</h4>
178
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
179
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
180
						Participez à la rédaction collaborative sur la culture et les arts
181
					</a>
182
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts'];?><br /><br />
183
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
184
						Compléter ces informations
185
					</a>
186
				<? } ?>
187
			</div>
188
		</div>
531 gduche 189
 
190
		<!-- Bibliographie -->
191
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
192
				<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
193
					<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
194
				</h3>
195
				<div id="contenu-2" class="contenu">
196
					<?php if (isset($bibliographie['wikini'])) { ?>
197
						<?= ($bibliographie['wikini']['biblio'] == '') ?
198
							'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
199
							Ajoutez votre bibliographie sur ce taxon</a>'
200
						: $bibliographie['wikini']['biblio'].
201
							'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
202
								Compléter cette  bibliographie</a>'; ?>
203
					<?php } else { ?>
204
 
205
						<h4>Flores</h4>
206
						<?php if ($bibliographie['flores'] == array()) { ?>
207
							Aucune flore indiquée
208
						<?php } else { ?>
209
							<?php foreach ($bibliographie['flores'] as $flore) : ?>
210
								<div> - <?= $flore; ?> </div>
211
							<?php endforeach; ?>
212
							<?php if($bibliographie['autresFlores'] > 0) { ?>
213
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
214
									<?= htmlentities($bibliographie['autresFlores']) ?>
215
									autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
216
									flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
217
								</a>
218
						<?php } } ?><br />
219
 
220
						<h4>Références</h4>
221
						<?php if ($bibliographie['references'] == array()) { ?>
222
							Aucune référence bibliographique
223
						<?php } else { ?>
224
							<?php foreach ($bibliographie['references'] as $reference) : ?>
225
								<div> - <?= $reference['reference_html']; ?> </div>
226
							<?php endforeach; ?>
227
							<?php if($bibliographie['autresReferences'] > 0) { ?>
228
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et
229
									<?= $bibliographie['autresReferences'] ?>
230
									autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
231
									référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
232
								</a>
233
						<?php } } ?>
234
					<?php }?>
235
				</div>
236
			</div>
237
	</div>
525 gduche 238
 
531 gduche 239
 
240
	<div class="colonne">
241
 
242
		<!-- Illustrations -->
243
		<div id="synthese_illustrations" 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-0">
245
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
525 gduche 246
			</h3>
531 gduche 247
			<span id="contenu-0" class="contenu">
248
				<?php if ($illustration['imageUrl'] != '') : ?>
249
					<img src="<?=$illustration['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
250
				<?php else : ?>
251
					<span class="absent" style="float:none; margin-left:55px">
252
						Pas de photo<br />
253
						<a href="http://www.tela-botanica.org/page:cel"
254
							title="Ajouter une photographie au moyen du Carnet en Ligne"
255
							onclick="window.open(this.href); return false;" class="contribuer">
256
							Contribuer
257
						</a>
258
					</span>
259
				<?php endif; ?>
260
			</span>
525 gduche 261
		</div>
262
 
531 gduche 263
		<!-- Répartition -->
264
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
265
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
266
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
525 gduche 267
			</h3>
531 gduche 268
			<span id="contenu-3" class="contenu">
269
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
270
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
271
			</span>
525 gduche 272
		</div>
273
 
531 gduche 274
		<!-- Statut de protection -->
525 gduche 275
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
276
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
277
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Statut de protection</a>
278
			</h3>
279
			<span id="contenu-7" class="contenu">
280
				<? if ($statut['wikini']['statuts_de_protection'] == '') {?>
281
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
282
						Participez à la rédaction collaborative des statuts de protection
283
					</a>
284
				<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
285
					<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
286
						Compléter cette liste
287
					</a>
288
				<? } ?>
289
			</span>
290
		</div>
531 gduche 291
 
525 gduche 292
	</div>
293
	<hr class="nettoyage" />
294
</div>