Subversion Repositories eFlore/Applications.eflore-consultation

Rev

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

Rev 1502 Rev 1523
Line 15... Line 15...
15
					<? if($description['type'] == 'baseflor') : ?>
15
					<? if($description['type'] == 'baseflor') : ?>
16
						<table class="desc">
16
						<table class="desc">
17
							<tr>
17
							<tr>
18
								<td colspan="2">
18
								<td colspan="2">
19
									<?if ($description['description']['type_bio'] != '') : ?>
19
									<?if ($description['description']['type_bio'] != '') : ?>
20
									 	<span class="titre">Type Biologique :</span> <?=$description['description']['type_bio']; ?><br/>
20
									 	<span class="titre">Type Biologique :</span> <?= html_encode($description['description']['type_bio']); ?><br/>
21
									 <? endif; ?>
21
									 <? endif; ?>
22
								</td>
22
								</td>
23
							</tr>
23
							</tr>
24
							<tr>
24
							<tr>
25
								<td colspan="2">
25
								<td colspan="2">
Line 142... Line 142...
142
						<?=$description['description']?>
142
						<?=$description['description']?>
Line 143... Line 143...
143
						
143
						
Line 144... Line 144...
144
					<? endif;?>
144
					<? endif;?>
145
				
145
				
146
				<? endif;?><br />
146
				<? endif;?><br />
147
				<a href="<?=$url;?>description" id="alignement-droite">
147
				<a href="<?=$url;?>description" class="alignement-droite">
148
					Voir +/Compléter
148
					Voir +/Compléter
149
				</a>
149
				</a>
Line 168... Line 168...
168
					<div class="fond_graphique">	
168
					<div class="fond_graphique">	
169
						<? if (isset($ecologie['graph']['description']['climat_url'])) :?>
169
						<? if (isset($ecologie['graph']['description']['climat_url'])) :?>
170
							<span class="titre">caractéristiques climatiques</span>
170
							<span class="titre">caractéristiques climatiques</span>
171
							<div class="graphique">
171
							<div class="graphique">
172
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>" 
172
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['climat_url']?>" 
173
									class="svg" alt="<?=$ecologie['graph']['description']['climat_url_png']?>" >  
173
									class="svg" >  
174
								</object>
174
								</object>
175
							</div>
175
							</div>
176
						<? endif;?>
176
						<? endif;?>
177
						<? if (isset($ecologie['graph']['description']['sol_url'])) :?>
177
						<? if (isset($ecologie['graph']['description']['sol_url'])) :?>
178
							<span class="titre">caractéristiques du sol</span>
178
							<span class="titre">caractéristiques du sol</span>
179
							<div class="graphique">
179
							<div class="graphique">
180
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
180
								<object  type="image/svg+xml" data="<?=$ecologie['graph']['description']['sol_url']?>" 
181
									class="svg" alt="<?=$ecologie['graph']['description']['sol_url_png']?>" >   
181
									class="svg" >
182
								</object>
182
								</object>
183
							</div>
183
							</div>
184
						<? endif;?>
184
						<? endif;?>
185
						<a href="<?=$url;?>ecologie">
185
						<a href="<?=$url;?>ecologie">
186
							Voir les références
186
							Voir les références
Line 197... Line 197...
197
					<span class="italique">
197
					<span class="italique">
198
						<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
198
						<?=$ecologie['phytosocio']['description'][0]['physio_biotype']?>
199
					</span> 
199
					</span> 
200
				<? endif; ?>
200
				<? endif; ?>
201
				<br/>
201
				<br/>
202
				<a href="<?=$url;?>ecologie" id="alignement-droite">
202
				<a href="<?=$url;?>ecologie" class="alignement-droite">
203
					Voir +/Compléter
203
					Voir +/Compléter
204
				</a>
204
				</a>
205
			</div>
205
			</div>
206
		</div>
206
		</div>
Line 260... Line 260...
260
					<?php endforeach; ?>
