Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 605 | Rev 609 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 605 Rev 608
Line 77... Line 77...
77
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description">Description</a>
77
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>description">Description</a>
78
			</h3>
78
			</h3>
79
			<div id="contenu-1" class="contenu">
79
			<div id="contenu-1" class="contenu">
80
				<h4><?= $description['titre']?></h4>
80
				<h4><?= $description['titre']?></h4>
81
				<? if ($description['description'] == '') : ?>
81
				<? if ($description['description'] == '') : ?>
82
					<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
-
 
83
						Participez à la rédaction collaborative de cette description
-
 
84
					</a>
-
 
85
				<? elseif($description['titre'] == 'Description Baseflor') : ?>
82
					<? if($description['titre'] == 'Description Baseflor') : ?>
86
					<table class="desc">
-
 
87
						<tr>
-
 
88
							<td colspan="2">
-
 
89
								<?if ($description['description']['type_bio'] != '') : ?>
-
 
90
								 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
-
 
91
								 <? endif; ?>
-
 
92
							</td>
-
 
93
						</tr>
-
 
94
						<tr>
-
 
95
							<td colspan="2">
-
 
96
								<?  if ($description['description']['form_vegetale'] != '') : ?>
-
 
97
							 		<span class="titre">Forme végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
-
 
98
							 	<? endif; ?>
-
 
99
							 </td>
-
 
100
						</tr>
-
 
101
						<tr>
-
 
102
							<td colspan="2">
-
 
103
								<? if ($description['description']['chorologie'] != ''): ?>
-
 
104
							 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
-
 
105
							 	<? endif; ?>
-
 
106
							</td>
-
 
107
						</tr>
-
 
108
						<tr>
-
 
109
							<td >
-
 
110
								<? if ($description['description']['inflorescence'] != '') : ?>
-
 
111
								 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
-
 
112
								<? endif; ?>
-
 
113
								<? if ($description['description']['fruit'] != '') : ?>
-
 
114
								 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
-
 
115
								<? endif; ?>
-
 
116
								<? if ($description['description']['couleur_fleur'] != '') : ?>
-
 
117
								 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
-
 
118
								<? endif; ?>
-
 
119
								<? if ($description['description']['macule'] != '') : ?>
-
 
120
								 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
-
 
121
								<? endif; ?>
-
 
122
								<? if ($description['description']['floraison'] != '') : ?>
-
 
123
								 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
-
 
124
								<? endif; ?>
-
 
125
							</td>
-
 
126
							<td>
-
 
127
								<? if ($description['description']['sexualite'] != '') : ?>
-
 
128
								 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
-
 
129
								<? endif; ?>
-
 
130
								<?if ($description['description']['ordre_maturation'] != '') : ?>
-
 
131
								 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
-
 
132
								<? endif; ?>
-
 
133
								<? if ($description['description']['pollinisation'] != '') : ?>
-
 
134
								 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
-
 
135
								<? endif; ?>
-
 
136
								<? if ($description['description']['dissemination'] != '') : ?>
-
 
137
								 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
-
 
138
								<? endif; ?>
-
 
139
							</td>
-
 
140
						</tr>
-
 
141
					</table>	
-
 
142
				<? elseif($description['titre'] == 'Description de Coste') : ?> 
-
 
143
					<table class="desc">
83
						<table class="desc">
144
						 <tr>
-
 
145
						 	<td>
-
 
146
								<?if ($description['description']['nom_scientifique'] != '') : ?>
-
 
147
									<span class="gras">
-
 
148
									<?=$description['description']['nom_scientifique']; ?>
-
 
149
									</span> 
-
 
150
								<? endif; ?>
-
 
151
								<?if ($description['description']['nom_commun'] != '') : ?>
-
 
152
									<span class="italique">
-
 
153
									<?=$description['description']['nom_commun']; ?> 
-
 
154
									</span>
-
 
155
								<? endif; ?>
-
 
