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