260
					<?php endforeach; ?>
261
				<?php } else { ?>	
261
				<?php } else { ?>	
262
					<div>Aucun taxon inférieur référencé </div>
262
					<div>Aucun taxon inférieur référencé </div>
263
				<?php } ?>
263
				<?php } ?>
264
				<br/>
264
				<br/>
265
				<a href="<?=$url;?>nomenclature" id="alignement-droite">
265
				<a href="<?=$url;?>nomenclature" class="alignement-droite">
266
					Voir +/Compléter
266
					Voir +/Compléter
267
				</a>
267
				</a>
268
			</div>
268
			</div>
269
		</div>
269
		</div>
Line 289... Line 289...
289
					<?php } else { ?>
289
					<?php } else { ?>
290
						<?php foreach ($bibliographie['references'] as $reference) : ?>
290
						<?php foreach ($bibliographie['references'] as $reference) : ?>
291
							<div> - <?= $reference['reference_html']; ?> </div>
291
							<div> - <?= $reference['reference_html']; ?> </div>
292
						<?php endforeach; ?>
292
						<?php endforeach; ?>
293
						<?php if($bibliographie['autresReferences'] > 0) { ?>
293
						<?php if($bibliographie['autresReferences'] > 0) { ?>
294
							<a href="<?=$url;?>nomenclature" id="alignement-droite">
294
							<a href="<?=$url;?>nomenclature" class="alignement-droite">
295
								et <?= $bibliographie['autresReferences'] ?>
295
								et <?= $bibliographie['autresReferences'] ?>
296
								autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
296
								autre<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
297
								référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
297
								référence<?= ($bibliographie['autresReferences'] > 1) ? 's' : '' ?>
298
							</a>
298
							</a>
299
					<?php } } ?>
299
					<?php } } ?>
300
				<?php }?>
300
				<?php }?>
301
				<hr class="nettoyage" />
301
				<hr class="nettoyage" />
302
				<a href="<?=$url;?>bibliographie" id="alignement-droite">
302
				<a href="<?=$url;?>bibliographie" class="alignement-droite">
303
					Voir +/Compléter
303
					Voir +/Compléter
304
				</a>
304
				</a>
305
			</div>
305
			</div>
306
		</div>
306
		</div>
Line 326... Line 326...
326
							Contribuer
326
							Contribuer
327
						</a>
327
						</a>
328
					</span>
328
					</span>
329
				<?php endif; ?>
329
				<?php endif; ?>
330
				<br/>
330
				<br/>
331
				<a href="<?=$url;?>illustrations" id="alignement-droite">
331
				<a href="<?=$url;?>illustrations" class="alignement-droite">
332
					Voir +/Compléter
332
					Voir +/Compléter
333
				</a>
333
				</a>
334
			</div>
334
			</div>
335
		</div>
335
		</div>
Line 346... Line 346...
346
						<img src="<?=htmlentities($repartition['eflore'])?>" alt="<?= $infos['nom_sci'] ?> - carte des observations" style="margin-left: 11px; width: 190px;" />
346
						<img src="<?=htmlentities($repartition['eflore'])?>" alt="<?= $infos['nom_sci'] ?> - carte des observations" style="margin-left: 11px; width: 190px;" />
347
					</a>
347
					</a>
348
				<? endif; ?>
348
				<? endif; ?>
349
				<? if ($repartition['chorodep'] != null) : ?>
349
				<? if ($repartition['chorodep'] != null) : ?>
350
					<h4>Répartition départementale</h4>
350
					<h4>Répartition départementale</h4>
351
					<a href="<?=$url;?>repartition" id="alignement-droite">
351
					<a href="<?=$url;?>repartition" class="alignement-droite">
352
						<img src="<?=htmlentities($repartition['chorodep'])?>" alt="<?= $infos['nom_sci'] ?> - carte de répartition"/>
352
						<img src="<?=htmlentities($repartition['chorodep'])?>" alt="<?= $infos['nom_sci'] ?> - carte de répartition"/>
