part.pagenavi.php 763 B

1234567891011121314151617181920212223
  1. <ol class="pager">
  2. <?php if($_['page']>0):?>
  3. <li class="pagerbutton1"><a href="<?php print_unescaped($_['url'].($_['page']-1));?>"><?php p($l->t( 'prev' )); ?></a></li>
  4. <?php endif; ?>
  5. <?php if ($_['pagestart']>0):?>
  6. &hellip;
  7. <?php endif;?>
  8. <?php for ($i=$_['pagestart']; $i < $_['pagestop'];$i++):?>
  9. <?php if ($_['page']!=$i):?>
  10. <li><a href="<?php print_unescaped($_['url'].$i);?>"><?php p($i+1);?></a></li>
  11. <?php else:?>
  12. <li><?php p($i+1);?></li>
  13. <?php endif?>
  14. <?php endfor;?>
  15. <?php if ($_['pagestop']<$_['pagecount']):?>
  16. &hellip;
  17. <?php endif;?>
  18. <?php if(($_['page']+1)<$_['pagecount']):?>
  19. <li class="pagerbutton2"><a href="<?php print_unescaped($_['url'].($_['page']+1));?>"><?php p($l->t( 'next' )); ?></a></li>
  20. <?php endif; ?>
  21. </ol>