diff --git a/gw-index.php b/gw-index.php index e59b80c..aa512c7 100644 --- a/gw-index.php +++ b/gw-index.php @@ -1,8 +1,11 @@ connect_errno > 0){ - die ('Unable to connect to database [' . $db->connect_errno . ']'); -} +session_start(); +if (isset($_SESSION['userid']) && ($_SESSION['access'])){ + echo 'Proceed to character selection here
'; //really should automate this +} else { + echo 'Login Required'; + echo '
Username:
'; + echo 'Password:
'; + echo '
'; ?>