Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 876 | Rev 908 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 876 Rev 886
1
<!-- Fichier expert -->
1
<!-- Fichier expert -->
2
<? $url = htmlentities('index.php?referentiel=bdtfx&niveau=1&module=fiche&num_nom='.$num_nom.'&type_nom='.$type_nom.'&nom='.$nom.'&onglet=');?>
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">
3
<script type="text/javascript">
4
//<![CDATA[
4
//<![CDATA[
5
	var urlTexteBrutSectionWikiTpl = "<?= Config::get('texteBrutSectionWikiTpl'); ?>";
5
	var urlTexteBrutSectionWikiTpl = "<?= Config::get('texteBrutSectionWikiTpl'); ?>";
6
	var urlEditionSectionWikiTpl = "<?= Config::get('editionSectionWikiTpl'); ?>";
6
	var urlEditionSectionWikiTpl = "<?= Config::get('editionSectionWikiTpl'); ?>";
7
	var urlTexteFormateSectionWikiTpl = "<?= Config::get('texteFormateSectionWikiTpl'); ?>";
7
	var urlTexteFormateSectionWikiTpl = "<?= Config::get('texteFormateSectionWikiTpl'); ?>";
8
	var pageWikiTaxon = "<?= strtoupper($infos['referentiel']); ?>nt<?= $infos['num_tax']; ?>";
8
	var pageWikiTaxon = "<?= strtoupper($infos['referentiel']); ?>nt<?= $infos['num_tax']; ?>";
9
//]]>
9
//]]>
10
</script>
10
</script>
11
<div class="synthese">
11
<div class="synthese">
12
	<div class="colonne deuxtiers">
12
	<div class="colonne deuxtiers">
13
		<!-- Nomenclature -->
13
		<!-- Nomenclature -->
14
		<div id="synthese_nomenclature" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
14
		<div id="synthese_nomenclature" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
15
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-6">
15
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-6">
16
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>nomenclature">Classification</a>
16
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>nomenclature">Classification</a>
17
			</h3>
17
			</h3>
18
			<div id="contenu-6" class="contenu">
18
			<div id="contenu-6" class="contenu">
19
			<h4>Taxons supérieurs</h4>
19
			<h4>Taxons supérieurs</h4>
20
				<?php if($nomenclature['taxons_sup'] != array()) { ?>	
20
				<?php if($nomenclature['taxons_sup'] != array()) { ?>	
21
					<?php foreach($nomenclature['taxons_sup'] as $taxon) : ?>	
21
					<?php foreach($nomenclature['taxons_sup'] as $taxon) : ?>	
22
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
22
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
23
					<?php endforeach; ?>
23
					<?php endforeach; ?>
24
				<?php } else { ?>	
24
				<?php } else { ?>	
25
					<div>Aucun taxon supérieur référencé </div>
25
					<div>Aucun taxon supérieur référencé </div>
26
				<?php } ?>
26
				<?php } ?>
27
				
-
 
28
				<h4>Nom retenu</h4>
27
				<h4>Nom retenu</h4>
29
				<div>
28
				<div>
30
					<div class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu_formate']) ? 'surlignage' : '' ?>">
29
					<div class="nom retenu <?= ($nomenclature['nom_selectionne'] == $nomenclature['nom_retenu_formate']) ? 'surlignage' : '' ?>">
31
						<?= $nomenclature['nom_retenu_formate']; ?>
30
						<?= $nomenclature['nom_retenu_formate']; ?>
32
					</div>
31
					</div>
33
					<?php if($nomenclature['basionyme_nom_retenu'] != '') { ?>	
32
					<?php if($nomenclature['basionyme_nom_retenu'] != '') { ?>	
34
						<div class="nom"> <span class="nomenclature_basionyme">Basionyme : <?= $nomenclature['basionyme_nom_retenu']; ?></span></div>
33
						<div class="nom"> <span class="nomenclature_basionyme">Basionyme : <?= $nomenclature['basionyme_nom_retenu']; ?></span></div>
35
					<?php } ?>
34
					<?php } ?>
36
				</div>
35
				</div>
37
				<h4>Synonymes</h4>
36
				<h4>Synonymes</h4>
