PHP Classes

PageNavigator - generate navigation for listings: Show links to browse lists split in multiple pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-06-21 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,575 This week: 1All time: 2,373 This week: 1,127Up
Version License PHP version Categories  
pagenavigator 1.0.0GNU General Publi...4.3HTML
Description Author  

This class can be used to show navigation links to browse listings split in multiple pages.

It takes the total number of entries in a listing and an optional limit number of entries to display per page.

The class shows a navigation bar made of HTML links similar to Google, to browse between the pages of the listing, considering the number of the current page.

It may also generate a form select input with an interval of pages to jump. When the use selects one page, the browser is redirected to the associated listing page.

The texts that may show in the links can be presented in English or Italian.

Picture of Michele Castellucci
Name: Michele Castellucci <contact>
Classes: 4 packages by
Country: Italy Italy
Age: 31
All time rank: 2096 in Italy Italy
Week rank: 136 Up6 in Italy Italy Equal

  • screenshot.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file Aux. Auxiliary script
Plain text file index.php Example Example script
Image file next.gif Icon next page button
HTML file PageNavigator.html Doc. Documentation of the class in Italian
Plain text file PageNavigator.php Class The main class
Plain text file PageNavigator.txt Doc. Documentation in Italian
Image file prev.gif Icon Previous page button
Plain text file style.css Data CSS for select input

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:1,575All time:2,373
 This week:1This week:1,127Up