Login   Register  
PHP Classes
elePHPant
Icontem

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 del.icio.us Bookmark in del.icio.us
  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 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,541 This week: 1All time: 2,345 This week: 1,537Up
Version License PHP version Categories  
pagenavigator 1.0.0GNU General Public Lice...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: 30
All time rank: 2106 in Italy Italy
Week rank: 329 Down11 in Italy Italy Down

Screenshots  
  • screenshot.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file functions.inc.php 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,541All time:2,345
 This week:1This week:1,537Up