|
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 (0705) : /home/logmcpe/www/mcg/pages/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
// echo "yassin <br/>" ;
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
// echo "<pre>" ;
// print_r($_POST);
// echo "</pre>" ;
$salarie_id =$_POST['rowid_sal_id'] ;
// echo "<pre>" ;
// print_r($_POST);
// echo "</pre>" ;
// exit() ;
// $phone = "00".$_POST['rowid'] ;
?>
<div class="modal-header task-single-header" data-task-single-id="5" data-status="4">
<h4 class="modal-title"> SMS <?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 method="post" action="/pages/sms/send_message_sal.php">
<div class="card-body">
<!-- ///////Ligne société & Catégorie -->
<!-- ///////Ligne -->
<?php
// list($phone) = dbi_fetch_row(dbi_query("SELECT salarie_tele1 FROM salarie WHERE salarie_id = ".$_POST['rowid_sal_id'])) ;
// echo "===========> $phone" ;
// exit() ;
// "0033607599151" ;
$type_sms = 3;
$presta_id = $_POST['rowid'] ;
$qm = dbi_query(" SELECT * FROM `salarie` WHERE `salarie_statut` = '1' ORDER BY `salarie`.`salarie_nom` ASC ") ;
list($num_phone) = dbi_fetch_row(dbi_query("SELECT salarie_tele1 FROM `salarie` WHERE `salarie_id` = ".$salarie_id)) ;
$num_phone = substr($num_phone, -9);
$num_phone= "0033".$num_phone ;
// echo "==>$num_phone <br/>" ;
// exit() ;
?>
<input type="hidden" name="presta_id" value="<?=$presta_id?>">
<input type="hidden" name="phone" value="<?=$num_phone?>">
<div class="form-group col-md-12">
<select name="salarie_id" class="form-control select2" required="required">
<option selected="selected" value="" disabled >Choisir salarié</option>
<?php while($sal=dbi_fetch_row($qm)) { ?>
<option value="<?php echo $sal['salarie_id'] ; ?>" <?php if($sal['salarie_id']==$_POST['rowid_sal_id']){echo "selected='selected'" ; }?>><?php echo $sal['salarie_nom']." ".$sal['salarie_prenom'] ; ?> </option>
<?php }?>
</select>
</div>
<div class="form-group col-md-4">
<textarea name="txtMessage" class="form-control" placeholder="votre message *"
style="width: 320%; height: 150px;">
MC PRO - IMPORTANT : Bonjour, vous ne saisissez pas votre matricule correctement lors de vos pointages, votre matricule est le .... Pour vos prochains pointages merci de saisir les bons chiffres afin que nous puissions vous identifier. MESSAGE AUTOMATIQUE - NE PAS REPONDRE
</textarea>
</div>
<input type="hidden" name="modifier" value="modifier">
</div>
<div class="modal-footer justify-content-between">
<button type="submit" name="submitbtn" class="btn btn-primary">Envoyer</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 type="text/javascript">
$(document).ready(function () {
bsCustomFileInput.init();
});
</script>
<!-- Select2 -->
<script src="../../plugins/select2/js/select2.full.min.js"></script>
<!-- InputMask -->
<!-- Page script -->
<script>
$(function () {
//Initialize Select2 Elements
$('.select2').select2()
//Initialize Select2 Elements
$('.select2bs4').select2({
theme: 'bootstrap4'
})
})
</script>
