  <?php $u_info = get_user_info_by_slug($slug); ?>
  <div class="topMenu_bar">
  	<a href="javascript:;" title="Menu"><i class="fa fa-list"></i></a>
  </div>
  <div class="leftMenu_bar">
  	<a href="javascript:;" class="hideNav"><i class="fa fa-close"></i></a>
  	<?php $about_me = single_select_by_user_slug($slug,'about'); ?>
  	<?php if(!empty($about_me['full_name'])): ?>
	  	<div class="leftMenu_name mt-50">
	  		<h4><?= $about_me['full_name']; ?></h4>
	  	</div>
	  <?php endif ?>
  	<div class="menu_area">
  		<div class="mainMenu">
  			<ul class="navbar-nav layout_5_menu" id="nav">
  				<?php if(get_user_pricing_by_id($id,'home')==1 && is_active($id,'home') ==1): ?>
                  <a href="#home" class="scrollto nav-link"><?= get_features_name('home');?></a>
              <?php endif ?>

                <?php if(get_user_pricing_by_id($id,'about')==1 || get_user_pricing_by_id($id,'services')==1 || get_user_pricing_by_id($id,'review')==1): ?>

                  <?php if(is_active($id,'about')==1 || is_active($id,'services')==1 || is_active($id,'review')==1): ?>
                    <a href="#about" class="scrollto nav-link"><?= get_features_name('about');?></a>
                <?php endif ?>

              <?php endif ?>

                <?php if(get_user_pricing_by_id($id,'resume')==1||get_user_pricing_by_id($id,'skills')==1): ?>

                <?php if(is_active($id,'resume')==1||is_active($id,'skills')==1): ?>
                  <a href="#resume"  class="scrollto nav-link"><?= get_features_name('resume');?></a>
              <?php endif ?>

              <?php endif ?>

               <?php if(get_user_pricing_by_id($id,'portfolio')==1 && is_active($id,'portfolio') ==1): ?>
                  <a href="#portfolio"  class="scrollto nav-link"><?= get_features_name('portfolio');?></a>
              <?php endif ?>
                <?php if(get_user_pricing_by_id($id,'blog')==1 && is_active($id,'blog') ==1): ?>
                  <a href="#blog" class="scrollto nav-link"><?= get_features_name('blog');?></a> 
              <?php endif ?>

                <?php if(get_user_pricing_by_id($id,'appointment')==1 && is_active($id,'appointment') ==1): ?>
                  <a href="#appointment"  class="scrollto nav-link"><?= get_features_name('appointment');?></a>
              <?php endif ?>
              
                <?php if(get_user_pricing_by_id($id,'contacts')==1 && is_active($id,'contacts') ==1): ?>
                  <a href="#contact" class="scrollto nav-link"><?= get_features_name('contacts');?></a>
            <?php endif ?>
            <?php if(auth('user_login')==TRUE): ?>
              <a class="nav-link" href="<?= base_url('dashboard');?>" title="log out"><i class="fa fa-sign-out"></i></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 class="btn_list_area">
  		<div class="top_btn">
        <?php $about = single_select_by_user_slug($slug,'home'); ?>
			<a href="javascript:;" class="" title="facebook share" onclick="window.open('http://www.facebook.com/sharer.php?u=<?= base_url(get_user_info_by_slug($slug)['username']);?>', 'sharer', 'toolbar=0,status=0,width=620,height=280');"><i class="fa fa-facebook "></i> <span class="hidden_text"><?= !empty(lang('share_on_facebook'))?lang('share_on_facebook'):"Share on facebook"?></span></a>

			<a href="<?= base_url(html_escape($about['document'])); ?>" download class=""><i class="fa fa-download"></i> <span class="hidden_text"> <?= !empty(lang('download_resume'))?lang('download_resume'):"Download my resume"?> </span></a>

			<a href="#contact" class="scrollto"><i class="fa fa-envelope-o"></i> <span class="hidden_text"><?= !empty(lang('send_me_message'))?lang('send_me_message'):"Send me a messege"?></span></a>

		</div>
  	</div>
  </div>
  