AnonSec Team
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/feuillesroute/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/mcg/pages/feuillesroute/../migration_chantier.php
<?php
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;





$qu =dbi_query(" SELECT * FROM `client` cl  , chantierr ch , fact_chantier f  where  f.Chantier_ID=ch.Chantier_ID   and  cl.client_id_ancien= ch.Client_ID  ") ; 



while( $clinet = dbi_fetch_row($qu))
{
	



	
	$chantier_designation = addslashes($clinet['Chantier_designation'])  ;
	$chantier_forfaitmensuel = $clinet['Chantier_forfaitmensuel']  ;
	$chantier_tauxhoraire = $clinet['Chantier_tauxhoraire'] ;
	// $client_adr3 = addslashes($clinet['client_adr3'] ) ;
	 $chantier_TVA= $clinet['Chantier_TVA']  ; 

	  $chantier_debut= $clinet['Chantier_debut']  ; 
	   $chantier_fin= $clinet['Chantier_fin']  ; 
	    $chantier_recur= $clinet['Chantier_recur']  ; 
		 $chantier_fact= $clinet['Chantier_fact']  ; 
		  $date_modif_forfait= $clinet['date_modif_forfait']  ; 
	 
	  $chantier_types= 1 ; 
	 $client_id= $clinet['client_id']  ; 
	  $chantier_type_id= 1  ; 
	  $chantier_ID_ancien =  $clinet['ID']  ; 
	 

	
							dbi_query(" INSERT INTO chantier (
						chantier_ID,
						chantier_designation,
						chantier_forfaitmensuel,
						chantier_tauxhoraire,
						chantier_TVA,
						chantier_debut,
						chantier_fin,
						chantier_recur,
						chantier_fact,
						date_modif_forfait,
						chantier_types, 
						client_id,
						chantier_type_id,
						chantier_ID_ancien
						
 						
						 )
						
						VALUES (
						'$chantier_ID_ancien',
						'$chantier_designation',
						'$chantier_forfaitmensuel',
						'$chantier_tauxhoraire', 
						'$chantier_TVA',
						'$chantier_debut',
						'$chantier_fin',
						'$chantier_recur',
						'$chantier_fact',
						'$date_modif_forfait',
						'$chantier_types',
						'$client_id',
						'$chantier_type_id',
						'$chantier_ID_ancien'



 )") ; 

 
 // 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
	
}



?>

AnonSec - 2021