Found result['numberOfDocuments']); ?> documents, displaying page result['page']); ?> of result['numberOfPages']); ?>

result['page']; $pageEnd = $this -> result['page']; while (($pageEnd - $pageStart < 4) && (($pageStart != 1) || ($pageEnd != $this -> result['numberOfPages']))) { if ($pageStart > 1) $pageStart --; if ($pageEnd < $this -> result['numberOfPages']) $pageEnd++; } $paging = array(); if ($this -> result['page'] > 1) { $paging[] = '<<'; $paging[] = '<'; } for ($i = $pageStart; $i <= $pageEnd; $i++) $paging[] = (($this -> result['page'] != $i) ? '' . $i . '' : $i); if (((int) $this -> result['page']) < ((int) $this -> result['numberOfPages'])) { $paging[] = '>'; $paging[] = '>>'; } echo(implode(' ', $paging)); ?>