diff --git a/gw-index.php b/gw-index.php
index 9a1f23f..29b3477 100644
--- a/gw-index.php
+++ b/gw-index.php
@@ -1,11 +1,15 @@
here
'; //really should automate this
+ $uname = $_SESSION['username'];
+ echo '
Welcome, ' . $uname . '';
+ echo 'Proceed to character selection here
';
+ echo 'Create a new character to record here
';
} else {
- echo 'Login Required';
+ echo 'Login Required';
echo '';
}
+echo '';
?>
diff --git a/gw-login.php b/gw-login.php
index a1b75bb..e1cc974 100644
--- a/gw-login.php
+++ b/gw-login.php
@@ -19,11 +19,15 @@ if ($result = $con->query($sqllogin)){
$_SESSION['username'] = $uname;
$_SESSION['userid'] = $uid;
$_SESSION['access'] = $access;
- echo 'Proceed to character selection here
'; //really should automate this
}
+ header("refresh:3;url=gw-index.php");
+ echo 'Logged in';
+ echo 'You have successfully logged in ...
Returning to index in a few seconds';
} else {
+ echo 'Invalid login';
echo 'That was not a valid username or password!
';
- echo 'Please try again here';
+ echo 'Please try again here';
}
}
+echo '';
?>
\ No newline at end of file