';
+ echo ' Return to your user page';
+}
+include_once ('footer.php');
+?>
\ No newline at end of file
diff --git a/adminlanding.php b/adminlanding.php
new file mode 100644
index 0000000..8aa744a
--- /dev/null
+++ b/adminlanding.php
@@ -0,0 +1,14 @@
+Welcome to the admin area!
';
+ echo 'Title creator / editor here (work in progress)
';
+ include_once ('includes/session-dump.php');
+}
+include_once ('footer.php');
+?>
\ No newline at end of file
diff --git a/connection.php-sample b/connect.php-sample
similarity index 71%
rename from connection.php-sample
rename to connect.php-sample
index e182191..7f6f27f 100644
--- a/connection.php-sample
+++ b/connect.php-sample
@@ -2,5 +2,5 @@
define ("DATABASE_HOST", "localhost");
define ("DATABASE_USER", "not-root");
define ("DATABASE_PASS", "strong-password-here");
-define ("DATABASE_NAME", "gwstatstracker");
+define ("DATABASE_NAME", "cool_database_name_here");
?>
diff --git a/footer.php b/footer.php
index b1a0dbb..4966fec 100644
--- a/footer.php
+++ b/footer.php
@@ -1,8 +1,13 @@
-
+
';
+if (isset($_SESSION['prefaccname']) && ($_SESSION['prefcharname'])) {
+ echo '
| Currently selected game account: ' . $_SESSION['prefaccname'] . ' | Current character: ' . $_SESSION['prefcharname'] . ' |
';
+}
+// the footer just adds a logout button at the bottom of every page for the currently logged in user
if (isset($_SESSION['userid']) && ($_SESSION['username'])) {
- echo '