<?php 
$session = $this->session->userdata();
$nome = $session['nome'];
$foto = $session['foto'];
?>
<!-- top navigation -->
<div class="top_nav">
  <div class="nav_menu">
    <nav>
      <div class="nav toggle">
        <a id="menu_toggle"><i class="fa fa-bars"></i></a>
      </div>

      <ul class="nav navbar-nav navbar-right">
        <li class="">
          <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
            <img src="<?php echo site_url().'assets/foto/'.$foto;?>" alt="foto"><?php echo $nome; ?>
            <span class=" fa fa-angle-down"></span>
          </a>
          <ul class="dropdown-menu dropdown-usermenu pull-right">
            <li><a href="<?php echo base_url("perfil"); ?>"> Perfil</a></li>
            <li><a href="<?php echo base_url("help"); ?>"> Ajuda</a></li>
            <!--<li>
              <a href="javascript:;">
                <span class="badge bg-red pull-right">50%</span>
                <span>Settings</span>
              </a>
            </li>
            <li><a href="javascript:;">Help</a></li>-->
            <li><a href="<?php echo base_url("home/sair"); ?>"><i class="fa fa-sign-out pull-right"></i> Sair</a></li>
          </ul>
        </li>


      </ul>
    </nav>
  </div>
</div>
<!-- /top navigation -->
<div class="right_col" role="main">
