AnonSec Team
Server IP : 10.128.40.6  /  Your IP : 216.73.216.180
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/TEST/../MC/temp/12650/../1322/../../../mcg/.github/../pages/code/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/TEST/../MC/temp/12650/../1322/../../../mcg/.github/../pages/code/../salaries9.php
<?php

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

// echo "mamtta <br/>" ;


session_start();






?><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">
							 <!-- Menu extensible -->
										<ul class="navbar-nav">
										  <li class="nav-item">
											<a class="nav-link" data-widget="pushmenu" href="#"><i class="fas fa-bars"></i></a>
										  </li>
									<!-- liens TOP MENU GAUCHE-->


										</ul>
 								</nav>


								<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('menu9.php'); ?>

																		<!-- Sidebar Menu -->

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

  <div class="content-wrapper">

		<section class="content-header">
      <div class="container-fluid">
        <div class="row mb-2">
          <div class="col-sm-6">
            <h1>Salariés</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 active">salariés</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" 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 -->

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






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

									<div class="card-body">

									
									
						            <?php
									$where_etab = "" ; 
									if($_SESSION['MCPRO']['user_id']== 113){  // etablissement paris
									$where_etab =  "AND c.etablissement_id = 1 "; 
								     }
									
									if($_SESSION['MCPRO']['user_id']== 110){  // etablissement paris
									$where_etab =  "AND ( c.etablissement_id = 2 OR  c.etablissement_id = 3) "; 
								     }
									?>






										<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>Salarié</th>     		<!-- /.Table Client - Champs client_nom -->
																	<th>Téléphone</th>
																	<th>Code Postal</th> 	<!-- /.Table Client - Champs client_cp -->
																	<th>Ville</th>	     <!-- /.Table Client - Champs client_ville -->
																	<th>Matricule</th>
																</tr>
															</thead>
                                                            <tbody>
															<?php  $query = dbi_query("SELECT * FROM salarie c, etablissement etab where  c.etablissement_id = etab.etablissement_id and candidat = 0 AND salarie_statut = '1' $where_etab  ORDER BY c.`salarie_nom` ASC ");
															// echo "SELECT * FROM client c, etablissement etab,categorie cat where  c.etablissement_id  = etab.etablissement_id  and c.categorie_id = cat.categorie_id $where_statut  $where_etablissement_id ORDER BY c.`client_nom` ASC " ;

															while($cl = dbi_fetch_row($query)){
															?>
																	<tr>

																	<td align="">  <a href="profilsalarie9.php?link=salarie&amp;page=aaa&amp;salarie_id= <?php echo $cl['salarie_id'] ; ?>" target="" ><?php echo $cl['salarie_nom']." ".$cl['salarie_prenom']; ?> </a></td>
																	<td align="center"> <?php echo $cl['salarie_tele1'] ;  ?></td>
																	<td align="center"> <?php echo $cl['salarie_cp'] ;  ?></td>
																	<td align=""> <?php echo $cl['salarie_ville'] ;  ?></td>


																	<td align="center"> 0<?php echo $cl['salarie_id']; ?></td>
																	</tr>


															<?php }?>



															</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'); ?>
<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