Subversion Repositories Sites.obs-saisons.fr

Rev

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

Rev 215 Rev 228
Line 51... Line 51...
51
    	$id_individu = $params[0];
51
    	$id_individu = $params[0];
52
   		$annee = $params[1];
52
   		$annee = $params[1];
Line 53... Line 53...
53
   		
53
   		
54
   		$requete_liste_observation_individu = 'SELECT * FROM ods_observations '.
54
   		$requete_liste_observation_individu = 'SELECT * FROM ods_observations '.
-
 
55
   												  'WHERE oo_ce_individu ='.$this->proteger($id_individu).' '.
55
   												  'WHERE oo_ce_individu ='.$this->proteger($id_individu).' '.
56
   												  'AND DAY(oo_date) != "00" '.
Line 56... Line 57...
56
   												  'ORDER BY YEAR(oo_date) DESC, MONTH(oo_date) ASC, DAY(oo_date) ASC '; 
57
   												  'ORDER BY YEAR(oo_date) DESC, MONTH(oo_date) ASC, DAY(oo_date) ASC '; 
Line 57... Line 58...
57
   		
58
   		
Line 70... Line 71...
70
   			
71
   			
71
   			$titre_stade = $infos_stades['nom'];
72
   			$titre_stade = $infos_stades['nom'];
72
   			$numero_stade = $infos_stades['numero'];
73
   			$numero_stade = $infos_stades['numero'];
Line 73... Line 74...
73
   			$abreviation_stade = $infos_stades['abreviation'];
74
   			$abreviation_stade = $infos_stades['abreviation'];
Line -... Line 75...
-
 
75
   			
-
 
76
   			$tableau_date =  date_parse($observation_individu['oo_date']);
-
 
77
   			
-
 
78
   			if(!$this->estUneDateInvalide($tableau_date['day'], $tableau_date['month'], $tableau_date['year'])) {
74
   			
79
   				   			
75
   			$date_observation_formatee = date($this->config['appli']['format_date'], strtotime($observation_individu['oo_date']));
80
	   			$date_observation_formatee = date($this->config['appli']['format_date'], strtotime($observation_individu['oo_date']));
-
 
81
	   			
Line 76... Line 82...
76
   			
82
	   			$liste_observation_individu_formatees[$annee_obs][$titre_stade][$numero_stade] = $date_observation_formatee;
Line 77... Line 83...
77
   			$liste_observation_individu_formatees[$annee_obs][$titre_stade][$numero_stade] = $date_observation_formatee;
83
	   			$liste_observation_individu_formatees[$annee_obs][$titre_stade][$numero_stade] = $date_observation_formatee;