156
							</td>
-
 
157
						 </tr>
-
 
158
						 <?if ($description['description']['synonymes'] != '') : ?>
-
 
159
							<tr>
84
							<tr>
160
						 		<td>
85
								<td colspan="2">
161
									<span class="titre">Synonymes </span>
86
									<?if ($description['description']['type_bio'] != '') : ?>
162
									<?=$description['description']['synonymes']; ?> 
87
									 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
-
 
88
									 <? endif; ?>
163
								</td>
89
								</td>
164
							</tr>
90
							</tr>
165
						<? endif; ?>
-
 
166
						 <tr>
91
							<tr>
167
						 	<td>
92
								<td colspan="2">
168
								<?if ($description['description']['texte'] != '') : ?>
93
									<?  if ($description['description']['form_vegetale'] != '') : ?>
169
									<?=$description['description']['texte']; ?> 
94
								 		<span class="titre">Forme végétale  :</span>  <?=$description['description']['form_vegetale']; ?><br/>
170
									<br/>
-
 
171
								<? endif; ?>
95
								 	<? endif; ?>
172
							</td>
96
								 </td>
173
						</tr>
97
							</tr>
174
						<?if ($description['description']['ecologie'] != '') : ?>
-
 
175
							 <tr>
98
							<tr>
176
						 		<td>
99
								<td colspan="2">
177
									<span class="titre">Écologie </span>
100
									<? if ($description['description']['chorologie'] != ''): ?>
178
									<?=$description['description']['ecologie']; ?>
101
								 		<span class="titre">Chorologie  : </span> <?=$description['description']['chorologie']; ?><br/>
-
 
102
								 	<? endif; ?>
179
								</td>
103
								</td>
180
							</tr>
104
							</tr>
181
						<? endif; ?>
-
 
182
						<?if ($description['description']['repartition'] != '') : ?>
-
 
183
							<tr>
105
							<tr>
-
 
106
								<td >
-
 
107
									<? if ($description['description']['inflorescence'] != '') : ?>
-
 
108
									 	<span class="titre">Inflorescence :</span>  <?=$description['description']['inflorescence']; ?><br/>
-
 
109
									<? endif; ?>
-
 
110
									<? if ($description['description']['fruit'] != '') : ?>
-
 
111
									 	<span class="titre">Fruit :</span>  <?=$description['description']['fruit']; ?><br/>
-
 
112
									<? endif; ?>
-
 
113
									<? if ($description['description']['couleur_fleur'] != '') : ?>
-
 
114
									 	<span class="titre">Couleur de la fleur  : </span> <?=$description['description']['couleur_fleur']; ?><br/>
-
 
115
									<? endif; ?>
-
 
116
									<? if ($description['description']['macule'] != '') : ?>
-
 
117
									 	<span class="titre">Macule  :</span>  <?=$description['description']['macule']; ?><br/>
-
 
118
									<? endif; ?>
-
 
119
									<? if ($description['description']['floraison'] != '') : ?>
-
 
120
									 	<span class="titre">Floraison  :</span>  <?=$description['description']['floraison']; ?><br/>
-
 
121
									<? endif; ?>
-
 
122
								</td>
184
						 		<td>
123
								<td>
185
									<span class="titre">Répartition </span>
124
									<? if ($description['description']['sexualite'] != '') : ?>
-
 
125
									 	<span class="titre">Sexualité : </span> <?=$description['description']['sexualite']; ?><br/>
-
 
126
									<? endif; ?>
186
									<?=$description['description']['repartition']; ?> 
127
									<?if ($description['description']['ordre_maturation'] != '') : ?>
-
 
128
									 	<span class="titre">Ordre de maturation : </span> <?=$description['description']['ordre_maturation']; ?><br/>
-
 
129
									<? endif; ?>
-
 
130
									<? if ($description['description']['pollinisation'] != '') : ?>
-
 
