Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 902 Rev 1765
Line 25... Line 25...
25
		
25
		
Line 26... Line 26...
26
			return;
26
			return;
Line 27... Line 27...
27
 
27
 
Line 28... Line 28...
28
			$requete_obs ="SELECT id_observation, zone_geo, ce_zone_geo, date_observation, ce_utilisateur, courriel_utilisateur FROM cel_obs";
28
			$requete_obs ="SELECT id_observation, zone_geo, ce_zone_geo, date_observation, ce_utilisateur, courriel_utilisateur FROM cel_obs";
29
   		    
29
   		    
30
   		    $resultat_obs = $this->requeter($requete_obs);
30
   		    $resultat_obs = Cel::db()->requeter($requete_obs);
31
    
31
    
Line 41... Line 41...
41
				}
41
				}
42
				else {
42
				else {
43
					$requete_lieu = "select * from cel_zones_geo where name = '".mysql_escape_string($obs['zone_geo'])."' limit 1";
43
					$requete_lieu = "select * from cel_zones_geo where name = '".mysql_escape_string($obs['zone_geo'])."' limit 1";
44
				}
44
				}
Line 45... Line 45...
45
				
45
				
Line 46... Line 46...
46
				$res_loc = $this->requeter($requete_lieu);
46
				$res_loc = Cel::db()->requeter($requete_lieu);
Line 47... Line 47...
47
    
47
    
48
		        if (is_array($res_loc) && count($res_loc) > 0) {
48
		        if (is_array($res_loc) && count($res_loc) > 0) {