2011-04-18 13:30:56 +04:00
|
|
|
<center>
|
|
|
|
<table class="pager" cellspacing="0" cellpadding="0" border="0">
|
|
|
|
<tr>
|
|
|
|
<td width="1">
|
|
|
|
<?php if($_['page']>0):?>
|
2011-04-18 13:34:06 +04:00
|
|
|
<span class="pagerbutton1"><a href="<?php echo $_['url'].($_['page']-1);?>">prev</a> </span>
|
2011-04-18 13:30:56 +04:00
|
|
|
<?php endif; ?>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<?php if ($_['pagestart']>0):?>
|
|
|
|
...
|
|
|
|
<?php endif;?>
|
|
|
|
<?php for ($i=$_['pagestart']; $i < $_['pagestop'];$i++):?>
|
|
|
|
<?php if ($_['page']!=$i):?>
|
|
|
|
<a href="<?php echo $_['url'].$i;?>"><?php echo $i+1;?> </a>
|
|
|
|
<?php else:?>
|
|
|
|
<?php echo $i+1;?>
|
|
|
|
<?php endif?>
|
|
|
|
<?php endfor;?>
|
|
|
|
<?php if ($_['pagestop']<$_['pagecount']):?>
|
|
|
|
...
|
|
|
|
<?php endif;?>
|
|
|
|
</td>
|
|
|
|
<td width="1">
|
|
|
|
<?php if(($_['page']+1)<$_['pagecount']):?>
|
2011-04-18 13:34:06 +04:00
|
|
|
<span class="pagerbutton2"><a href="<?php echo $_['url'].($_['page']+1);?>">next</a></span>
|
2011-04-18 13:30:56 +04:00
|
|
|
<?php endif; ?>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</center>
|