<script>
function navbar_control(){
	$('#sidebar').animate({width:'toggle'},100);
	//$('#sidebar').toggle('slow');
}

</script>

<nav class="navbar navbar-expand-lg navbar-light bg-light  pb-0 pt-1 mb-4">
	<div class="container-fluid">
    <!--
		<button type="button" id="sidebarCollapse" class="btn navbar-button">
			<i class="navbar-toggler-icon"></i>
		</button>
        -->
        		<button type="button" class="btn" onclick="navbar_control()">
			<i class="navbar-toggler-icon"></i>
		</button>
        
	

		<span><b>KELAPAK - CENTRAL</b></span>
        <li class="nav-item dropdown tc" style="width:150px">
		  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" 
			 role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo $userid?></a>
				  <div class="dropdown-menu" aria-labelledby="navbarDropdown">
					   <a class="dropdown-item" href="#">Change Password</a>
						   <div class="dropdown-divider"></div>
								<a class="dropdown-item" href="../../processlogout">Logout</a>
						   </div>
		</li>
	</div>
</nav>