Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1016 Rev 1114
Line 217... Line 217...
217
		$chaine_recherche = strtolower($chaine_recherche);
217
		$chaine_recherche = strtolower($chaine_recherche);
218
		$chaine_recherche = str_replace(' ','_',$chaine_recherche);
218
		$chaine_recherche = str_replace(' ','_',$chaine_recherche);
Line 219... Line 219...
219
		
219
		
Line -... Line 220...
-
 
220
		$requete = ' (';
-
 
221
	
-
 
222
		$requete .= 'ci.nom_original LIKE '.$this->proteger($chaine_recherche.'%') ;
220
		$requete = ' (';
223
		$requete .= ' OR ' ;
221
	
224
		
Line 222... Line 225...
222
		$requete .= 'co.nom_ret LIKE '.$this->proteger($chaine_recherche.'%') ;
225
		$requete .= 'co.nom_ret LIKE '.$this->proteger($chaine_recherche.'%') ;
223
		$requete .= ' OR ' ;
226
		$requete .= ' OR ' ;
Line 229... Line 232...
229
		$requete .= ' OR ' ;
232
		$requete .= ' OR ' ;
Line 230... Line 233...
230
		
233
		
231
		$requete .= 'co.ce_zone_geo LIKE '.$this->proteger('%'.$chaine_recherche.'%') ;
234
		$requete .= 'co.ce_zone_geo LIKE '.$this->proteger('%'.$chaine_recherche.'%') ;
Line 232... Line 235...
232
		$requete .= ' OR ' ;
235
		$requete .= ' OR ' ;
233
		
236
		
234
		$requete_mots_cles .= $this->fabriquerSousRequeteMotsClesTexte($chaine_recherche); 
237
		$requete_mots_cles = $this->fabriquerSousRequeteMotsClesTexte($chaine_recherche); 
235
		if(trim($requete_mots_cles) != '') {
238
		if(trim($requete_mots_cles) != '') {
236
			$requete .= $requete_mots_cles;
239
			$requete .= $requete_mots_cles;