Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1394 Rev 1395
Line 318... Line 318...
318
		}
318
		}
319
		if(!empty($p['masque.nn'])) {
319
		if(!empty($p['masque.nn'])) {
320
			$req['where'][] = sprintf('dob.nom_sel_nn = %1$d OR dob.nom_ret_nn = %1$d', $p['masque.nn']);
320
			$req['where'][] = sprintf('dob.nom_sel_nn = %1$d OR dob.nom_ret_nn = %1$d', $p['masque.nn']);
321
		}
321
		}
322
		if(!empty($p['masque.referentiel'])) {
322
		if(!empty($p['masque.referentiel'])) {
323
			$req['where'][] = sprintf('dob.nom_referentiel = %s', $db->proteger($p['masque.referentiel']));
323
			$req['where'][] = sprintf('dob.nom_referentiel LIKE %s', $db->proteger($p['masque.referentiel'].'%'));
324
		}
324
		}
325
		if(!empty($p['masque.commune'])) {
325
		if(!empty($p['masque.commune'])) {
326
			$req['where'][] = 'dob.zone_geo LIKE '.$db->proteger($p['masque.commune'].'%');
326
			$req['where'][] = 'dob.zone_geo LIKE '.$db->proteger($p['masque.commune'].'%');
327
		}
327
		}
328
		if(!empty($p['masque.tag'])) {
328
		if(!empty($p['masque.tag'])) {