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