X-Git-Url: https://git.piment-noir.org/?p=Project_webapp.git;a=blobdiff_plain;f=includes%2Freservations.php;h=3230f342122fa57f72c52b16cd9136d04359c1b8;hp=15beeacb5777c9442114277e9bd3a21b885ce332;hb=22f1dc6402dbc9a9c5d2ed2f17ef54044d35ec2a;hpb=0a87f4538a04b4dba4888a6abdb166ba8f465ba4 diff --git a/includes/reservations.php b/includes/reservations.php index 15beeac..3230f34 100644 --- a/includes/reservations.php +++ b/includes/reservations.php @@ -2,6 +2,7 @@ global $is_logged_in; if (!$is_logged_in) { echo "Please login first.
"; + $_SESSION['login_referer'] = $_SERVER['HTTP_REFERER']; redirect("index.php?page=login", 2); include('footer.html'); exit(); @@ -63,10 +64,10 @@ if (empty($rows)) { \n"; } else { - echo "Vol en cours"; + echo "Vol en cours\n"; } echo " \n"; } - echo ""; + echo "\n"; } ?>