X-Git-Url: https://git.piment-noir.org/?p=Project_webapp.git;a=blobdiff_plain;f=includes%2Fmodify.php;h=7915c48e53fe40688bb07bc288bb40c41839071e;hp=aeb9741444e0b39a1df6028e9bab8c5f5b6f83ee;hb=8d17cae35f4eb54914596e544f4a6ee43268426d;hpb=c49f721926f5d76a8eef80bd5174d68b5a151442 diff --git a/includes/modify.php b/includes/modify.php index aeb9741..7915c48 100644 --- a/includes/modify.php +++ b/includes/modify.php @@ -1,8 +1,16 @@ "; + $_SESSION['login_referer'] = $_SERVER['HTTP_REFERER']; + redirect("index.php?page=login", 2); + include('footer.html'); + exit(); +} $flight_id = filter_input(INPUT_GET, "flight_id", FILTER_SANITIZE_STRING); $class_name = filter_input(INPUT_GET, "class_name", FILTER_SANITIZE_STRING); $client_id = get_client_id($_SESSION['email']); -echo "

Modification de la réservation sur le vol $flight_id

\n"; +echo "

Modification de la réservation sur le vol $flight_id

\n"; global $connection; $sql_pquery = "select NumCl, NumVol, Classe, NbPlaces from RESERVATIONS