Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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