From b72d32089c96065f7f78c1c9e8a18ee49f0f1f1f Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sat, 28 Jul 2018 23:17:39 -1000 Subject: [PATCH] copied from funkopop project will be changed soon --- header.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 header.php diff --git a/header.php b/header.php new file mode 100644 index 0000000..cf37d5a --- /dev/null +++ b/header.php @@ -0,0 +1,23 @@ + + + + +connect_errno){ + die ('Unable to connect to database [' . $db->connect_errno . ']'); +} +if (!$userid){ + echo 'Please login first'; + echo '
Username:
'; + echo 'Password:
'; + echo '
'; +} else { + echo '' . $pagetitle . '
'; + echo '(Home) (SEARCH) (Logout ' . $uname . ')

'; +} +?> \ No newline at end of file