<aside class="left-sidebar">
    <div class="scroll-sidebar">
        <div class="user-profile">
            <div class="profile-img"> <img src="<?php echo base_url(); ?>assets/sistema/imagens/1.jpg" alt="user" /> </div>
            <div class="profile-text"> <a href="#" class="dropdown-toggle link u-dropdown" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="true"><?php echo $this->session->userdata('nome'); ?> <span class="caret"></span></a>
                <div class="dropdown-menu animated flipInY">
                    <a href="<?php echo base_url()?>usuarios/editar/<?php echo $this->session->userdata('id'); ?>" class="dropdown-item"><i class="ti-user"></i> Meu Perfil</a>
                    <div class="dropdown-divider"></div> <a href="<?php echo base_url()?>/principal/sairSistema" class="dropdown-item"><i class="fa fa-power-off"></i> Sair</a>
                </div>
            </div>
        </div>
        <nav class="sidebar-nav">
            <ul id="sidebarnav">
                <?php
                $nivel = $this->session->userdata('nivel');
                $this->load->helper('paginashtml/gerenciartoposistema_helper');
                GerenciarTopoSistema::mostrarMenu($nivel);
                ?>

            </ul>
        </nav>
        <!-- End Sidebar navigation -->
    </div>
    <!-- End Sidebar scroll-->
    <!-- Bottom points-->
    <div class="sidebar-footer">
        <!-- item-->
        <a href="" class="link" data-toggle="tooltip" title="Settings"><i class="ti-settings"></i></a>
        <!-- item-->
        <a href="" class="link" data-toggle="tooltip" title="Email"><i class="mdi mdi-gmail"></i></a>
        <!-- item-->
        <a href="<?php echo base_url()?>/principal/sairSistema" class="link" data-toggle="tooltip" title="Logout"><i class="mdi mdi-power"></i></a>
    </div>
    <!-- End Bottom points-->
</aside>