131
									 	<span class="titre">Pollinisation : </span> <?=$description['description']['pollinisation']; ?><br/>
-
 
132
									<? endif; ?>
-
 
133
									<? if ($description['description']['dissemination'] != '') : ?>
-
 
134
									 	<span class="titre">Dissémination : </span><?=$description['description']['dissemination']; ?><br/>
-
 
135
									<? endif; ?>
187
								</td>
136
								</td>
188
							</tr>
137
							</tr>
189
						<? endif; ?>
138
						</table>	
190
						<?if ($description['description']['floraison'] != '') : ?>				
139
					<? elseif($description['titre'] == 'Description de Coste') : ?> 
-
 
140
						<table class="desc">
191
							 <tr>
141
							 <tr>
192
								 <td>
142
							 	<td>
-
 
143
									<?if ($description['description']['nom_scientifique'] != '') : ?>
193
									<span class="titre">Floraison </span>
144
										<span class="gras">
194
									<?=$description['description']['floraison']; ?>
145
										<?=$description['description']['nom_scientifique']; ?>
-
 
146
										</span> 
-
 
147
									<? endif; ?>
195
									<?if ($description['description']['fructification'] != '') : ?>
148
									<?if ($description['description']['nom_commun'] != '') : ?>
196
										<span class="titre">Fructification </span>
149
										<span class="italique">
197
										<?=$description['description']['fructification']; ?>
150
										<?=$description['description']['nom_commun']; ?> 
-
 
151
										</span>
198
									<? endif; ?>
152
									<? endif; ?>
199
								</td>
153
								</td>
200
							</tr>
154
							 </tr>
-
 
155
							 <?if ($description['description']['synonymes'] != '') : ?>
-
 
156
								<tr>
201
						<? endif; ?>
157
							 		<td>
-
 
158
										<span class="titre">Synonymes </span>
202
						<?if ($description['description']['usages'] != '') : ?>
159
										<?=$description['description']['synonymes']; ?> 
-
 
160
									</td>
-
 
161
								</tr>
-
 
162
							<? endif; ?>
203
							<tr>
163
							 <tr>
204
								<td>
164
							 	<td>
205
									<span class="titre">Usages</span>
165
									<?if ($description['description']['texte'] != '') : ?>
206
										<?=$description['description']['usages']; ?>
166
										<?=$description['description']['texte']; ?> 
-
 
167
										<br/>
-
 
168
									<? endif; ?>
207
								</td>
169
								</td>
208
							</tr>
170
							</tr>
-
 
171
							<?if ($description['description']['ecologie'] != '') : ?>
-
 
172
								 <tr>
-
 
173
							 		<td>
-
 
174
										<span class="titre">Écologie </span>
-
 
175
										<?=$description['description']['ecologie']; ?>
-
 
176
									</td>
-
 
177
								</tr>
209
						<? endif; ?>
178
							<? endif; ?>
-
 
179
							<?if ($description['description']['repartition'] != '') : ?>
-
 
180
								<tr>
-
 
181
							 		<td>
-
 
182
										<span class="titre">Répartition </span>
-
 
183
										<?=$description['description']['repartition']; ?> 
-
 
184
									</td>
-
 
185
								</tr>
-
 
186
							<? endif; ?>
-
 
187
							<?if ($description['description']['floraison'] != '') : ?>				
-
 
188
								 <tr>
-
 
189
									 <td>
-
 
190
										<span class="titre">Floraison </span>
-
 
191
										<?=$description['description']['floraison']; ?>
-
 
192
										<?if ($description['description']['fructification'] != '') : ?>
-
 
193
											<span class="titre">Fructification </span>
-
 
194
											<?=$description['description']['fructification']; ?>
-
 
195
										<? endif; ?>
-
 
196
									</td>
-
 
197
								</tr>
-
 
198
							<? endif; ?>
-
 
199
							<?if ($description['description']['usages'] != '') : ?>
-
 
200
								<tr>
