|
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
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
// exit() ;
$qu =dbi_query("SELECT * FROM `exception` WHERE `date` >= 20180728 ") ;
while( $pre = dbi_fetch_row($qu))
{
$excpt_id= $pre['excpt_id'] ;
$presta_id= $pre['presta_id'] ;
$new_presta_id= $pre['new_presta_id'] ;
if($new_presta_id==0){$new_presta_id="NULL" ; }
$facture= $pre['facture'] ;
if($facture==0){$facture="" ; }
$date_presta= $pre['date'] ;
$en_cours= $pre['en_cours'] ;
$inter_abs= $pre['inter_abs'] ;
$verif= $pre['verif'] ;
if($verif==0){$verif="NULL" ; }
$ad= $pre['ad'] ;
echo "$ad <br/>" ;
if($ad==0){$ad="NULL" ; }
$ded= $pre['ded'] ;
echo "$ded <br/>" ;
if($ded==0){$ded="NULL" ; }
$ad= $pre['ad'] ;
if($ad==0){$ad="NULL" ; }
$Hduree= $pre['Hduree'] ;
dbi_query(" INSERT INTO EXCEPTIONS (
excpt_id,
presta_id,
new_presta_id,
date_presta,
facture,
en_cours,
inter_abs,
verif,
ad,
ded,
Hduree
)
VALUES (
'$excpt_id',
'$presta_id',
$new_presta_id,
'$date_presta',
'$facture',
'$en_cours',
'$inter_abs',
$verif,
'$ad',
'$ded',
'$Hduree'
)") ;
// $presta_jour = "" ;
// echo " "
// est ce que inter_telport est salarie_tele1 et inter_teldomi est salarie_tele2
// j'ai pas trouvez ces champs salarie_ville_naissance salarie_pays_naissance salarie_date_naissance
// position_ID ??
// documents_fournis_id
// salarie_type
// salarie_categorie_id
// inter_identif
}
?>