|
Server IP : 10.128.40.6 / Your IP : 216.73.217.20 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/python/../ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;
$q =dbi_query("SELECT * FROM `client` WHERE `client_statut` = '1' ");
// echo "<pre>" ;
// print_r($_POST) ;
// echo "</pre>" ;
if($_POST['modifier']== "modifier"){
$tele1=$_POST['tele1'] ;
$tele2=$_POST['tele2'] ;
$tele3=$_POST['tele3'] ;
$tele4=$_POST['tele4'] ;
$tele5=$_POST['tele5'] ;
$client_NFC = $_POST['client_NFC'] ;
$client_NFC_2 = $_POST['client_NFC_2'] ;
$idprodm=$_POST['idprodm'] ;
$client_acces_pointage= $_POST['client_acces_pointage'];
// dbi_query(" UPDATE `client` SET WHERE client_id = $client_id; ");
dbi_query("UPDATE client SET `tele1` = '$tele1', `tele2` = '$tele2' , `tele3` = '$tele3', `tele4` = '$tele4', `tele5` = '$tele5', client_acces_pointage = '$client_acces_pointage' , client_NFC = '$client_NFC',client_NFC_2 = '$client_NFC_2' WHERE `client`.`client_id` = $idprodm ") ;
// echo "test <br/>" ;
// exit() ;
$ay = 1233 ;
// $fichier_csv = fopen("sortie/AIDE_$idprodm.csv", "w+");
// ----------------fputs($fichier_csv, "0;$idprodm;$tele1;$tele2;$tele3;$tele4");
// $info = '0;'.$idprodm.';'.$client_NFC.';'.$client_NFC_2.';;' ;
// fputs($fichier_csv, $info);
// --------------------------- foreach($tabeleves as $ligne){
// ------------------------ fputcsv($fichier_csv, $ligne, ";");
// ------------------------------ }
// fclose($fichier_csv);
// $my_connection = ftp_connect("telegestion.appius.fr", 21) or exit('Erreur : connexion au serveur FTP impossible.');
// ftp_login($my_connection, "AD_636", "AC4BRT9F");
// ftp_pasv($my_connection, true);
// if(ftp_put($my_connection, "/entree/AIDE_$idprodm.csv", "sortie/AIDE_$idprodm.csv" , FTP_ASCII))
// {
// header('Location:Parametrage.php');
// --------------- echo "bravooOOOoo" ;
// }else{
// echo "Probléme de transfert sur le serveur" ;
// }
}
?>
<!DOCTYPE html>
<html>
<head>
<?php include('header.php'); ?>
</head>
<body class="hold-transition sidebar-mini">
<!-- Site wrapper -->
<div class="wrapper">
<!-- TOP MENU -->
<nav class="main-header navbar navbar-expand navbar-white navbar-light">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a>
</li>
</ul>
</nav>
<!-- BARRE DE NAVIGATION -->
<?php include('menu.php'); ?>
<!-- DEMARRAGE DE LA PAGE PRINCIPALE -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="modal fade" id="myModal" role="dialog" class="modal fade task-modal-single in" tabindex="-1" aria-labelledby="myLargeModalLab