1 <div
class=
"rmc_pages_navigation_container">
3 <?php
if($showing): ?><span
class=
"showing"><?php echo $showing_legend; ?></span><?php
endif; ?>
4 <?php
if($caption): ?><span
class=
"pages_caption"><?php
_e(
'Pages:',
'rmcommon'); ?></span><?php
endif; ?>
5 <?php
if($total_pages>$steps && $current_page>$steps-1): ?>
6 <a
href=
"<?php echo str_replace('{PAGE_NUM}', 1, $url); ?>" title=
"<?php _e('First Page','rmcommon'); ?>" class=
"image"><img src=
"<?php echo RMCURL; ?>/images/first.gif" alt=
"<?php _e('First Page','rmcommon'); ?>" /></a>
9 <?php
if($current_page>1): ?>
10 <a href=
"<?php echo str_replace('{PAGE_NUM}', $current_page-1, $url); ?>" title=
"<?php _e('Previous Page','rmcommon'); ?>" class=
"image"><img src=
"<?php echo RMCURL; ?>/images/prev.gif" alt=
"<?php _e('Previous Page','rmcommon'); ?>" /></a>
13 <?php
if(
$start>1): ?><span
class=
"page_separators"><img src=
"<?php echo RMCURL; ?>/images/points.gif" alt=
"" /></span><?php
endif; ?>
17 if (
$i==$current_page):
19 <span
class=
"current_page"><?php echo
$i; ?></span>
21 <a href=
"<?php echo str_replace('{PAGE_NUM}', $i, $url); ?>" title=
"<?php echo sprintf(__('Page %u','rmcommon'), $i); ?>"><?php echo
$i; ?></a>
27 <?php
if(
$start<=$total_pages-$steps): ?><span
class=
"page_separators"><img src=
"<?php echo RMCURL; ?>/images/points.gif" alt=
"" /></span><?php
endif; ?>
29 <?php
if($current_page<$total_pages): ?>
30 <a href=
"<?php echo str_replace('{PAGE_NUM}', $current_page+1, $url); ?>" title=
"<?php _e('Next Page','rmcommon'); ?>" class=
"image"><img src=
"<?php echo RMCURL; ?>/images/next.gif" alt=
"<?php _e('Next Page','rmcommon'); ?>" /></a>
33 <?php
if($total_pages>$steps && $current_page<($total_pages-$steps)+2): ?>
34 <a href=
"<?php echo str_replace('{PAGE_NUM}', $total_pages, $url); ?>" title=
"<?php _e('Last Page','rmcommon'); ?>" class=
"image"><img src=
"<?php echo RMCURL; ?>/images/last.gif" alt=
"<?php _e('Last Page','rmcommon'); ?>" /></a>