353
					</a>
353
					</a>
354
				<? endif; ?>
354
				<? endif; ?>
355
				<br/>
355
				<br/>
356
				<a href="<?=$url;?>repartition" id="alignement-droite">
356
				<a href="<?=$url;?>repartition" class="alignement-droite">
357
					Voir +/Compléter
357
					Voir +/Compléter
358
				</a>
358
				</a>
359
			</div>
359
			</div>
360
		</div>
360
		</div>
Line 385... Line 385...
385
					<div class="gras">Ce taxon est classé dans la liste rouge dans la catégorie : <br /></div>
385
					<div class="gras">Ce taxon est classé dans la liste rouge dans la catégorie : <br /></div>
386
					<a href="<?=$url;?>statut" >
386
					<a href="<?=$url;?>statut" >
387
						<?= $statut['liste_rouge'][0]['num_categorie'].' - '.$statut['liste_rouge'][0]['categorie']; ?><br />
387
						<?= $statut['liste_rouge'][0]['num_categorie'].' - '.$statut['liste_rouge'][0]['categorie']; ?><br />
388
					</a>
388
					</a>
389
				<? } ?>
389
				<? } ?>
390
				<? if ($statut['wikini']['statuts_de_protection'] == '' && !isset($statut['statuts'][0]) && !isset($statut['liste_rouge'][0])) {?>
390
				<? if ($statut['wikini']['statuts_de_protection'] == '' && ($statut['statuts'] == array()) && !isset($statut['liste_rouge'][0])) {?>
391
					<span class="pas_de_protection">Pas de protection connue</span>
391
					<span class="pas_de_protection">Pas de protection connue</span>
392
				<? }?>
392
				<? }?>
393
				<br />
393
				<br />
394
				<a href="<?=$url;?>statut" id="alignement-droite">
394
				<a href="<?=$url;?>statut" class="alignement-droite">
395
					Voir +/Compléter
395
					Voir +/Compléter
396
				</a>
396
				</a>
397
				</div>
397
				</div>
398
			</div>
398
			</div>
399
		</div>	
399
		</div>	
Line 415... Line 415...
415
				<?php } else { ?>
415
				<?php } else { ?>
416
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
416
					<?php foreach ($ethnobotanique['nomsVerna'] as $nom_verna) : ?>
417
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
417
						<div> - <?= $nom_verna['nom_vernaculaire'].' ('.$nom_verna['code_langue'].')'; ?> </div>
418
					<?php endforeach; ?>
418
					<?php endforeach; ?>
419
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
419
					<?php if($ethnobotanique['autresNomsVerna'] > 0) { ?>
420
						<a href="<?=$url;?>ethnobotanique" id="alignement-droite">
420
						<a href="<?=$url;?>ethnobotanique" class="alignement-droite">
421
							et <?= $ethnobotanique['autresNomsVerna'] ?>
421
							et <?= $ethnobotanique['autresNomsVerna'] ?>
422
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
422
							autre<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
423
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
423
							nom<?= ($ethnobotanique['autresNomsVerna'] > 1) ? 's' : '' ?>
424
						</a><br />
424
						</a><br />
425
					<?php }?>
425
					<?php }?>
Line 435... Line 435...
435
					<a href="<?=$url;?>ethnobotanique" >
435
					<a href="<?=$url;?>ethnobotanique" >
436
						Rajouter vos informations.
436
						Rajouter vos informations.
437
					</a>
437
					</a>
438
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
438
				<? } else { echo $ethnobotanique['wikini']['culture_et_arts']; } ?>
439
				<br />
439
				<br />
440
				<a href="<?=$url;?>ethnobotanique" id="alignement-droite">
440
				<a href="<?=$url;?>ethnobotanique" class="alignement-droite">
441
					Voir +/Compléter
441
					Voir +/Compléter
442
				</a>
442
				</a>
443
			</div>
443
			</div>
444
		</div>
444
		</div>