-
 
201
									<td>
-
 
202
										<span class="titre">Usages</span>
-
 
203
											<?=$description['description']['usages']; ?>
-
 
204
									</td>
-
 
205
								</tr>
-
 
206
							<? endif; ?>
210
					</table>
207
						</table>
211
				<? else : ?>
208
					<? else : ?>
212
					<?=$description['description'];?>
209
						<?=$description['description'];?>
-
 
210
					<? endif;?>
-
 
211
				
213
				<? endif;?>
212
				<? endif;?>
214
				<br /><br />
-
 
215
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
213
				<a href="<?=$url;?>description" class="lien_ouverture_onglet_parent" >
216
					Complétez cette description
214
					Complétez cette description
217
				</a>
215
				</a>
218
			</div>
216
			</div>
219
		</div>
217
		</div>
Line 223... Line 221...
223
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
221
			<h3 class="titre ui-widget-header ui-corner-all" id="titre-8">
224
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
222
				<a class="titreOnglet lien-onglet-synthese" href="<?=$url;?>ecologie">Ecologie</a>
225
			</h3>
223
			</h3>
226
			<div id="contenu-8" class="contenu">
224
			<div id="contenu-8" class="contenu">
227
				<h4><?=$ecologie['titre']?></h4>
225
				<h4><?=$ecologie['titre']?></h4>
228
					<? if ($ecologie['description'] == "") : ?>
226
					<? if (empty($ecologie['description'])) : ?>
229
						<? if ($ecologie['wikini']['ecologie'] == '') :?>
227
						<? if ($ecologie['wikini']['ecologie'] == '') :?>
230
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
228
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent" >
231
								Participez à la rédaction collaborative de l'écologie
229
								Participez à la rédaction collaborative de l'écologie
232
							</a>
230
							</a>
233
						<? else : echo $ecologie['wikini']['ecologie'];?><br /><br />
231
						<? else : echo $ecologie['wikini']['ecologie'];?><br /><br />
234
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
232
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent" >
235
								Compléter ces informations
233
								Complétez ces informations.
236
							</a>
234
							</a>
237
						<? endif; ?>
235
						<? endif; ?>
238
					<? else : ?>
236
					<? else : ?>
239
						<div class="fond_graphique">	
237
						<div class="fond_graphique">	
240
							<span class="titre">caractéristiques climatiques</span>
238
							<span class="titre">caractéristiques climatiques</span>
Line 247... Line 245...
247
							<div class="graphique">
245
							<div class="graphique">
248
								<object  type="image/svg+xml" data="<?=$ecologie['description']['sol_url']?>" 
246
								<object  type="image/svg+xml" data="<?=$ecologie['description']['sol_url']?>" 
249
								class="svg" alt="<?=$ecologie['description']['sol_url_png']?>" >   
247
								class="svg" alt="<?=$ecologie['description']['sol_url_png']?>" >   
250
								</object>
248
								</object>
251
							</div>
249
							</div>
252
						<a href="<?=$url;?>ecologie">Voir les références</a>
250
							<a href="<?=$url;?>ecologie" class="lien_ouverture_onglet_parent">
-
 
251
								Voir les références
-
 
252
							</a>
-
 
253
							<br/>
-
 
254
							<br/>
-
 
255
							<a href="<?=$url;?>statut" class="lien_ouverture_onglet_parent">
-
 
256
								Complétez nos données sur l'écologie.
-
 
257
							</a>	
253
						</div>
258
						</div>
-
 
259
						
254
					<? endif; ?>
260
					<? endif; ?>
255
				<a href="<?=$url;?>ecologie">Ajouter des informations sur l'écologie</a>
-
 
-
 
261
					
-
 
262
				
256
			</div>
263
			</div>
257
		</div>
264
		</div>
Line 258... Line 265...
258
		
265
		
259
		<!-- Ethnobotanique -->
266
		<!-- Ethnobotanique -->