Jeff PHP framework  0.99
Modular, extensible, OOP, MVC, lightweight php framework designed to ease the programmers in the development of web applications.
pagination_navigation.php
Go to the documentation of this file.
00001 <?php
00020 ?>
00021 <div>
00022 <?php
00023 if(count($pages)) {
00024         echo "<span>$prev</span> &#160; ";
00025         foreach($pages as $page) {
00026                 $class = (isset($page['selected']) && $page['selected']) ? "selected" : "";
00027                 if($page['number']=='GAP') echo "<span>...</span> &#160; ";
00028                 else echo "<span class=\"$class\">".(isset($page['link']) ? anchor($page['link'], $page['number']) : $page['number'])."</span> &#160; ";
00029         }
00030         echo "<span>$next</span> &#160; ";
00031 }
00032 ?>
00033 </div>