38
				<?php if($nomenclature['synonymes'] == array()) { ?>
37
				<?php if($nomenclature['synonymes'] == array()) { ?>
39
					Aucun synonyme
38
					Aucun synonyme
40
				<? } else { ?>
39
				<? } else { ?>
41
					<?php foreach ($nomenclature['synonymes'] as $synonyme) : ?>
40
					<?php foreach ($nomenclature['synonymes'] as $synonyme) : ?>
42
						<div class="nomenclature_synonyme nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
41
						<div class="nomenclature_synonyme nom<?= ($nomenclature['nom_selectionne'] == $synonyme['nom_sci_complet']) ? ' surlignage' : '' ?>">
43
							<?= $synonyme['nom_sci_complet']; ?>
42
							<?= $synonyme['nom_sci_complet']; ?>
44
						</div>
43
						</div>
45
					<?php endforeach; ?>
44
					<?php endforeach; ?>
46
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
45
					<?php if($nomenclature['autresSynonymesNbre'] > 0) { ?>
47
						<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
46
						<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement_droite">
48
							<?= $nomenclature['autresSynonymesNbre'] ?>
47
							et <?= $nomenclature['autresSynonymesNbre'] ?>
49
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
48
							autre<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
50
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
49
							synonyme<?= ($nomenclature['autresSynonymesNbre'] > 1) ? 's' : '' ?>
51
						</a>
50
						</a>
52
				<?php }} ?>
51
				<?php }} ?>
53
				
52
				
54
				<h4>Taxons inférieurs</h4>
53
				<h4>Taxons inférieurs</h4>
55
				<?php if($nomenclature['taxons_inf'] != array()) { ?>
54
				<?php if($nomenclature['taxons_inf'] != array()) { ?>
56
					<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>	
55
					<?php foreach($nomenclature['taxons_inf'] as $taxon) : ?>	
57
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
56
						<div><?= $taxon['rang.libelle'];  ?> : <?= $taxon['nom_sci']; ?></div>
58
					<?php endforeach; ?>
57
					<?php endforeach; ?>
59
				<?php } else { ?>	
58
				<?php } else { ?>	
60
					<div>Aucun taxon inférieur référencé </div>
59
					<div>Aucun taxon inférieur référencé </div>
61
				<?php } ?>	
60
				<?php } ?>
-
 
61
				<a href="<?=$url;?>classification" class="lien_ouverture_onglet_parent" id="alignement-droite">
-
 
62
					Voir +/Compléter
-
 
63
				</a>
62
			</div>
64
			</div>
63
		</div>
65
		</div>
64
		
66
		
65
		<!-- Description -->
67
		<!-- Description -->
66
		<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
68
		<div id="synthese_description" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
67
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
69
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-1">
68
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description">Description</a>
70
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description">Description</a>
69
			</h3>
71
			</h3>
70
			<div id="contenu-1" class="contenu">
72
			<div id="contenu-1" class="contenu">
71
				<h4><?= $description['titre']?></h4>
73
				<h4><?= $description['titre']?></h4>
72
				<? if ($description['description'] != '') : ?>
74
				<? if ($description['description'] != '') : ?>
73
					<? if($description['titre'] == 'Description Baseflor') : ?>
75
					<? if($description['titre'] == 'Description Baseflor') : ?>
74
						<table class="desc">
76
						<table class="desc">
75
							<tr>
77
							<tr>
76
								<td colspan="2">
78
								<td colspan="2">
77
									<?if ($description['description']['type_bio'] != '') : ?>
79
									<?if ($description['description']['type_bio'] != '') : ?>
78
									 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
80
									 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
79
									 <? endif; ?>
81
									 <? endif; ?>
80
								</td>
82
								</td>
81
							</tr>
83
							</tr>
82
							<tr>
84
							<tr>
83
								<td colspan="2">
85
								<td colspan="2">
84
									<?  if ($description['description']['form_vegetale'] != '') : ?>
86
									<?  if ($description['description']['form_vegetale'] != '') : ?>
85
								 		<span class="titre">Forme végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
87
								 		<span class="titre">Forme végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
86
								 	<? endif; ?>
88
								 	<? endif; ?>
87
								 </td>
89
								 </td>
88
							</tr>
90
							</tr>
89
							<tr>
91
							<tr>
90
								<td colspan="2">
