	<!-- Main navbar -->
	<div class="navbar navbar-inverse">
		<div class="navbar-header">
			<a class="navbar-brand" href="<?=getSubUrl('')?>"><?=getThemeImg('logo_light.png')?></a>

			<ul class="nav navbar-nav visible-xs-block">
				<li><a data-toggle="collapse" data-target="#navbar-mobile"><i class="icon-tree5"></i></a></li>
				<li><a class="sidebar-mobile-main-toggle"><i class="icon-paragraph-justify3"></i></a></li>
			</ul>
		</div>

		<div class="navbar-collapse collapse" id="navbar-mobile">
			<ul class="nav navbar-nav">
				<li><a class="sidebar-control sidebar-main-toggle hidden-xs"><i class="icon-paragraph-justify3"></i></a></li>

			</ul>

			<div class="navbar-right">
				<ul class="nav navbar-nav">
<?php if(isset($_SESSION) && isset($_SESSION['user'])) { ?>
					<li class="dropdown dropdown-user">
						<a class="dropdown-toggle" data-toggle="dropdown">
							<?=getImg($_SESSION['user']['basic']['image'])?>
							<span><?=$_SESSION['user']['basic']['name']?> <?=$_SESSION['user']['basic']['surname']?></span>
							<i class="caret"></i>
						</a>

						<ul class="dropdown-menu dropdown-menu-right">
							<li><a href="<?=getSubUrl('/users/edit?id='.$_SESSION['user']['basic']['id'])?>"><i class="icon-cog5"></i> <?=t_('My Profile')?></a></li>
							<li><a href="<?=getSubUrl('login/out')?>"><i class="icon-switch2"></i> <?=t_('Logout')?></a></li>
						</ul>
					</li>
<?php } ?>
				</ul>
			</div>
		</div>
	</div>
	<!-- /main navbar -->
