 <?php
$colname_korisnik = $_SESSION['username'];
$query_korisnik = "SELECT * FROM le_users WHERE email = '".$colname_korisnik."'";
$korisnik = mysqli_query($leld,$query_korisnik) or die(mysqli_error());
$row_korisnik = mysqli_fetch_assoc($korisnik);
$totalRows_korisnik = mysqli_num_rows($korisnik);
?>
		<!-- Page top navbar -->
        <nav class="navbar navbar-fixed-top">
            <div class="container-fluid">
                <div class="navbar-left">
                    <div class="navbar-btn">
                        <a href="./"><img src="assets/images/logo.png" alt="LaktusDev" class="img-fluid logo"></a>
                        <button type="button" class="btn-toggle-offcanvas"><i class="fa fa-align-left"></i></button>
                    </div>
                    
                </div>
                <div class="navbar-right">
                    <div id="navbar-menu">
                        <ul class="nav navbar-nav">
                            <li class="dropdown language-menu hidden-xs">
                                <a href="javascript:void(0);" class="dropdown-toggle icon-menu" data-toggle="dropdown"><i class="fa fa-language"></i></a>
                                <div class="dropdown-menu language_widget mt-0">
                                    <a class="dropdown-item pt-2 pb-2" href="index_sr.php"><img src="assets/images/flag/rs.png" alt="Srpski" > Srpski</a>
                                    <a class="dropdown-item pt-2 pb-2" href="./"><img src="assets/images/flag/en.png" alt="English" > English</a>
                                </div>
                            </li>
							<?php if ($row_korisnik['level'] == '1') { ?><li><a href="users.php" class="icon-menu"><i class="fa fa-users" title="Korisnici"></i></a></li><?php } else if ($row_korisnik['level'] == '2') { ?><?php } ?>
                            <li class="hidden-xs"><a href="javascript:void(0);" id="btnFullscreen" class="icon-menu"><i class="fa fa-arrows-alt"></i></a></li>
							<li><a href="settings.php" class="icon-menu"><i class="fa fa-gear"></i></a></li>
							<li><a href="../../" class="icon-menu" target="new"><i class="fa fa-globe"></i></a></li>
                            <li><a href="logout.php" class="icon-menu"><i class="fa fa-power-off"></i></a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </nav>