diff --git a/account.php b/account/account.php similarity index 67% rename from account.php rename to account/account.php index f685203..fa3deb9 100644 --- a/account.php +++ b/account/account.php @@ -4,31 +4,31 @@ Account - + - +

Account settings

O hi ".$_SESSION["username"].".

"; - echo "Reset Password"; - echo "Logout"; + echo "Reset Password"; + echo "Logout"; } else { echo "

You must be logged in to change your account settings!

"; - echo "Login!"; + echo "Login!"; } ?>
diff --git a/login.php b/account/login.php similarity index 91% rename from login.php rename to account/login.php index 10d307a..01658db 100644 --- a/login.php +++ b/account/login.php @@ -4,15 +4,15 @@ Login - + - + ".$success."

"; } ?> - Need an account? Sign up! + Need an account? Sign up! diff --git a/logout.php b/account/logout.php similarity index 100% rename from logout.php rename to account/logout.php diff --git a/password-reset.php b/account/password-reset.php similarity index 90% rename from password-reset.php rename to account/password-reset.php index f48227c..20fd231 100644 --- a/password-reset.php +++ b/account/password-reset.php @@ -4,22 +4,22 @@ Account - + - + diff --git a/signup.php b/account/signup.php similarity index 88% rename from signup.php rename to account/signup.php index 0daa929..01a548f 100644 --- a/signup.php +++ b/account/signup.php @@ -4,26 +4,24 @@ Sign Up - + - + ".$error."

"; @@ -132,8 +125,8 @@ diff --git a/edit.php b/edit.php index 37eb492..f2a4e6e 100644 --- a/edit.php +++ b/edit.php @@ -72,7 +72,7 @@ diff --git a/image.php b/image.php index 50a52b7..204ca19 100644 --- a/image.php +++ b/image.php @@ -33,7 +33,7 @@ } // Check if ID of image in URL - if (!isset($_GET['id'])) { + if (empty($_GET['id'])) { // No ID toast echo "

No ID present

"; @@ -147,7 +147,7 @@ diff --git a/index.php b/index.php index 5820604..500205d 100644 --- a/index.php +++ b/index.php @@ -64,7 +64,7 @@ diff --git a/ui/footer.html b/ui/footer.php similarity index 73% rename from ui/footer.html rename to ui/footer.php index 5eb6fb2..515c01a 100644 --- a/ui/footer.html +++ b/ui/footer.php @@ -1,9 +1,9 @@