92
								<td colspan="2">
91
									<? if ($description['description']['chorologie'] != ''): ?>
93
									<? if ($description['description']['chorologie'] != ''): ?>
92
								 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
94
								 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
93
								 	<? endif; ?>
95
								 	<? endif; ?>
94
								</td>
96
								</td>
95
							</tr>
97
							</tr>
96
							<tr>
98
							<tr>
97
								<td >
99
								<td >
98
									<? if ($description['description']['inflorescence'] != '') : ?>
100
									<? if ($description['description']['inflorescence'] != '') : ?>
99
									 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
101
									 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
100
									<? endif; ?>
102
									<? endif; ?>
101
									<? if ($description['description']['fruit'] != '') : ?>
103
									<? if ($description['description']['fruit'] != '') : ?>
102
									 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
104
									 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
103
									<? endif; ?>
105
									<? endif; ?>
104
									<? if ($description['description']['couleur_fleur'] != '') : ?>
106
									<? if ($description['description']['couleur_fleur'] != '') : ?>
105
									 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
107
									 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
106
									<? endif; ?>
108
									<? endif; ?>
107
									<? if ($description['description']['macule'] != '') : ?>
109
									<? if ($description['description']['macule'] != '') : ?>
108
									 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
110
									 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
109
									<? endif; ?>
111
									<? endif; ?>
110
									<? if ($description['description']['floraison'] != '') : ?>
112
									<? if ($description['description']['floraison'] != '') : ?>
111
									 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
113
									 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
112
									<? endif; ?>
114
									<? endif; ?>
113
								</td>
115
								</td>
114
								<td>
116
								<td>
115
									<? if ($description['description']['sexualite'] != '') : ?>
117
									<? if ($description['description']['sexualite'] != '') : ?>
116
									 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
118
									 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
117
									<? endif; ?>
119
									<? endif; ?>
118
									<?if ($description['description']['ordre_maturation'] != '') : ?>
120
									<?if ($description['description']['ordre_maturation'] != '') : ?>
119
									 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
121
									 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
120
									<? endif; ?>
122
									<? endif; ?>
121
									<? if ($description['description']['pollinisation'] != '') : ?>
123
									<? if ($description['description']['pollinisation'] != '') : ?>
122
									 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
124
									 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
123
									<? endif; ?>
125
									<? endif; ?>
124
									<? if ($description['description']['dissemination'] != '') : ?>
126
									<? if ($description['description']['dissemination'] != '') : ?>
125
									 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
127
									 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
126
									<? endif; ?>
128
									<? endif; ?>
127
								</td>
129
								</td>
128
							</tr>
130
							</tr>
129
						</table>	
131
						</table>	
130
					<? elseif($description['titre'] == 'Description de Coste') : ?> 
132
					<? elseif($description['titre'] == 'Description de Coste') : ?> 
131
						<table class="desc">
133
						<table class="desc">
132
							 <tr>
134
							 <tr>
133
							 	<td>
135
							 	<td>
134
									<?if ($description['description']['nom_scientifique'] != '') : ?>
136
									<?if ($description['description']['nom_scientifique'] != '') : ?>
135
										<span class="gras">
137
										<span class="gras">
136
										<?=$description['description']['nom_scientifique']; ?>
138
										<?=$description['description']['nom_scientifique']; ?>
137
										</span> 
139
										</span> 
138
									<? endif; ?>
140
									<? endif; ?>
139
									<?if ($description['description']['nom_commun'] != '') : ?>
141
									<?if ($description['description']['nom_commun'] != '') : ?>
140
										<span class="italique">
142
										<span class="italique">
141
										<?=$description['description']['nom_commun']; ?> 
143
										<?=$description['description']['nom_commun']; ?> 
142
										</span>
144
										</span>
143
									<? endif; ?>
145
									<? endif; ?>
144
								</td>
146
								</td>
145
							 </tr>
147
							 </tr>
146
							 <?if ($description['description']['synonymes'] != '') : ?>
148
							 <?if ($description['description']['synonymes'] != '') : ?>
147
								<tr>
149
								<tr>
148
							 		<td>
150
							 		<td>
149
										<span class="titre">Synonymes </span>
151
										<span class="titre">Synonymes </span>
