<aside class="main-sidebar">
    <!-- sidebar-->
    <section class="sidebar">
      
      <!-- sidebar menu-->
      <ul class="sidebar-menu" data-widget="tree">
        <li class="header nav-small-cap">Panel de Escritorio</li>
        
          
        <li <?php if ($currentPage == 'index.php') { echo 'class="active"';}?> >
          <a href="index.php">
            <i class="fa fa-home"></i> <span>Inicio</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-right pull-right"></i>
            </span>
          </a>
        </li>
          
        <li class="treeview <?php if ($currentPage == 'rrhh.php' || $currentPage == 'personas.php' || $currentPage == 'alumnos.php' || $currentPage == 'funcionarios.php') { echo 'active menu-open';}?>">
          <a href="javascript:">
            <i class="fa fa-users"></i> <span>RRHH</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-right pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li <?php if ($currentPage == 'personas.php') { echo 'class="active"';}?>><a href="personas.php"><i class="fa fa-circle-thin"></i>Personas</a></li>
            <li <?php if ($currentPage == 'clientes.php') { echo 'class="active"';}?>><a href="clientes.php"><i class="fa fa-circle-thin"></i>Clientes</a></li>
            <li <?php if ($currentPage == 'funcionarios.php') { echo 'class="active"';}?>><a href="funcionarios.php"><i class="fa fa-circle-thin"></i>Funcionarios</a></li>
            <li <?php if ($currentPage == 'alumnos.php') { echo 'class="active"';}?>><a href="alumnos.php"><i class="fa fa-circle-thin"></i>Alumnos</a></li>
            <li <?php if ($currentPage == 'profesores.php') { echo 'class="active"';}?>><a href="profesores.php"><i class="fa fa-circle-thin"></i>Profesores</a></li>
          </ul>
        </li>
          
          <li <?php if ($currentPage == 'estado_pagos.php') { echo 'class="active"';}?> >
            <a href="estado_pagos.php">
              <i class="fa fa-money"></i> <span>Lista de moras</span>
              <span class="pull-right-container">
                <i class="fa fa-angle-right pull-right"></i>
              </span>
            </a>
          </li>
          
      </ul>
    </section>
  </aside>