From 536b44ee04d7de90c419ab852559b988321714d5 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sat, 10 Jun 2017 01:56:14 -1000 Subject: [PATCH] beginnings of admin page admin page is only for deletions. need to make a user page so they can delete their own toons as well. --- gw-admin.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 gw-admin.php diff --git a/gw-admin.php b/gw-admin.php new file mode 100644 index 0000000..a92d133 --- /dev/null +++ b/gw-admin.php @@ -0,0 +1,28 @@ + + + + +Welcome, ' . $uname . '
'; + if ($_SESSION['access'] < 9){ //need to make this a SQL query instead + echo'
You don\'t have access to these tools!
'; + } else { + echo 'Delete a toon here
'; //page doesn't actually exist yet + echo 'This will delete a character from a user account, and all of it\'s recorded drop data - this is not reversable!

'; + echo 'Delete a user here
'; //page doesn't actually exist yet + echo 'This will delete the user, all of their associated toons, and associated drop data - this is NOT reverable!

'; + } + echo 'Click HERE to return to the home page!'; +} else { + echo 'Login Required'; + echo '
Username:
'; + echo 'Password:
'; + echo '
'; +} +?> +
+ + \ No newline at end of file