<?
	$user = $this->phpsession->get('fuser');
?>

<?if( ($this->uri->segment(2) != "galeria" || !is_numeric($this->uri->segment(3))) || $user ):?>
	<div style="background: url('/public/img/forum/stilus/box_menu_top.png'); height: 58px;"></div>
<?endif;?>

	
	<div class="forumlogin" style="padding-left: 5px;">

<?if( isset($nemelfogad) && $nemelfogad ):?>
	
<?elseif(($this->phpsession->get('feltolto'))):?>
	<ul class="forummenu">
		<li onclick="window.location.href='/forum/temakorok'"  <?if($aktmenu=="1"):?> class="aktivmenu"<?endif;?>><?=lang('forum_topics')?></li>
		<li onclick="window.location.href='/forum/myuser'"<?if($aktmenu=="3"):?> class="aktivmenu"<?endif;?>><?=lang('forum_profil')?></li>
		<li onclick="window.location.href='/forum/renderek'"  <?if($aktmenu=="6"):?> class="aktivmenu"<?endif;?>><?=lang('forum_renderek')?></li>
		
	</ul>
<?elseif(!($this->phpsession->get('fuser'))):?>
	

<?else:?>
	<?
		$this->load->model('mforum');
		$user = $this->phpsession->get('fuser');
		$moderator = $this->mforum->moderator($user['name']);
	?>
	<ul class="forummenu">
	<li onclick="window.location.href='/forum/temakorok'" <?if($aktmenu=="1"):?> class="aktivmenu"<?endif;?>><?=lang('forum_topics')?></li>
	<li onclick="window.location.href='/forum/szabalyzat'"<?if($aktmenu=="2"):?> class="aktivmenu"<?endif;?>><?=lang('forum_szab')?></li>
	<li onclick="window.location.href='/forum/myuser'"<?if($aktmenu=="3"):?> class="aktivmenu"<?endif;?>><?=lang('forum_profil')?></li>
	<?if( isset($moderator) && $moderator ):?>
	<li onclick="window.location.href='/forum/users'"<?if($aktmenu=="4"):?> class="aktivmenu"<?endif;?>><?=lang('forum_users')?></li>
	<?endif;?>
	<li onclick="window.location.href='/forum/galeria'"<?if($aktmenu=="5"):?> class="aktivmenu"<?endif;?>><?=lang('forum_galeria')?></li>
	<li onclick="window.location.href='/forum/renderek'"<?if($aktmenu=="6"):?> class="aktivmenu"<?endif;?>><?=lang('forum_renderek')?></li>
	</ul>
<?endif;?>
</div>
	
	<?if( ($this->uri->segment(2) != "galeria" || !is_numeric($this->uri->segment(3))) || $user ):?>
	<div style="background: url('/public/img/forum/stilus/box_menu_bottom.png'); height: 12px;">
	</div>
	<?endif;?>
	