| Current Path : /home/xbodynamge/namtation/reservation/ |
| Current File : /home/xbodynamge/namtation/reservation/confirmer_annuler.php |
<?php
include_once('./inc/init.inc.php');
include_once('./inc/secure.inc.php');
setlocale (LC_TIME, 'fr_FR.utf8','fra');
$sql = "SELECT * from reservation".$DB_prefixtable."client where id =".$_SESSION['id_client'];
$req = mysqli_query($db, $sql) or die('Erreur SQL !'.mysqli_error());
$client = mysqli_fetch_assoc($req);
$sql = "SELECT *, (select salle from reservation".$DB_prefixtable."salle where id=reservation".$DB_prefixtable."reservation.id_salle) as salle from reservation".$DB_prefixtable."reservation where id =".$_POST['id'];
$req = mysqli_query($db, $sql) or die('Erreur SQL !'.mysqli_error());
$reservation = mysqli_fetch_assoc($req);
?>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style_client.css">
</head>
<body>
<div class="container_maintable">
<span style="float: right;">
<form style="display: inline; margin: 0px;padding: 0px;" action="fiche_client.php" method="POST"><input type="submit" class="normal_bouton" value=" Mise à jour de vos données "></form>
<form style="display: inline; margin: 0px;padding: 0px;" action="logout.php" method="POST"><input type="submit" class="normal_bouton" value=" Déconnexion "></form></span><br>
<table class="main">
<form action="annuler.php" method="POST">
<?php include_once('./inc/header.php');?>
<tr class="calendrier_alternate1">
<td style="text-align:left; vertical-align:top;padding-left:50px">
<div class="titre">Confirmation de l'annulation d'une séance :</div><br>
<br>
Ou : <?php echo $reservation['salle'] ?><br>
Date : <?php echo $reservation['date'] ?><br>
Heure de début : <?php echo $reservation['heure_deb'] ?><br>
Séance : <?php echo $reservation['type_seance'] ?><br>
<br>
Veuillez confirmer que vous désirez bien annuler cette réservation.
<br>
<input type="hidden" name="id" value= "<?php echo $_POST['id'];?>">
</td>
</tr>
<tr>
<td>
<center><input type="submit" class="submit_bouton" value="Confirmer l'annulation"></center>
</td></tr>
</form>
</table>
</div>
</body>
</html>