150
										<?=$description['description']['synonymes']; ?> 
152
										<?=$description['description']['synonymes']; ?> 
151
									</td>
153
									</td>
152
								</tr>
154
								</tr>
153
							<? endif; ?>
155
							<? endif; ?>
154
							 <tr>
156
							 <tr>
155
							 	<td>
157
							 	<td>
156
									<?if ($description['description']['texte'] != '') : ?>
158
									<?if ($description['description']['texte'] != '') : ?>
157
										<?=$description['description']['texte']; ?> 
159
										<?=$description['description']['texte']; ?> 
158
										<br/>
160
										<br/>
159
									<? endif; ?>
161
									<? endif; ?>
160
								</td>
162
								</td>
161
							</tr>
163
							</tr>
162
							<?if ($description['description']['ecologie'] != '') : ?>
164
							<?if ($description['description']['ecologie'] != '') : ?>
163
								 <tr>
165
								 <tr>
164
							 		<td>
166
							 		<td>
165
										<span class="titre">Écologie </span>
167
										<span class="titre">Écologie </span>
166
										<?=$description['description']['ecologie']; ?>
168
										<?=$description['description']['ecologie']; ?>
167
									</td>
169
									</td>
168
								</tr>
170
								</tr>
169
							<? endif; ?>
171
							<? endif; ?>
170
							<?if ($description['description']['repartition'] != '') : ?>
172
							<?if ($description['description']['repartition'] != '') : ?>
171
								<tr>
173
								<tr>
172
							 		<td>
174
							 		<td>
173
										<span class="titre">Répartition </span>
175
										<span class="titre">Répartition </span>
174
										<?=$description['description']['repartition']; ?> 
176
										<?=$description['description']['repartition']; ?> 
175
									</td>
177
									</td>
176
								</tr>
178
								</tr>
177
							<? endif; ?>
179
							<? endif; ?>
178
							<?if ($description['description']['floraison'] != '') : ?>				
180
							<?if ($description['description']['floraison'] != '') : ?>				
179
								 <tr>
181
								 <tr>
180
									 <td>
182
									 <td>
181
										<span class="titre">Floraison </span>
183
										<span class="titre">Floraison </span>
182
										<?=$description['description']['floraison']; ?>
184
										<?=$description['description']['floraison']; ?>
183
										<?if ($description['description']['fructification'] != '') : ?>
185
										<?if ($description['description']['fructification'] != '') : ?>
184
											<span class="titre">Fructification </span>
186
											<span class="titre">Fructification </span>
185
											<?=$description['description']['fructification']; ?>
187
											<?=$description['description']['fructification']; ?>
186
										<? endif; ?>
188
										<? endif; ?>
187
									</td>
189
									</td>
188
								</tr>
190
								</tr>
189
							<? endif; ?>
191
							<? endif; ?>
190
							<?if ($description['description']['usages'] != '') : ?>
192
							<?if ($description['description']['usages'] != '') : ?>
191
								<tr>
193
								<tr>
192
									<td>
194
									<td>
193
										<span class="titre">Usages</span>
195
										<span class="titre">Usages</span>
194
											<?=$description['description']['usages']; ?>
196
											<?=$description['description']['usages']; ?>
195
									</td>
197
									</td>
196
								</tr>
198
								</tr>
197
							<? endif; ?>
199
							<? endif; ?>
198
						</table>
200
						</table>
199
					<? else : ?>
201
					<? else : ?>
200
						<?=$description['description'];?>
202
						<?=$description['description'];?>
201
					<? endif;?>
203
					<? endif;?>
202
				
-
 
203
				<? endif;?>
204
				<? endif;?>
-
 
205
				<br/>
204
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
206
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" id="alignement-droite">
205
					Complétez cette description
207
					Voir +/Compléter
206
				</a>
208
				</a>
207
			</div>
209
			</div>
208
		</div>
210
		</div>
209
		
211
		
210
		<!-- Ecologie -->
212
		<!-- Ecologie -->
211
		<div id="synthese_ecologie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
213
		<div id="synthese_ecologie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
212
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
214
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
213
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
215
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
214
			</h3>
216
			</h3>
215
			<div id="contenu-8" class="contenu">
217
			<div id="contenu-8" class="contenu">
