Added url get

This commit is contained in:
Joey Lai
2017-02-02 19:34:58 +01:00
parent 044ed6a9d3
commit 1486e71207
7 changed files with 110 additions and 206 deletions

View File

@@ -13,18 +13,12 @@
?>
<body>
<?php
session_start();
// Checks if there's an user already logged in
if(isset($_SESSION["userID"])){
echo "<script>
window.onload=checkLoggedIn();
</script>";
}
include("../views/homeLoginRegister.php");
/* This view adds login view */
include("../views/login-view.php");
?>
<script src="js/loginRegisterModals.js"></script>;
</body>
</html>