Uname:
Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software:
Apache
PHP version:
7.4.33 [ PHP INFO ] PHP os:
Linux
Server Ip:
54.36.31.145
Your Ip:
216.73.216.182
User:
homesquasz (91404) | Group:
users (100)
Safe Mode:
OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl
<div class="row">
<div class="col-md-12">
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Editer planning</h3>
</div>
<?php echo form_open('planning/edit/'.$planning['id']); ?>
<div class="box-body">
<div class="row clearfix">
<div class="col-md-6">
<label for="libelle" class="control-label"><span class="text-danger">*</span>Libelle</label>
<div class="form-group">
<input type="text" name="libelle" value="<?php echo ($this->input->post('libelle') ? $this->input->post('libelle') : $planning['libelle']); ?>" class="form-control" id="libelle" />
<span class="text-danger"><?php echo form_error('libelle');?></span>
</div>
</div>
<div class="col-md-6">
<label for="actif" class="control-label"><span class="text-danger">*</span>Etat</label>
<div class="form-group">
<select name="actif" class="form-control">
<option value="">select</option>
<?php
$actif_values = array(
'1'=>'Actif',
'0'=>'Inactif',
);
foreach($actif_values as $value => $display_text)
{
$selected = ($value == $editedplanning['actif']) ? ' selected="selected"' : "";
echo '<option value="'.$value.'" '.$selected.'>'.$display_text.'</option>';
}
?>
</select>
<span class="text-danger"><?php echo form_error('actif');?></span>
</div>
</div>
<div class="col-md-6">
<label for="typeplanning" class="control-label">Type planning</label>
<div class="form-group">
<select name="typeplanning" class="form-control">
<option value="">select</option>
<?php
$typeplanning_values = array(
'0'=>'Administratif',
'1'=>'Plan poste1',
'2'=>'Plan poste2',
'3'=>'Plan poste3',
'4'=>'logistique',
);
foreach($typeplanning_values as $value => $display_text)
{
$selected = ($value == $editedplanning['typeplanning']) ? ' selected="selected"' : "";
echo '<option value="'.$value.'" '.$selected.'>'.$display_text.'</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>