216
				<h4><?=$ecologie['graph']['titre']?></h4>
218
				<h4><?=$ecologie['graph']['titre']?></h4>
217
					<? if (empty($ecologie['graph']['description'])) : ?>
219
				<? if (empty($ecologie['graph']['description'])) : ?>
218
						<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
220
					<? if ($ecologie['graph']['wikini']['ecologie'] == '') :?>
219
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
221
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
220
								Participez à la rédaction collaborative de l'écologie
222
							Rajouter vos informations.
221
							</a>
223
						</a>
222
						<? else : echo $ecologie['graph']['wikini']['ecologie'];?><br /><br />
224
					<? else : echo $ecologie['graph']['wikini']['ecologie'];?>
223
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
-
 
224
								Complétez ces informations.
-
 
225
							</a>
-
 
226
						<? endif; ?>
225
					<? endif; ?>
227
					<? else : ?>
226
				<? else : ?>
-
 
227
					<div class="fond_graphique">	
228
					<? if (isset($ecologie['graph']['description']['climat_url'])) :?>
228
						<? if (isset($ecologie['graph']['description']['climat_url'])) :?>
229
						<div class="fond_graphique">	
-
 
230
							<span class="titre">caractéristiques climatiques</span>
229
							<span class="titre">caractéristiques climatiques</span>
231
							<div class="graphique">
230
							<div class="graphique">
232
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>" 
231
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>" 
233
								class="svg" alt="<?=$ecologie['graph']['description']['climat_url_png']?>" >  
232
								class="svg" alt="<?=$ecologie['graph']['description']['climat_url_png']?>" >  
234
								</object>
233
								</object>
235
							</div>
234
							</div>
236
						<?endif;?>
235
						<?endif;?>
237
						<? if (isset($ecologie['graph']['description']['sol_url'])) :?>
236
						<? if (isset($ecologie['graph']['description']['sol_url'])) :?>
238
							<span class="titre">caractéristiques du sol</span>
237
							<span class="titre">caractéristiques du sol</span>
239
							<div class="graphique">
238
							<div class="graphique">
240
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
239
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
241
								class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >   
240
								class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >   
242
								</object>
241
								</object>
243
							</div>
242
							</div>
244
						<?endif;?>
243
						<?endif;?>
245
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
244
						<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
246
								Voir les références
245
							Voir les références
247
							</a>
246
						</a>
248
					</div>
247
					</div>
249
						
-
 
250
					<? endif; ?>
248
				<? endif; ?>
251
					<? if (!empty($ecologie['phytosocio']['description'])) : ?>
249
				<? if (!empty($ecologie['phytosocio']['description'])) : ?>
252
						<h4>Phytosociologie</h4>
250
					<h4>Phytosociologie</h4>
253
						<span class="gras">
251
					<span class="gras">
254
							<?=$ecologie['phytosocio']['description'][0]['niveau.libelle']?> - 
252
						<?=$ecologie['phytosocio']['description'][0]['niveau.libelle']?> - 
255
							<?=$ecologie['phytosocio']['description'][0]['code_catminat']?>
253
						<?=$ecologie['phytosocio']['description'][0]['code_catminat']?>
256
						</span> <br/>
254
					</span> <br/>
257
							<?=$ecologie['phytosocio']['description'][0]['syntaxon']?> - 
255
					<?=$ecologie['phytosocio']['description'][0]['syntaxon']?> - 
258
						<span class="italique">
256
					<span class="italique">
259
						 	<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
257
						<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
260
						 </span> 
258
					</span> 
261
					<? endif; ?> 	
259
				<? endif; ?> 	
262
					<br/>
260
				<br/>
263
							<br/>
-
 
264
					<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
261
				<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" id="alignement-droite">
265
								Complétez nos données sur l'écologie.
262
					Voir +/Compléter
266
							</a>
263
				</a>
267
				
-
 
268
			</div>
264
			</div>
269
		</div>
265
		</div>
270
		
266
		
271
		<!-- Ethnobotanique -->
267
		<!-- Ethnobotanique -->
272
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
268
		<div id="synthese_ethnobotanique" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
273
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
269
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-4">
274
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>
270
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ethnobotanique">Ethnobotanique</a>
275
			</h3>
271
			</h3>
276
			<div id="contenu-4" class="contenu">
