Line 41... |
Line 41... |
41 |
|
41 |
|
42 |
$this->start = isset($_GET['start']) ? $_GET['start'] : self::start_defaut;
|
42 |
$this->start = isset($_GET['start']) ? $_GET['start'] : self::start_defaut;
|
Line 43... |
Line 43... |
43 |
$this->limit = isset($_GET['limit']) ? $_GET['limit'] : self::limit_defaut;
|
43 |
$this->limit = isset($_GET['limit']) ? $_GET['limit'] : self::limit_defaut;
|
44 |
|
44 |
|
45 |
$criteres['mots_cles'] = isset($_GET['tag']) ? $_GET['tag'] : null;
|
45 |
$criteres['mots_cles'] = isset($_GET['tag']) ? $_GET['tag'] : null;
|
46 |
$criteres['ce_utilisateur'] = isset($_GET['auteur']) ? $_GET['auteur'] : null;
|
46 |
$criteres['auteur'] = isset($_GET['auteur']) ? $_GET['auteur'] : null;
|
47 |
$criteres['zone_geo'] = isset($_GET['commune']) ? $_GET['commune'] : null;
|
47 |
$criteres['zone_geo'] = isset($_GET['commune']) ? $_GET['commune'] : null;
|
- |
|
48 |
$criteres['taxon'] = isset($_GET['taxon']) ? $_GET['taxon'] : null;
|
Line 48... |
Line 49... |
48 |
$criteres['taxon'] = isset($_GET['taxon']) ? $_GET['taxon'] : null;
|
49 |
$criteres['ce_zone_geo'] = isset($_GET['dept']) ? $_GET['dept'] : null;
|
Line 49... |
Line 50... |
49 |
$criteres['ce_zone_geo'] = isset($_GET['dept']) ? $_GET['dept'] : null;
|
50 |
$criteres['recherche'] = isset($_GET['recherche']) ? $_GET['recherche'] : null;
|
50 |
|
51 |
|
Line 51... |
Line 52... |
51 |
$chercheur_images = new RechercheImage($this->config);
|
52 |
$chercheur_images = new RechercheImage($this->config);
|
Line 52... |
Line 53... |
52 |
|
53 |
|
53 |
$total = $chercheur_images->compterImages($criteres['ce_utilisateur'], $criteres);
|
54 |
$total = $chercheur_images->compterImages(null, $criteres);
|