Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 115 Rev 134
1
<!-- ODS_SAISIE - DEBUT FICHE INDIVIDU -->
1
<!-- ODS_SAISIE - DEBUT FICHE INDIVIDU -->
2
<div id="fiche_individu">
2
<div id="fiche_individu">
3
    <h2 class="titre_fiche"> <?= $infos_individu['nom'] ?></h2>
3
    <h2 class="titre_fiche"> <?= $infos_individu['nom'] ?></h2>
4
    <hr class="separation_section" />
4
    <hr class="separation_section" />
5
    
5
    
6
    <h3 class="titre_section_fiche"> Espèce </h3>
6
    <h3 class="titre_section_fiche"> Espèce </h3>
7
    <div class="informations_espece">
7
    <div class="informations_espece">
8
    	<img alt="image de l'espece" class="droite" width="100px" src="<?= Liens::getUrlImageEspece($infos_espece['id_espece']) ?>" />
8
    	<img alt="image de l'espece" class="droite" width="100px" src="<?= Liens::getUrlImageEspece($infos_espece['id_espece']) ?>" />
9
    	<span class="intitule_fiche"> <?= $infos_espece['nom_vernaculaire'] ?> </span>
9
    	<span class="intitule_fiche"> <?= $infos_espece['nom_vernaculaire'] ?> </span>
10
		<span class="valeur_fiche"> (<?= $infos_espece['nom_scientifique'] ?>) </span>
10
		<span class="valeur_fiche"> (<?= $infos_espece['nom_scientifique'] ?>) </span>
11
	</div>
11
	</div>
12
 
12
 
13
    <p class="intitule_fiche" > <a href="<?= $infos_espece['description'] ?>"> Voir la description sur wikipedia </a></p>
13
    <p class="intitule_fiche description_espece" > <?= $infos_espece['description'] ?></p>
14
    
14
    
15
    <hr class="separation_section" />
15
    <hr class="separation_section" />
16
    
16
    
17
    <h3 class="titre_section_fiche" > Observations réalisées </h3>
17
    <h3 class="titre_section_fiche" > Observations réalisées </h3>
18
    	<?php foreach ($annees_observations as $annee => $observations) : ?>
18
    	<?php foreach ($annees_observations as $annee => $observations) : ?>
19
    	<span class="pliage observations_individu">
19
    	<span class="pliage observations_individu">
20
    			<h4 class="annee_observation"> année <?= $annee; ?></h4>
20
    			<h4 class="annee_observation"> année <?= $annee; ?></h4>
21
    			<ul>
21
    			<ul>
22
	    			<?php foreach($observations as $stade => $observation) : ?>
22
	    			<?php foreach($observations as $stade => $observation) : ?>
23
	    				<li>
23
	    				<li>
24
		    				<div class="pliage stade_<?= aControleur::formaterChaineVersClasseCss($stade);?>">
24
		    				<div class="pliage stade_<?= aControleur::formaterChaineVersClasseCss($stade);?>">
25
				    			<h4><?= $stade ?></h4>
25
				    			<h4><?= $stade ?></h4>
26
						    	<ul>
26
						    	<ul>
27
						    		<?php foreach($observation as $num_stade => $date) : ?>
27
						    		<?php foreach($observation as $num_stade => $date) : ?>
28
					   					<li>
28
					   					<li>
29
					   						<?= ' stade '.$num_stade.' : '.$date ?>
29
					   						<?= ' stade '.$num_stade.' : '.$date ?>
30
					   					</li>
30
					   					</li>
31
					   				<?php endforeach; ?>
31
					   				<?php endforeach; ?>
32
				   				</ul>
32
				   				</ul>
33
				   			</div>
33
				   			</div>
34
			   			</li>
34
			   			</li>
35
					<?php endforeach; ?>
35
					<?php endforeach; ?>
36
				</ul>
36
				</ul>
37
			</span>
37
			</span>
38
		<?php endforeach; ?>
38
		<?php endforeach; ?>
39
		<?php if(empty($annees_observations)) { ?>
39
		<?php if(empty($annees_observations)) { ?>
40
			<div class="informations"> Aucune observation enregistrée pour cet individu</div>
40
			<div class="informations"> Aucune observation enregistrée pour cet individu</div>
41
		<?php } ?>
41
		<?php } ?>
42
    <hr class="separation_section" />
42
    <hr class="separation_section" />
43
</div>
43
</div>
44
<!-- ODS_SAISIE - FIN FICHE INDIVIDU --> 
44
<!-- ODS_SAISIE - FIN FICHE INDIVIDU -->