272
			<div id="contenu-4" class="contenu">
277
				<h4>Noms communs</h4>
273
				<h4>Noms communs</h4>
278
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
274
				<?php if ($ethnobotanique['nomsVerna'] == array()) { ?>
279
					Aucun nom vernaculaire<br /><br />
275
					Aucun nom vernaculaire
280
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
276
					<? if ($ethnobotanique['wikini']['noms_communs'] == '') {?>
281
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
277
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
282
						Participez à la rédaction collaborative de la liste des noms communs
278
						Rajouter vos informations.
283
					</a>
279
					</a>
284
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];?><br /><br />
280
				<? } else { echo $ethnobotanique['wikini']['noms_communs'];} ?>
285
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
-
 
286
							Compléter cette liste
-
 
287
						</a>
-
 
288
					<? } ?>
-
 
289
				<?php } else { ?>
281
				<?php } else { ?>
290
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
282
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
291
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
283
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
292
					<?php endforeach; ?>
284
					<?php endforeach; ?>
293
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
285
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
294
						<a href="<?=$url;?>ethnobotanique" style="float:right;" class="lien_ouverture_onglet_parent" >et 
286
						<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
295
							<?= $ethnobotanique['autresNomsVerna'] ?>
287
							et <?= $ethnobotanique['autresNomsVerna'] ?>
296
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
288
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
297
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
289
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
298
						</a><br />
290
						</a><br />
299
					<?php }?>
291
					<?php }?>
300
				<?php }?>
292
				<?php }?>
301
				<h4>Usages</h4>
293
				<h4>Usages</h4>
302
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
294
				<? if ($ethnobotanique['wikini']['usage'] == '') {?>
303
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
295
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
304
						Participez à la rédaction collaborative des usages
-
 
305
					</a>
-
 
306
				<? } else { echo $ethnobotanique['wikini']['usage'];?><br /><br />
-
 
307
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
-
 
308
						Compléter ces informations
296
						Rajouter vos informations.
309
					</a>
297
					</a>
310
				<? } ?>
298
				<? } else { echo $ethnobotanique['wikini']['usage'];} ?>
311
				<h4>Culture et arts</h4>
299
				<h4>Culture et arts</h4>
312
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
300
				<? if ($ethnobotanique['wikini']['culture_et_arts'] == '') {?>
313
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
301
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
314
						Participez à la rédaction collaborative sur la culture et les arts
-
 
315
					</a>
-
 
316
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts'];?><br /><br />
-
 
317
					<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" >
-
 
318
						Compléter ces informations.
302
						Rajouter vos informations.
319
					</a>
303
					</a>
-
 
304
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
320
				<? } ?>
305
				<br />
-
 
306
				<a href="<?=$url;?>ethnobotanique" class="lien_ouverture_onglet_parent" id="alignement-droite">
-
 
307
					Voir +/Compléter
-
 
308
				</a>
321
			</div>
309
			</div>
322
		</div>
310
		</div>
323
		
311
		
324
		<!-- Bibliographie -->	
312
		<!-- Bibliographie -->	
325
		<div id="synthese_bibliographie" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
313
		<div id="synthese_bibliographie" 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-2">
314
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-2">
327
					<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
315
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>bibliographie">Bibliographie</a>
328
				</h3>
316
			</h3>
329
				<div id="contenu-2" class="contenu">
317
			<div id="contenu-2" class="contenu">
