diff --git a/admin/index.php b/admin/index.php index 8ba2a53..0cf2476 100644 --- a/admin/index.php +++ b/admin/index.php @@ -87,7 +87,7 @@ session_start(); echo ""; } else { // Otherwise we'll show the nav page if (!isset($_SESSION["userID"])){ - echo ""; + echo ""; } else if (isset($_SESSION["userID"]) && $_SESSION["privileges"] == 1) { echo ""; } else { @@ -108,7 +108,7 @@ session_start(); ACCOUNT"; - echo "LOGOUT"; + echo "LOGOUT"; } ?> diff --git a/admin/user_management/add_user.php b/admin/user_management/add_user.php index 914afea..281c306 100644 --- a/admin/user_management/add_user.php +++ b/admin/user_management/add_user.php @@ -81,7 +81,7 @@ echo "

Account created! You may sign in now.

"; echo "

 

"; echo "HOME"; - echo "SIGN IN"; + echo "SIGN IN"; echo "

 

"; echo ""; } diff --git a/index.php b/index.php index e582dc7..b46c9f9 100644 --- a/index.php +++ b/index.php @@ -47,7 +47,7 @@ session_start(); if (isset($_SESSION["userID"])){ echo "ACCOUNT"; echo "HOME"; - echo "LOGOUT"; + echo "LOGOUT"; echo "ADD GAME DETAILS"; // Anything we need to show to logged in admins will be below if (isset($_SESSION["privileges"]) && $_SESSION["privileges"] == 1){ @@ -55,8 +55,8 @@ session_start(); echo "ADMIN PANEL"; } } else { - echo "SIGN IN"; - echo "CREATE AN ACCOUNT"; + echo "SIGN IN"; + echo "CREATE AN ACCOUNT"; echo "HOME"; } ?> diff --git a/user/.gitignore b/user/.gitignore deleted file mode 100644 index dd8a14d..0000000 --- a/user/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -admin/dev_db_config.php -.htaccess -favicon.ico diff --git a/create_account.php b/user/create_account.php similarity index 97% rename from create_account.php rename to user/create_account.php index 7a8053c..7f70790 100644 --- a/create_account.php +++ b/user/create_account.php @@ -42,7 +42,7 @@ try { // Try opening the SQL database connection - +