PHP Classes

File: examples/sandbox/templates/standard_pagination2.tpl

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/sandbox/templates/standard_pagination2.tpl   Download  
File: examples/sandbox/templates/standard_pagination2.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 881 bytes
 

Contents

Class file image Download
<div class="pagination" id="standard"> <?php if ($first): ?><a href="pagination2.php?page=<?php echo $first; ?>">First</a>&nbsp;<?php endif; ?> <?php if ($previous): ?><a href="pagination2.php?page=<?php echo $previous; ?>">Previous</a>&nbsp;<?php endif; ?> <?php foreach ($before as $item): ?> <?php if ($item): ?><a href="pagination2.php?page=<?php echo $item; ?>"><?php echo $item; ?></a>&nbsp;|&nbsp;<?php endif; ?> <?php endforeach; ?> <strong><?php echo $current; ?></strong>&nbsp;|&nbsp; <?php foreach ($after as $item): ?> <?php if ($item): ?><a href="pagination2.php?page=<?php echo $item; ?>"><?php echo $item; ?></a>&nbsp;|&nbsp;<?php endif; ?> <?php endforeach; ?> <?php if ($next): ?><a href="pagination2.php?page=<?php echo $next; ?>">Next</a>&nbsp;<?php endif; ?> <?php if ($last): ?><a href="pagination2.php?page=<?php echo $last; ?>">Last</a><?php endif; ?> </div>