330
					<?php if (isset($bibliographie['wikini'])) { ?>
318
				<?php if (isset($bibliographie['wikini'])) { ?>
331
						<?= ($bibliographie['wikini']['biblio'] == '') ? 
319
					<?= ($bibliographie['wikini']['biblio'] == '') ? 
332
							'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
320
						'<a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
333
							Ajoutez votre bibliographie sur ce taxon</a>'
321
						Ajoutez votre bibliographie sur ce taxon</a>'
334
						: $bibliographie['wikini']['biblio'].
322
					: $bibliographie['wikini']['biblio'] ?>
-
 
323
				<?php } else { ?>
-
 
324
				
-
 
325
					<h4>Flores</h4>
335
							'<br /><br /><a href="'.$url.'description" class="lien_ouverture_onglet_parent" >
326
					<?php if ($bibliographie['flores'] == array()) { ?>
336
								Compléter cette  bibliographie</a>'; ?>
327
						Aucune flore indiquée
337
					<?php } else { ?>
328
					<?php } else { ?>
338
					
-
 
339
						<h4>Flores</h4>
-
 
340
						<?php if ($bibliographie['flores'] == array()) { ?>
-
 
341
							Aucune flore indiquée
-
 
342
						<?php } else { ?>
-
 
343
							<?php foreach ($bibliographie['flores'] as $flore) : ?>
329
						<?php foreach ($bibliographie['flores'] as $flore) : ?>
344
								<div> - <?= $flore; ?> </div>
330
							<div> - <?= $flore; ?> </div>
345
							<?php endforeach; ?>
331
						<?php endforeach; ?>
346
							<?php if($bibliographie['autresFlores'] > 0) { ?>	
332
						<?php if($bibliographie['autresFlores'] > 0) { ?>	
347
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
333
							<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
348
									<?= htmlentities($bibliographie['autresFlores']) ?>
334
								et <?= htmlentities($bibliographie['autresFlores']) ?>
349
									autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
335
								autre<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
350
									flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
336
								flore<?= ($bibliographie['autresFlores'] > 1) ? 's' : '' ?>
351
								</a>
337
							</a>
352
						<?php } } ?><br />
338
					<?php } } ?><br />
353
						
339
						
354
						<h4>Références</h4>
340
					<h4>Références</h4>
355
						<?php if ($bibliographie['references'] == array()) { ?>
341
					<?php if ($bibliographie['references'] == array()) { ?>
356
							Aucune référence bibliographique
342
						Aucune référence bibliographique
357
						<?php } else { ?>
343
					<?php } else { ?>
358
							<?php foreach ($bibliographie['references'] as $reference) : ?>
344
						<?php foreach ($bibliographie['references'] as $reference) : ?>
359
								<div> - <?= $reference['reference_html']; ?> </div>
345
							<div> - <?= $reference['reference_html']; ?> </div>
360
							<?php endforeach; ?>
346
						<?php endforeach; ?>
361
							<?php if($bibliographie['autresReferences'] > 0) { ?>
347
						<?php if($bibliographie['autresReferences'] > 0) { ?>
362
								<a href="<?=$url;?>nomenclature" style="float:right;" class="lien_ouverture_onglet_parent" >et 
348
							<a href="<?=$url;?>nomenclature" class="lien_ouverture_onglet_parent" id="alignement-droite">
363
									<?= $bibliographie['autresReferences'] ?>
349
								et <?= $bibliographie['autresReferences'] ?>
364
									autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
350
								autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
365
									référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
351
								référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
366
								</a>
352
							</a>
367
						<?php } } ?>
353
					<?php } } ?>
-
 
354
				<?php }?><br />
-
 
355
				<a href="<?=$url;?>bibliographie" class="lien_ouverture_onglet_parent" id="alignement-droite">
368
					<?php }?>
356
					Voir +/Compléter
369
				</div>
357
				</a>
370
			</div>
358
			</div>
371
	</div>
359
		</div>
372
	
360
		
373
	
361
		
374
	<div class="colonne">	
362
	</div><div class="colonne">	
375
	
363
	
376
		<!-- Illustrations -->
364
		<!-- Illustrations -->
377
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
365
		<div id="synthese_illustrations" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
378
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
366
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-0">
379
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
367
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>illustrations">Illustrations</a>
380
			</h3>
368
			</h3>
381
			<span id="contenu-0" class="contenu">
369
			<div id="contenu-0" class="contenu">
382
				<?php if ($illustrations['imageUrl'] != '') : ?>
370
				<?php if ($illustrations['imageUrl'] != '') : ?>
383
					<img src="<?=$illustrations['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: -15px; margin-left: -2px; width: 210px;"/>
371
					<img src="<?=$illustrations['imageUrl']?>" alt="Image issue du cel ou du site photoflora" style="margin-bottom: 0px; margin-left: -2px; width: 210px;"/>
384
				<?php else : ?>
372
				<?php else : ?>
385
					<span class="absent" style="float:none; margin-left:55px">
373
					<span class="absent" style="float:none; margin-left:55px">
