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/MCPRO/datatables/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/MCPRO/datatables/../Recouvrement_test.php
<html>
<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>AdminLTE 2 | Data Tables</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.7 -->
  <link rel="stylesheet" href="../../bower_components/bootstrap/dist/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="../../bower_components/font-awesome/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="../../bower_components/Ionicons/css/ionicons.min.css">
  <!-- DataTables -->
  <link rel="stylesheet" href="../../bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="../../dist/css/AdminLTE.min.css">
  <!-- AdminLTE Skins. Choose a skin from the css/skins
       folder instead of downloading all of them to reduce the load. -->
  <link rel="stylesheet" href="../../dist/css/skins/_all-skins.min.css">

  

  <link rel="stylesheet"
        href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
		
		<style>
body {
  background-color: rgb(236,240,245);
}
.box-body {
  background-color: rgb(255,255,255);
}


</style>
</head>
<body class="hold-transition skin-blue sidebar-mini">



<?php
include_once 'code/init.php';
		 
		
	
if(!empty($_POST))
{
// echo"<pre>"	 ; 
// print_r($_POST) ;
// echo"</pre>"	 ; 

$bb = 0 ; 

foreach ($_POST as $key => $value) {
	
	$bb = $bb + 1 ;
    // $arr[3] sera mis à jour avec chaque valeur de $arr...
	
	// $idpresta = $key  ;  
	// $tauxpresta  = $value  ; 
	
	// echo "  $key  ========> $value <br/> " ; 
    // echo "{$key} => {$value} ";
    // print_r($_POST);
	// if($bb<20)
	// {
	dbi_query("UPDATE client_suivi SET suivi_parent_id = '$value' WHERE client_suivi_id = $key") ; 
	// }
	// dbi_query("DELETE FROM client_suivi  WHERE client_suivi_id = ".$_POST['client_suivi_id']) ; 
}



 
}

 
    
	
?>

<div class="onglet_dotted">

 
  <div class="box">
<div class="box-body">
<table id="example1_1111" class="table table-bordered table-striped">
 
 <form action="" method="POST">
 
  <thead>
    <tr>
      <th width="30%" >Nom</th>
	   <th  >Suivi Ouvert</th>
	    <th  >ID-suivi</th>
		<th  >Parent_ID</th>
		<th  >ID client</th>
		
	  <th  >Bureau</th>
	  <th  >Parent ID modif</th>
	   
	  
	  
	  
    
    </tr>
 </thead>
 <tbody>
  
  
  

  <?
  $rq =dbi_query("SELECT * FROM  `client_suivi` cs  , client c   WHERE  cs.client_id = c.client_id   AND  `suivi_id` = 10 AND `suivi_parent_id` = 0   AND cs.agence_id = $agence AND client_actif='0' and cs.client_id in (SELECT `client_id` FROM `client_suivi` bb  where bb.suivi_id = 10 and bb.suivi_parent_id= 0 and  bb.agence_id = $agence group by `client_id` having count(`client_suivi_id`) > 1 ) ORDER BY client_nom  " ) ;
	
	
while($ab=dbi_fetch_row($rq))
		{
			
			 $cc = dbi_fetch_row(dbi_query("SELECT * FROM client c  , bureau b where  c.client_bureau = b.id_bureau and   client_id = ".$ab['client_id'])) ; 
	  				  

			
				 
				   ?>
	    <tr>
 
   <TD  ><font color="red"> <?=strtoupper($cc['client_nom']).' '.ucwords(strtolower($cc['client_pnom'].""))?></font></TD>
  <td><?=$ab['client_suivi_clos']?> </td>
  <td><?=$ab['client_suivi_id']?> </td>
  <td><?=$ab['suivi_parent_id']?> </td>
  <td><?=$ab['client_id']?> </td>
  <td><?=$cc['nom_agence']?> </td>
  <td> </td>
  </tr>
  <?
			
			
	  
	  $rqo =dbi_query("SELECT * FROM `client_suivi` WHERE `suivi_parent_id` = ".$ab['client_suivi_id']) ;
	       while($abc=dbi_fetch_row($rqo))
		   {
			   // echo "testt <br/>" ; 
			   
			   
 $c = dbi_fetch_row(dbi_query("SELECT * FROM client c  , bureau b where  c.client_bureau = b.id_bureau and   client_id = ".$abc['client_id'])) ; 
	  				  
				 

				 
				   ?>
	    <tr>
 
   <TD><A href="top.php?link=client&amp;page=suivi_gestion&suivi=historique&amp;id=<?=$c['client_id']?>" target="ident"><?=strtoupper($c['client_nom']).' '.ucwords(strtolower($c['client_pnom']))?></A></TD>
  <td><?=$abc['client_suivi_clos']?> </td>
  <td><?=$abc['client_suivi_id']?> </td>
  <td><?=$abc['suivi_parent_id']?> </td>
  <td><?=$c['client_id']?> </td>
  <td><?=$c['nom_agence']?> </td>
  <td> <input type="text"  name="<?=$abc['client_suivi_id']?>" value="<?=$abc['suivi_parent_id']?>" > <?=$abc['client_suivi_id']?>  </td>
  </tr>
  <?
  
  
    }
		   
		   }
	  
  ?>

				 
				   
		     
	   
	  
	  <tr> <td><input type="submit" value="Enregistrer"> </td></tr>
	
</tbody>

</form>
  </table>
  </div></div>
  
  
  
 
</div>
	<script src="bower_components/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap 3.3.7 -->
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- DataTables -->
<script src="bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
<!-- SlimScroll -->
<script src="bower_components/jquery-slimscroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="bower_components/fastclick/lib/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="dist/js/adminlte.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="dist/js/demo.js"></script>
<!-- page script -->
<script>
  $(function () {
    $('#example1').DataTable()
    $('#example2').DataTable({
      'paging'      : true,
      'lengthChange': false,
      'searching'   : false,
      'ordering'    : true,
      'info'        : true,
      'autoWidth'   : false
    })
  })
</script>
</body>
</html>


AnonSec - 2021