  <li class="nav-item menu-open">
    <a href="<?php echo url('/home/analyses'); ?>" class="nav-link active">
      <i class="nav-icon fas fa-chart-line"></i>
      <p>ANALYSES</p>
    </a>
  </li>

  <li class="nav-item <?php echo ($menu=='analyses_s')?'menu-is-opening menu-open':''; ?>">
    <a href="#" class="nav-link  <?php echo ($menu=='analyses_s')?'active':''; ?>">
      <p>Aides Sociales<i class="fas fa-angle-left right"></i></p>
    </a>

    <ul class="nav nav-treeview">
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can("ANA_ASOC")): ?> 
        <li class="nav-item">
          <a href="<?php echo url('/stats/tdb/S'); ?>" class="nav-link  <?php echo ($submenu=='tdb_s')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-pie"></i>
            <p>Tableau de bord</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="<?php echo url('/stats/graph/S'); ?>" class="nav-link  <?php echo ($submenu=='graph_s')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-line"></i>
            <p>Graphiques</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="<?php echo url('/stats/tdb_nbenfant/S'); ?>" class="nav-link  <?php echo ($submenu=='tdb_nbenfant_s')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-line"></i>
            <p>Tableau de bord/Période</p>
          </a>
        </li>
      <?php endif; ?>
    </ul>
  </li>

  <li class="nav-item <?php echo ($menu=='analyses_a')?'menu-is-opening menu-open':''; ?>">
    <a href="#" class="nav-link  <?php echo ($menu=='analyses_a')?'active':''; ?>">
      <p>Allocations<i class="fas fa-angle-left right"></i></p>
    </a>

    <ul class="nav nav-treeview">
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can("ANA_ALL")): ?> 
        <li class="nav-item">
          <a href="<?php echo url('/stats/tdb/A'); ?>" class="nav-link  <?php echo ($submenu=='tdb_a')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-pie"></i>
            <p>Tableau de bord</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="<?php echo url('/stats/graph/A'); ?>" class="nav-link  <?php echo ($submenu=='graph_a')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-line"></i>
            <p>Graphiques</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="<?php echo url('/stats/tdb_nbenfant/A'); ?>" class="nav-link  <?php echo ($submenu=='tdb_nbenfant_a')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-line"></i>
            <p>Tableau de bord/Période</p>
          </a>
        </li>
      <?php endif; ?>
    </ul>
  </li>

  <li class="nav-item <?php echo ($menu=='analyses_r')?'menu-is-opening menu-open':''; ?>">
    <a href="#" class="nav-link  <?php echo ($menu=='analyses_r')?'active':''; ?>">
      <p>Retraites<i class="fas fa-angle-left right"></i></p>
    </a>

    <ul class="nav nav-treeview">
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can("ANA_RET")): ?> 
        <li class="nav-item">
          <a href="<?php echo url('/stats/tdb/R'); ?>" class="nav-link  <?php echo ($submenu=='tdb_r')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-pie"></i>
            <p>Tableau de bord</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="<?php echo url('/stats/graph/R'); ?>" class="nav-link  <?php echo ($submenu=='graph_r')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-line"></i>
            <p>Graphiques</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="<?php echo url('/stats/optimind'); ?>" class="nav-link  <?php echo ($submenu=='optimind')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-line"></i>
            <p>Extraction OPTIMIND</p>
          </a>
        </li>
      <?php endif; ?>
    </ul>
  </li>

    <li class="nav-item <?php echo ($menu=='analyses_c')?'menu-is-opening menu-open':''; ?>">
    <a href="#" class="nav-link  <?php echo ($menu=='analyses_c')?'active':''; ?>">
      <p>Recouvrement<i class="fas fa-angle-left right"></i></p>
    </a>

    <ul class="nav nav-treeview">
      <?php if($user->HasRole("ADMINISTRATEUR") || $user->can("ANA_REC")): ?> 
        <li class="nav-item">
          <a href="<?php echo url('/stats/secteur'); ?>" class="nav-link  <?php echo ($submenu=='secteur')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-pie"></i>
            <p>Secteurs</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="<?php echo url('/stats/secteur_general'); ?>" class="nav-link  <?php echo ($submenu=='secteur_general')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-line"></i>
            <p>Secteurs/Date</p>
          </a>
        </li>
        <li class="nav-item">
          <a href="<?php echo url('/stats/salaires'); ?>" class="nav-link  <?php echo ($submenu=='salaires')?'active':''; ?>">
            <i class="nav-icon fa fa-chart-line"></i>
            <p>Nb Salariés/Date</p>
          </a>
        </li>
      <?php endif; ?>
    </ul>
  </li><?php /**PATH C:\xampp\htdocs\SYSINFO\cpswf\sipre2\resources\views/forms/menu_analyses.blade.php ENDPATH**/ ?>