shell bypass 403
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Editer autorisation</h3>
</div>
<?php echo form_open('autorisation/edit/'.$autorisation['id']); ?>
<div class="box-body">
<div class="row clearfix">
<div class="col-md-6">
<label for="datedemande" class="control-label"><span class="text-danger">*</span>Date de demande</label>
<div class="form-group">
<input type="text" name="datedemande" value="<?php echo ($this->input->post('datedemande') ? $this->input->post('datedemande') : date("Y-m-d",strtotime($autorisation['datedemande']))); ?>" class="has-datepicker form-control" id="datedemande" />
<span class="text-danger"><?php echo form_error('datedemande');?></span>
</div>
</div>
<div class="col-md-6">
<label for="heursdebut" class="control-label"><span class="text-danger">*</span>Heure de sortie</label>
<div class="form-group">
<input type="text" name="heursdebut" value="<?php echo ($this->input->post('heursdebut') ? $this->input->post('heursdebut') :date("H:i",strtotime($autorisation['heursdebut']))); ?>" class="has-timepicker form-control" id="heursdebut" />
<span class="text-danger"><?php echo form_error('heursdebut');?></span>
</div>
</div>
<div class="col-md-6">
<label for="heursfin" class="control-label"><span class="text-danger">*</span>Heure de retour</label>
<div class="form-group">
<input type="text" name="heursfin" value="<?php echo ($this->input->post('heursfin') ? $this->input->post('heursfin') : date("H:i",strtotime($autorisation['heursfin']))); ?>" class="has-timepicker form-control" id="heursfin" />
<span class="text-danger"><?php echo form_error('heursfin');?></span>
</div>
</div>
<div class="col-md-6">
<label for="objetautorisation_id" class="control-label">Objet d'autorisation</label>
<div class="form-group">
<select name="objetautorisation_id" class="form-control">
<option value="">select objetautorisation</option>
<?php
foreach($all_objetautorisation as $objetautorisation)
{
$selected = ($objetautorisation['id'] == $autorisation['objetautorisation_id']) ? ' selected="selected"' : "";
echo '<option value="'.$objetautorisation['id'].'" '.$selected.'>'.$objetautorisation['libelle'].'</option>';
}
?>
</select>
</div>
</div>
<div class="col-md-6">
<label for="transport_id" class="control-label">Moyen de transport</label>
<div class="form-group">
<select name="transport_id" class="form-control">
<option value="">select transport</option>
<?php
foreach($all_transport as $transport)
{
$selected = ($transport['id'] == $autorisation['transport_id']) ? ' selected="selected"' : "";
echo '<option value="'.$transport['id'].'" '.$selected.'>'.$transport['libelle'].'</option>';
}
?>
</select>
</div>
</div>
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-success">
<i class="fa fa-check"></i> Enregistrer
</button>
</div>
<?php echo form_close(); ?>
</div>
</div>
</div>