43,14 → 43,18 |
|
if(isset($uid[1])) |
{ |
$criteres = $chercheur_images->parserRequeteCriteres($uid[1]) ; |
if(isset($criteres['numero_page']) && isset($criteres['limite'])) { |
$criteres = $chercheur_images->parserRequeteCriteres($uid[1]); |
if (isset($criteres['numero_page']) && isset($criteres['limite'])) { |
$numero_page = $criteres['numero_page']; |
unset($criteres['numero_page']); |
$taille_page = $criteres['limite']; |
unset($criteres['limite']); |
} |
} |
|
$debut = $taille_page*$numero_page ; |
|
$retour = $chercheur_images->rechercherImagesEtObservationAssociees($uid[0], $criteres, $numero_page, $taille_page); |
$retour = $chercheur_images->rechercherImagesEtObservationAssociees($uid[0], $criteres, $debut, $taille_page); |
|
$retour_encode = json_encode($retour) ; |
$retour_encode = $this->nettoyerCaracteresNuls($retour_encode); |