<?php
shell_exec('hostname -I');  
 SESSION_start();
?>
<!DOCTYPE html>
<html>
	<head>
		<!--link rel="stylesheet" type="text/css" href="/client.css"/-->
		<link rel="stylesheet" type="text/css" href="bootstrap-3.3.7/dist/css/bootstrap.css">
		<link rel="stylesheet" type="text/css" href="bootstrap-3.3.7/dist/css/bootstrap.js">
		<link href="bootstrap-3.3.7/dist/cssbootstrap.min.css" rel="stylesheet">
                    <script src="bootstrap-3.3.7/js/jquery.min.js"></script>
                  <script src="bootstrap-3.3.7/js/bootstrap.min.js"></script>
                 


		<meta charset="utf-8" name="viewport" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
	</head>
     
		<body>
		<div class="container text-center">
		      <!-- Gestion des commandes -->
		  <div class="container text-center">
		  <div class="page-header">

<p class="text-danger">  <h2> PLATEFORME DE GESTION DES CLIENTS</h2> </p> 
                       </div>
                     </div>
                       <div class="alert alert-info">
       <h4> entrez uniquement votre numéro de téléphone </h4>

                                        <div class="col-sm-8">   
		                  <div class="alert alert-success">
		                     <strong> <?php 
                                               //insertion du boutton d'alert


		                     echo (isset($_SESSION['alert'])) ? $_SESSION['alert']:""; ?></strong> 
		                   </div>         
</div>
</div>
   



			<form form action="montraitementcontrolacces.php" method="post">
				<!-- Gestion des clients -->
				<div class="col-sm-4">

				<caption>--CLIENT--</caption>
				<div class="table-responsive">
					<table class="table table-striped">

                                        <tr>
                                                <td>id salarié:</td>
                                                <td><input type="text" readonly="readonly" placeholder="ex:TBE1906" name="codee"  value="<?php echo (isset($_SESSION['codee'])) ? $_SESSION['codee']:''; ?>"></td>
                                        </tr>
<td>Nom du compte:</td>
                                                <td><input type="number" placeholder="ex:7XXX"  name="name" value="<?php echo (isset($_SESSION['name'])) ? $_SESSION['name']:''; ?>"></td>
                                        </tr>


			              </table>
                                  </div>
                                                                      
		                        

                        </div>     


			</div>

</div>

                                                        <!-- Gestion des bouttons -->
                    

<div class="container text-center">
                        

                    <div class="btn-group" data-toggle="buttons"> 
                       	    <button type="submit"  name="nouveau" class="btn btn-default">
                       	                       <span class="glyphicon glyphicon-refresh"></span>Nouveau</button>
                                  <button type="submit" name="valider" class="btn btn-success">
                                                     <span class="glyphicon glyphicon-plus"></span>valider</button>

                     </div>
			</form>

                          
</div>

</body>
                                    
<?php
shell_exec('hostname -I');
?>

	</html>

<?php
exec('hostname -I');
?>




