2011-08-20 03:07:58 +00:00
|
|
|
<ol class="pager">
|
|
|
|
<?php if($_['page']>0):?>
|
|
|
|
<li class="pagerbutton1"><a href="<?php echo $_['url'].($_['page']-1);?>"><?php echo $l->t( 'prev' ); ?></a></li>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php if ($_['pagestart']>0):?>
|
|
|
|
…
|
|
|
|
<?php endif;?>
|
|
|
|
<?php for ($i=$_['pagestart']; $i < $_['pagestop'];$i++):?>
|
|
|
|
<?php if ($_['page']!=$i):?>
|
|
|
|
<li><a href="<?php echo $_['url'].$i;?>"><?php echo $i+1;?></a></li>
|
|
|
|
<?php else:?>
|
|
|
|
<li><?php echo $i+1;?></li>
|
|
|
|
<?php endif?>
|
|
|
|
<?php endfor;?>
|
|
|
|
<?php if ($_['pagestop']<$_['pagecount']):?>
|
|
|
|
…
|
|
|
|
<?php endif;?>
|
|
|
|
|
|
|
|
<?php if(($_['page']+1)<$_['pagecount']):?>
|
|
|
|
<li class="pagerbutton2"><a href="<?php echo $_['url'].($_['page']+1);?>"><?php echo $l->t( 'next' ); ?></a></li>
|
|
|
|
<?php endif; ?>
|
|
|
|
</ol>
|