Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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