1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
3 * Extended pagination style
5 * @preview « Previous | Page 2 of 11 | Showing items 6-10 of 52 | Next »
11 <?php
if ($previous_page): ?
>
12 <a href
="<?php echo str_replace('{page}', $previous_page, $url) ?>">«
; 
;<?php
echo Kohana
::lang('pagination.previous') ?
></a
>
14 «
; 
;<?php
echo Kohana
::lang('pagination.previous') ?
>
17 |
<?php
echo Kohana
::lang('pagination.page') ?
> <?php
echo $current_page ?
> <?php
echo Kohana
::lang('pagination.of') ?
> <?php
echo $total_pages ?
>
19 |
<?php
echo Kohana
::lang('pagination.items') ?
> <?php
echo $current_first_item ?
>&ndash
;<?php
echo $current_last_item ?
> <?php
echo Kohana
::lang('pagination.of') ?
> <?php
echo $total_items ?
>
21 |
<?php
if ($next_page): ?
>
22 <a href
="<?php echo str_replace('{page}', $next_page, $url) ?>"><?php
echo Kohana
::lang('pagination.next') ?
> 
;»
;</a
>
24 <?php
echo Kohana
::lang('pagination.next') ?
> 
;»
;