Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 301 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 301 Rev 344
Line 142... Line 142...
142
	    	$cp_recherche = $dpt;
142
	    	$cp_recherche = $dpt;
143
			if(strlen($cp_recherche) == 4) {
143
			if(strlen($cp_recherche) == 4) {
144
				$cp_recherche = '0'.$cp_recherche;
144
				$cp_recherche = '0'.$cp_recherche;
145
			}
145
			}
Line 146... Line 146...
146
			
146
			
Line 147... Line 147...
147
			$commune_phenoclim = $this->estUneCommunePhenoclim(array('code_postal' => $cp_recherche));
147
			$commune_phenoclim = $this->estUneCommunePhenoclim(array('code_insee' => $cp_recherche));
Line 148... Line 148...
148
	
148
	
149
			$cp_recherche = substr($cp_recherche,0,2);
149
			$cp_recherche = substr($cp_recherche,0,2);
Line 269... Line 269...
269
    	$resultat_requete = $this->executerRequete($requete);
269
    	$resultat_requete = $this->executerRequete($requete);
Line 270... Line 270...
270
    	 
270
    	 
271
		return $resultat_requete;
271
		return $resultat_requete;
272
    }
272
    }
273
}
-
 
274
?>
273
}
-
 
274
?>