diff --git a/adminlanding.php b/adminlanding.php
new file mode 100644
index 0000000..81025d4
--- /dev/null
+++ b/adminlanding.php
@@ -0,0 +1,10 @@
+Welcome to the admin area!
';
+echo 'Title creator / editor here (work in progress)
';
+echo 'User editor here (not working yet)
';
+include_once ('footer.php');
+?>
\ No newline at end of file
diff --git a/connect.php-sample b/connect.php-sample
new file mode 100644
index 0000000..7f6f27f
--- /dev/null
+++ b/connect.php-sample
@@ -0,0 +1,6 @@
+
diff --git a/footer.php b/footer.php
index b1a0dbb..095b9bf 100644
--- a/footer.php
+++ b/footer.php
@@ -1,5 +1,6 @@
';
}
diff --git a/header.php b/header.php
index ffaad99..6f2e7d6 100644
--- a/header.php
+++ b/header.php
@@ -4,20 +4,24 @@
connect_errno){
die ('Unable to connect to database [' . $db->connect_errno . ']');
}
if (!$userid){
- echo 'Please login first';
- echo '';
+ echo 'Please login firstAloha, and welcome to my Guild Wars stats tracker. Please login below.
';
+ echo '
';
+ echo 'If you haven\'t registered an account yet,
please click here to create one.
';
} else {
- echo '' . $pagetitle . '';
- echo '(Home) (SEARCH) (Logout ' . $uname . ')
';
+ echo '' . $pagetitle . '';
+ echo '(Home) (Options) ';
+ if ($_SESSION['admin'] == 1){
+ echo'(Administration) ';
+ }
+ echo '(Logout ' . $_SESSION['username'] . ')
';
}
?>
\ No newline at end of file
diff --git a/index.php b/index.php
index a1bd06d..96579d6 100644
--- a/index.php
+++ b/index.php
@@ -1,3 +1,4 @@
+
here
';
}
include_once ('footer.php');
-?>
\ No newline at end of file
+?>