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 (0755) :  /home/logmcpe/www/TMCPRO/pages/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/TMCPRO/pages/admin_listFactt.php
<?php
include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;

if(isset($_POST['modifcli']) )
{
	// si on modifie le code d'un client
	foreach( $_POST['client_num'] as $id => $cli_id)
		dbi_query("UPDATE ".TABLE_CLIENT." SET client_numexport='".($cli_id != '' ? $cli_id : '')."' WHERE client_id='".$_POST['client_id'][$id]."'");
}


?>


<!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>

															<li>
															
															</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="myLargeModalLabel" >
																			  <div class="modal-dialog modal-lg">
																				<div class="modal-content data">
																					<div id="fetch" >
																					</div>
																			   
																					</div>
																				</div>
																			</div>      
													</div><!-- /.row -->
												  </div>
												</div>
												<!-- /.content-header -->

    <!-- PAGE PRINCIPALE -->
   
   
   
   
   	
				<section class="content">
					<div class="row">
						<div class="col-12">
							<div class="card card-primary card-outline">
															<div class="card-header">
																<div class="row">
																	<div class="col-sm-11">
																		<h3 class="card-title"> <i class="nav-icon fas fa-id-card"></i> Comptes Clients  </h3>
																	</div>
																</div> 
															</div>
									<div class="card-body">
										<div class="onglet_dotted">
											<div style="width:100%; float:left; vertical-align:top" class="header_ray">
												<div id="tab">
													<div class="box-body">
													 <form action="admin_listFactt.php" name="Cmodif" method="post">
														<input type="hidden" name="modifcli" value="mod">
														<table id="example1" class="table table-bordered table-striped">
															<thead>
																<TR>
																  <th align="center">Client</th>	
																  <th align="center">Numero de compte</th>	
																</TR>
															</thead>
                                                            <tbody> 
															       
															<?php $clie=dbi_query("SELECT client_id, client_nom, client_numexport FROM ".TABLE_CLIENT." WHERE    client_statut='1' ORDER BY client_nom");
                                                                 $compteur=0;
																 while($c = dbi_fetch_row($clie)) { ?>
																    <TR>
																	  <TD class="<?=$style?>"><?=strtoupper($c['client_nom']).' '.ucwords(strtolower($c['client_pnom']))?></TD>
																	  <input type="hidden" name="client_id[]" value="<?=$c['client_id']?>">
																	  <TD class="<?=$style?>"><input id="cliM" name="client_num[]" value="<?=$c['client_numexport']?>"></TD>
																	</TR>
																	<?php $compteur++; } ?>
																
																	

																 

 
															</tbody>
														</table><!-- /.table -->
														<input type="submit" name="climodif" value="Enregistrer" class="btn btn-primary" >
														</form>
													</div><!-- /.box-body -->
												</div><!-- /.tab -->
											</div><!-- /.header_ray -->
										</div><!-- /.onglet_dotted -->
								    </div><!-- /.card-body -->
							    </div><!-- /.card card-primary card-outline -->
							</div> <!-- /.col-12 -->
						</div>  <!-- /.row -->
				</section> <!-- /.section -->
     


	
	</div>
  
  
<?php include('footerr.php'); ?>

</body>
</html>

AnonSec - 2021