Subversion Repositories eFlore/Applications.cel

Rev

Rev 927 | Rev 996 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 927 Rev 959
Line 44... Line 44...
44
		if(isset($uid[1]))
44
		if(isset($uid[1]))
45
		{
45
		{
46
			$criteres = $chercheur_images->parserRequeteCriteres($uid[1]) ;
46
			$criteres = $chercheur_images->parserRequeteCriteres($uid[1]);
47
			if(isset($criteres['numero_page']) && isset($criteres['limite'])) {
47
			if (isset($criteres['numero_page']) && isset($criteres['limite'])) {
48
				$numero_page = $criteres['numero_page'];
48
				$numero_page = $criteres['numero_page'];
-
 
49
				unset($criteres['numero_page']);
49
				$taille_page = $criteres['limite'];
50
				$taille_page = $criteres['limite'];
-
 
51
				unset($criteres['limite']);
50
			}
52
			}
51
		}
53
		}
Line -... Line 54...
-
 
54
		
-
 
55
		$debut = $taille_page*$numero_page ;
52
 
56
 
Line 53... Line 57...
53
		$retour = $chercheur_images->rechercherImagesEtObservationAssociees($uid[0], $criteres, $numero_page, $taille_page);
57
		$retour = $chercheur_images->rechercherImagesEtObservationAssociees($uid[0], $criteres, $debut, $taille_page);
54
 
58
 
Line 55... Line 59...
55
		$retour_encode = json_encode($retour) ;
59
		$retour_encode = json_encode($retour) ;