<section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1><?php echo $title?></h1>
          </div>
          <div class="col-sm-6 text-right">
          <a class="btn btn-outline-primary btn-sm <?php if($this->router->method == 'index') echo 'active';?>" href="<?=base_url('conge/Demande_Conge/')?>">Nouveau</a>
          <a class="btn btn-outline-primary btn-sm <?php if($this->router->method == 'listing') echo 'active';?>" href="<?=base_url('conge/Demande_Conge/listing')?>">Liste</a>
          <?php
          if (in_array('29',$this->session->userdata('SOCAR_DROIT'))){
          ?>
          <a class="btn btn-outline-primary btn-sm <?php if($this->router->method == 'listingall') echo 'active';?>" href="<?=base_url('conge/Demande_Conge/listingall')?>">Toutes les demandes</a>
          <input type="submit" onclick="excels(this)" class="btn btn-outline-primary btn-sm" value="Export sous format excel" /> 
          <?php
        }
          ?>
          </div>
        </div>
      </div><!-- /.container-fluid -->
    </section>