repositories
/
Project_webapp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add return flight booking cinematic and personal informations editing.
[Project_webapp.git]
/
includes
/
reservations.php
diff --git
a/includes/reservations.php
b/includes/reservations.php
index 15beeacb5777c9442114277e9bd3a21b885ce332..3230f342122fa57f72c52b16cd9136d04359c1b8 100644
(file)
--- a/
includes/reservations.php
+++ b/
includes/reservations.php
@@
-2,6
+2,7
@@
global $is_logged_in;
if (!$is_logged_in) {
echo "Please login first. <br>";
global $is_logged_in;
if (!$is_logged_in) {
echo "Please login first. <br>";
+ $_SESSION['login_referer'] = $_SERVER['HTTP_REFERER'];
redirect("index.php?page=login", 2);
include('footer.html');
exit();
redirect("index.php?page=login", 2);
include('footer.html');
exit();
@@
-63,10
+64,10
@@
if (empty($rows)) {
</form>
</td>\n";
} else {
</form>
</td>\n";
} else {
- echo "Vol en cours";
+ echo "Vol en cours
\n
";
}
echo " </tr>\n";
}
}
echo " </tr>\n";
}
- echo "</table>";
+ echo "</table>
\n
";
}
?>
}
?>