<p align="right" style="margin: 0px;">
<?if( isset($elozo) || isset($kovetkezo) ):?>
	<?if(isset($elozo)):?>
		
		<a href="/forum/<?if($this->uri->segment(2) != "ujuserdb"):?><?=$this->uri->segment(2)?><?else:?>users<?endif;?>/0"> <img src="/public/img/forum/stilus/button_small_first.png" alt="first"/> </a>
		<a href="/forum/<?if($this->uri->segment(2) != "ujuserdb"):?><?=$this->uri->segment(2)?><?else:?>users<?endif;?>/<?=($akt_oldal-1)?>"> <img src="/public/img/forum/stilus/button_small_prev.png" alt="perv" /> </a>
	<?else:?>
		<img src="/public/img/forum/stilus/button_small_first_inactive.png" alt="infirst"/>
		<img src="/public/img/forum/stilus/button_small_prev_inactive.png" alt="inprev"/>
	<?endif;?>
	<?for($i=0;$i<=$oldalak_szama;$i++){
		if( $i != $akt_oldal ){?>
			<a href="/forum/<?if($this->uri->segment(2) != "ujuserdb"):?><?=$this->uri->segment(2)?><?else:?>users<?endif;?>/<?=$i?>"><?=($i+1)?></a>
		<?}else{?>
			<span style="color: #000;"><?=($i+1)?></span>
	<?}}?>
	<?if(isset($kovetkezo)):?>
		
		<a href="/forum/<?if($this->uri->segment(2) != "ujuserdb"):?><?=$this->uri->segment(2)?><?else:?>users<?endif;?>/<?=($akt_oldal+1)?>">
			<img src="/public/img/forum/stilus/button_small_next.png" alt="next"/>
		</a>
		<?if($akt_oldal != $oldalak_szama):?>
			<a href="/forum/<?if($this->uri->segment(2) != "ujuserdb"):?><?=$this->uri->segment(2)?><?else:?>users<?endif;?>/<?=$oldalak_szama?>">
				<img src="/public/img/forum/stilus/button_small_end.png" alt="end"/>
			</a>
		<?endif;?>
	<?else:?>
		<img src="/public/img/forum/stilus/button_small_next_inactive.png" alt="nextin"/>
		<img src="/public/img/forum/stilus/button_small_end_inactive.png" alt="endin"/>
	<?endif;?>
	
<?else:?>
	<img src="/public/img/forum/stilus/button_small_first_inactive.png" alt="infirst"/>
	<img src="/public/img/forum/stilus/button_small_prev_inactive.png" alt="inprev"/> 
	1
	<img src="/public/img/forum/stilus/button_small_next_inactive.png" alt="nextin"/>
	<img src="/public/img/forum/stilus/button_small_end_inactive.png" alt="endin"/>
<?endif;?>
</p>