Out looking for a PHP pagination class… I’ll report back.

http://www.catchmyfame.com/2007/07/28/finally-the-simple-pagination-class/

http://articles.sitepoint.com/article/perfect-php-pagination

http://tanax.awardspace.com/?p=5

http://mis-algoritmos.com/digg-style-pagination-class

the one i’m using from nettuts:
page_1.png

 

http://net.tutsplus.com/tutorials/php/how-to-paginate-data-with-php/

very EASY to integrate and i love the OOP!

i have it implemented here:

pagination.jpg

 

here’s my CSS for the pagination class

 

.paginate {

margin-top: 10px;

font-size: 11px;

}

 

a.paginate {

border: 1px solid black;

padding: 5px;

text-decoration: none;

color: #7d7d7d;

}

 

 

a.paginate:hover {

background-color: #000080;

color: #FFF;

text-decoration: underline;

}

 

a.current {

font-size: 12px;

border: 1px solid #000080;

font: bold;

padding: 5px;

cursor: default;

background:#000080;

color: #FFF;

text-decoration: none;

}

 

span.inactive {

border: 1px solid #999;

font-family: Arial, Helvetica, sans-serif;

font-size: .7em;

padding: 5px;

color: #999;

cursor: default;

}