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/../prospect9.php
<?php

 // $a = 2 ;

 // $b = 6 ;

// $somme = $a + $b ;
// echo "la somme est ==> $somme <br/>" ;

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



session_start();



?><html>

			<head>

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


			</head>

<body class="hold-transition sidebar-mini">
	<div class="wrapper">


			<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>
													<a href="nvprospect9.php"><button type="button" class="btn btn-primary"><i class="fas fa-plus"></i> PROSPECT</button>
													</li>
					</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>





 <!-- DEMARRAGE DE LA PAGE PRINCIPALE -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
		<section class="content-header">
			<div class="container-fluid">
				<div class="row mb-2">
					<div class="col-sm-6">
						<h1>Prospects</h1>
					</div>
					<div class="col-sm-6">
						<ol class="breadcrumb float-sm-right">
							<li class="breadcrumb-item"><a href="index9.php">Accueil</a></li>
							<li class="breadcrumb-item active">Prospects</li>
						</ol>
					</div>
				</div>
			</div><!-- /.container-fluid -->
		</section>











										


				<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>Société</th>     		<!-- /.Table Client - Champs client_nom -->
																	<th>Adresse</th>
																	<th>Code Postal</th> 	<!-- /.Table Client - Champs client_cp -->
																	<th>Ville</th>	     <!-- /.Table Client - Champs client_ville -->

																</tr>
															</thead>
                                                            <tbody>
															<?php  $query = dbi_query("SELECT * FROM client c, etablissement etab,categorie cat where  c.etablissement_id  = etab.etablissement_id  and c.categorie_id = cat.categorie_id  and prospect = 1   and 	client_statut = '1'     $where_etab  ORDER BY c.`client_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>  <a href="profilprosepct9.php?client_id= <?php echo $cl['client_id'] ; ?>" target="" ><?php echo $cl['client_nom']; ?> </a></td>
																	<td> <?php echo $cl['client_adr1'] ;  ?></td>
																	<td> <?php echo $cl['client_cp'] ;  ?></td>
																	<td> <?php echo $cl['client_ville'] ;  ?></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