Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1720 Rev 1724
Line 31... Line 31...
31
			$taille = 'L';
31
			$taille = 'L';
32
		} 
32
		} 
Line 33... Line 33...
33
        
33
        
34
        // Recherche de toutes les observations transmises du taxon pour lesquelles une photo est associee.        
34
        // Recherche de toutes les observations transmises du taxon pour lesquelles une photo est associee.        
35
        $requete_obs_publiques_images_taxon = 'SELECT * FROM cel_obs, cel_obs_images, cel_images '.
35
        $requete_obs_publiques_images_taxon = 'SELECT * FROM cel_obs, cel_obs_images, cel_images '.
36
        		' WHERE cel_obs.nom_sel_nn = '.$this->proteger($uid[0]).
36
        		' WHERE cel_obs.nom_sel_nn = '.Cel::db()->proteger($uid[0]).
37
        		' AND cel_obs_images.id_observation = cel_obs.id_observation '.
37
        		' AND cel_obs_images.id_observation = cel_obs.id_observation '.
38
				' AND cel_obs.transmission =  1 '.
38
				' AND cel_obs.transmission =  1 '.
Line 39... Line 39...
39
				' AND cel_images.id_image = cel_obs_images.id_image';
39
				' AND cel_images.id_image = cel_obs_images.id_image';
40
 
40
 
Line 41... Line 41...
41
        $resultat_requete_obs_images_taxon = $this->requeter($requete_obs_publiques_images_taxon);
41
        $resultat_requete_obs_images_taxon = Cel::db()->requeter($requete_obs_publiques_images_taxon);
42
        $picture_path = $this->config['cel']['url_images'];           
42
        $picture_path = $this->config['cel']['url_images'];           
43
           	    
43