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