<!-- Left navbar-header -->
        <div class="navbar-default sidebar" role="navigation">
            <div class="sidebar-nav navbar-collapse slimscrollsidebar">
                <div class="user-profile">
                    <div class="dropdown user-pro-body">
                        <a href="#" class="dropdown-toggle u-dropdown" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><?= $_SESSION['info_unf']['login'];?><span class="caret"></span></a>
                        <ul class="dropdown-menu animated flipInY">
                            <li><a href="<?= SITE_PAINEL; ?>/beta/perfil/index.php"><i class="ti-user"></i> Meu Perfil</a></li>
                        
                            <li><a href="<?= SITE_PAINEL; ?>/beta/index.php?sair" ><i class="fa fa-power-off"></i> Logout</a></li>
                        </ul>
                    </div>
                </div>
                <ul class="nav" id="side-menu">
                    <li class="sidebar-search hidden-sm hidden-md hidden-lg">
                        <!-- input-group -->
                        <div class="input-group custom-search-form">
                            <input type="text" class="form-control" placeholder="Pesquisar..."> 
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="button"> <i class="fa fa-search"></i> </button>
                            </span> 
                        </div>
                        <!-- /input-group -->
                    </li>
                    <li class="nav-small-cap m-t-10 m-l-5">Painel do Gerenciador</li>
                    
                    <?php $url = explode('/', $_SERVER["REQUEST_URI"]); 
               
                    ?>
                      
                    
                    <li>
                        <a href="<?= SITE_PAINEL; ?>/beta/dashboard" class="waves-effect <?= (in_array('dashboard', $url)) ? 'active' : ''; ?>">
                            <i class="icon-chart fa-fw" data-icon="v"></i> 
                            <span class="hide-menu">Dashboard </span>
                        </a>                        
                    </li>
                    
                    <li> 
                        <a href="#" class="waves-effect <?= (in_array('usuario', $url)) ? 'active' : ''; ?>">
                            <i class="ti-user fa-fw" data-icon="v"></i> <span class="hide-menu">Usuario<span class="fa arrow"></span> </span>
                        </a>
                        <ul class="nav nav-second-level">
                            <li> <a href="<?= SITE_PAINEL; ?>/beta/usuario/cadastrar">Cadastrar</a> </li>
                            <li> <a href="<?= SITE_PAINEL; ?>/beta/usuario/buscar">Buscar</a> </li>
                            <?php if ($_SESSION['info_unf']['id'] == 1): ?>
                            <li> 
                                <a href="<?= SITE_PAINEL; ?>/beta/usuario/ativos" class="waves-effect <?= (in_array('ativos', $url)) ? 'active' : ''; ?>">
                                    <span class="hide-menu">Ativos</span>
                                </a>
                            </li>
                            <?php endif ?>
                            
                        </ul>
                    </li>
                    
                    <li> <a href="#" class="waves-effect <?= (in_array('gerenciador', $url)) ? 'active' : ''; ?>"><i data-icon="/" class="fa fa-sitemap fa-fw" ></i> <span class="hide-menu">Gerenciador<span class="fa arrow"></span> </span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="<?= SITE_PAINEL; ?>/beta/gerenciador/cadastrar">Cadastrar</a></li>
                            <li><a href="<?= SITE_PAINEL; ?>/beta/gerenciador/buscar">Buscar</a></li>
                            
                        </ul>
                    </li>
                    
                        
                    
                    <li><a href="<?= SITE_PAINEL; ?>/beta/index.php?sair" class="waves-effect"><i class="icon-logout fa-fw"></i> <span class="hide-menu">Sair</span></a></li>
                   
                </ul>
            </div>
        </div>
        <!-- Left navbar-header end -->