29,7 → 29,8 |
} |
|
function getElement($uid) |
{ |
{ |
// restriction aux observations publiques |
$criteres = array('transmission' => '1'); |
|
if($uid[0] != '*' && empty($_GET)) { |
47,6 → 48,7 |
$criteres['zone_geo'] = isset($_GET['commune']) ? $_GET['commune'] : null; |
$criteres['taxon'] = isset($_GET['taxon']) ? $_GET['taxon'] : null; |
$criteres['ce_zone_geo'] = isset($_GET['dept']) ? $_GET['dept'] : null; |
$criteres['famille'] = isset($_GET['famille']) ? $_GET['famille'] : null; |
$criteres['recherche'] = isset($_GET['recherche']) ? $_GET['recherche'] : null; |
|
$chercheur_images = new RechercheImage($this->config); |