386
						Pas de photo<br />
374
						Pas de photo<br />
387
						<a href="http://www.tela-botanica.org/page:cel" 
375
						<a href="http://www.tela-botanica.org/page:cel" 
388
							title="Ajouter une photographie au moyen du Carnet en Ligne" 
376
							title="Ajouter une photographie au moyen du Carnet en Ligne" 
389
							onclick="window.open(this.href); return false;" class="contribuer">
377
							onclick="window.open(this.href); return false;" class="contribuer">
390
							Contribuer
378
							Contribuer
391
						</a>
379
						</a>
392
					</span>
380
					</span>
393
				<?php endif; ?>
381
				<?php endif; ?>
-
 
382
				<a href="<?=$url;?>illustrations" class="lien_ouverture_onglet_parent" id="alignement-droite">
-
 
383
					Voir +/Compléter
-
 
384
				</a>
394
			</span>
385
			</div>
395
		</div>
386
		</div>
396
		
387
		
397
		<!-- Répartition -->
388
		<!-- Répartition -->
398
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
389
		<div id="synthese_repartition" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
399
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
390
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-3">
400
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
391
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>repartition">Répartition</a>
401
			</h3>
392
			</h3>
402
			<span id="contenu-3" class="contenu">
393
			<div id="contenu-3" class="contenu">
403
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
394
				<h4>Observations</h4>
404
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
395
				<img src="<?=htmlentities($repartition['eflore'])?>" alt="Carte des observations" style="margin-left: 11px; width: 190px;" />
-
 
396
				<h4>Répartition départementale</h4>
-
 
397
				<img src="<?=htmlentities($repartition['chorodep'])?>" alt="Carte de répartition"/>
-
 
398
				<a href="<?=$url;?>repartition" class="lien_ouverture_onglet_parent" id="alignement-droite">
-
 
399
					Voir +/Compléter
-
 
400
				</a>
405
			</span>
401
			</div>
406
		</div>
402
		</div>
407
		
403
		
408
		<!-- Statut de protection -->
404
		<!-- Statut de protection -->
409
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
405
		<div id="synthese_statut" class="module ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
410
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
406
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-7">
411
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Protection</a>
407
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>statut">Protection</a>
412
			</h3>
408
			</h3>
413
			<span id="contenu-7" class="contenu <?= (!empty($statut['statuts'])) ? 'attention' : ''; ?>">
409
			<div id="contenu-7" class="contenu <?= (!empty($statut['statuts'])) ? 'attention' : ''; ?>">
414
				<? if (!empty($statut['statuts'])) { ?>
410
				<? if (!empty($statut['statuts'])) { ?>
415
					<span>Attention ce taxon est protégé dans les zones suivantes : <br />
411
					<span>Attention ce taxon est protégé dans les zones suivantes : <br />
416
					<?php foreach($statut['statuts'] as $statut_zone) : ?>	
412
					<?php foreach($statut['statuts'] as $statut_zone) : ?>	
417
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
413
						<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
418
							<?= $statut_zone['zone_application']; ?><br />
414
							<?= $statut_zone['zone_application']; ?><br />
419
						</a>
415
						</a>
420
					<?php endforeach; ?>
416
					<?php endforeach; ?>
421
					</span>
417
					</span>
422
				<? } else if ($statut['wikini']['statuts_de_protection'] == '') {?>
418
				<? } else if ($statut['wikini']['statuts_de_protection'] == '') {?>
423
					<span class="pas_de_protection">Pas de protection connue</span>
419
					<span class="pas_de_protection">Pas de protection connue</span>
424
				<? } else { echo $statut['wikini']['statuts_de_protection'];?><br /><br />
420
				<? } else { echo $statut['wikini']['statuts_de_protection']; } ?>
425
				<? } ?>
-
 
426
				<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent completer_statut" >
421
				<a href="<?=$url;?>repartition" class="lien_ouverture_onglet_parent" id="alignement-droite">
427
					Compléter
422
					Voir +/Compléter
428
				</a>
423
				</a>
429
			</span>
424
			</div>
430
		</div>
425
		</div>
431
		
426
		
432
	</div>
427
	</div>
433
	<hr class="nettoyage" />	
428
	<hr class="nettoyage" />	
434
</div>
429
</div>