1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
3 * Classic pagination style
5 * @preview ‹ First < 1 2 3 > Last ›
11 <?php
if ($first_page): ?
>
12 <a href
="<?php echo str_replace('{page}', 1, $url) ?>">&lsaquo
; 
;<?php
echo Kohana
::lang('pagination.first') ?
></a
>
15 <?php
if ($previous_page): ?
>
16 <a href
="<?php echo str_replace('{page}', $previous_page, $url) ?>"><
;</a
>
20 <?php
for ($i = 1; $i <= $total_pages; $i++
): ?
>
22 <?php
if ($i == $current_page): ?
>
23 <strong
><?php
echo $i ?
></strong
>
25 <a href
="<?php echo str_replace('{page}', $i, $url) ?>"><?php
echo $i ?
></a
>
31 <?php
if ($next_page): ?
>
32 <a href
="<?php echo str_replace('{page}', $next_page, $url) ?>">>
;</a
>
35 <?php
if ($last_page): ?
>
36 <a href
="<?php echo str_replace('{page}', $last_page, $url) ?>"><?php
echo Kohana
::lang('pagination.last') ?
> 
;&rsaquo
;</a
>