  <?php $u_info = get_user_info_by_slug($slug); ?>
  <div class="userMenu menu_style_<?= $u_info['layouts'];?> <?=  isset($u_info['layouts']) && $u_info['layouts']==2?"fixed":"";?> <?=  isset($u_info['layouts']) && $u_info['layouts']==3?"stickyMenu":"";?>">
	  <nav class="navbar navbar-expand-lg <?= isset($u_info['themes']) && $u_info['themes']==1 || $u_info['themes']==2 || $u_info['themes']==4 || $u_info['themes']==7 || $u_info['themes']==8?"navbar-dark bg-dark":"navbar-light bg-light";?>" id="nav-bar">
	    <div class="container">
	        <a class="navbar-brand" href="<?php echo base_url($slug); ?>"> <img src="<?php echo base_url($u_info['thumb']); ?>" alt="" class="userProfile"> <?= !empty($u_info['name'])?$u_info['name']:$u_info['username']; ?></a>
	        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
	          <span class="navbar-toggler-icon"></span>
	        </button>
	      <div class="collapse navbar-collapse" id="navbarText">
	          <div class="userMenuNav">
	            <ul class="navbar-nav topNav" id="nav">


	            	<?php foreach (my_menu_features() as $key => $features_slug): ?>
						<?php if(check_active_features($id,$features_slug)==1): ?>
							<?php if($features_slug == 'home'): ?>
								<a href="#<?= $features_slug ;?>"  class="scrollto nav-link"><?= get_features_name($features_slug);?></a>
							<?php else: ?>
								<a href="#<?= $features_slug ;?>"  class="scrollto nav-link"><?= get_features_name($features_slug);?> </a>
							<?php endif; ?>
						<?php endif; ?>
					<?php endforeach ?>
	           </ul>
	           <ul class="navbar-nav ml-auto">
	           	<?php if(auth('user_login')==TRUE): ?>
	           		 <a class="nav-link dashbaord_btn" href="<?= base_url('dashboard');?>" title="<?= lang('dashboard'); ?>"><?= lang('dashboard'); ?></a>
	           		<?php else: ?>
	           			<a class="nav-link" href="<?= base_url('login');?>" title="login"><i class="fa fa-sign-in"></i></a>
	           		<?php endif; ?>
			        
			    </ul>
	          </div>
	      </div>
	    </div>
	  </nav>
</div>	       
