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