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
<table class="table table-striped">
<thead>
<tr>
<th>Jour</th>
<th>Heure Debut</th>
<th>Heure Fin</th>
<th>Debut Pause</th>
<th>Fin Pause</th>
<th>Type</th>
</tr>
</thead>
</table>
<input type="hidden" id="rownumber" value="<?php echo count($jours); ?>">
<?php
//date_default_timezone_set('Europe/Paris');
//setlocale(LC_TIME, 'fr_FR','fra');// OK
$days = array("1"=>"Lundi","2"=>"Mardi","3"=>"Mercredi","4"=>"Jeudi","5"=>"Vendredi","6"=>"Samedi","7"=>"Dimanche");
for($i=1;$i<8;$i++){
?>
<table class="table table-striped">
<tbody>
<tr>
<td><strong><?php echo $days[$i]; //echo strftime("%A ", strtotime( $jour) ); echo "||".date("N", strtotime($jour)); ?></strong> </td>
<td><input required type="text" name="tempdebut<?php echo $i; ?>" value="<?php echo $this->input->post('tempdebut'); ?>" class="has-timepicker form-control" /></td>
<td><input required type="text" name="tempfin<?php echo $i; ?>" value="<?php echo $this->input->post('tempfin'); ?>" class="has-timepicker form-control" /></td>
<td><input required type="text" name="pausedebut<?php echo $i; ?>" value="<?php echo $this->input->post('pausedebut'); ?>" class="has-timepicker form-control" /></td>
<td><input required type="text" name="pausefin<?php echo $i; ?>" value="<?php echo $this->input->post('pausefin'); ?>" class="has-timepicker form-control" /></td>
<td>
<input checked="" type="radio" value="1" name="type<?php echo $i; ?>" class="custom-control-input" >
<label class="custom-control-label" for="demijourned">T</label>
<input type="radio" value="2" name="type<?php echo $i; ?>" class="custom-control-input" >
<label class="custom-control-label" for="demijourned">RH</label>
</td>
<td>
</td>
</tr>
</tbody>
</table>
<?php } ?>
<table class="table table-striped">
<tfoot>
<tr>
<td colspan="8" align="center">
<a class="btn btn-info" id="btnRepartition"><i class="fa fa-check" ></i> Générer</a>
</td>
</tr>
</tfoot>
</table>