Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 889 Rev 1362
Line 3... Line 3...
3
		
3
		
4
	private $criteres = array('tag' => 'c.ci_meta_mots_cles', 
4
	private $criteres = array('tag' => 'c.ci_meta_mots_cles', 
5
							'auteur' => 'c.ci_ce_utilisateur', 
5
							'auteur' => 'c.ci_ce_utilisateur', 
6
							'commune' => 'b.location', 
6
							'commune' => 'b.location', 
7
							'dept' => 'b.id_location',
7
							'dept' => 'b.id_location',
-
 
8
							'taxon' => 'b.nom_ret',
Line 8... Line 9...
8
							'taxon' => 'b.nom_ret');
9
							'famille' => 'b.famille');
Line 9... Line 10...
9
 
10
 
Line 205... Line 206...
205
		$requete .= ' OR ' ;
206
		$requete .= ' OR ' ;
Line 206... Line 207...
206
		
207
		
207
		$requete .= 'b.id_location LIKE '.$this->proteger($chaine_requete.'%') ;
208
		$requete .= 'b.id_location LIKE '.$this->proteger($chaine_requete.'%') ;
Line -... Line 209...
-
 
209
		$requete .= ' OR ' ;
-
 
210
		
-
 
211
		$requete .= 'b.famille LIKE '.$this->proteger($chaine_requete.'%') ;
208
		$requete .= ' OR ' ;
212
		$requete .= ' OR ' ;
209
		
213
		
210
		$requete_mots_cles .= $this->creerSousRequeteMotsCles($chaine_requete); 
214
		$requete_mots_cles .= $this->creerSousRequeteMotsCles($chaine_requete); 
211
		if(trim($requete_mots_cles) != '') {
215
		if(trim($requete_mots_cles) != '') {
212
			$requete .= $requete_mots_cles;
216
			$requete .= $requete_mots_cles;