diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/404.php | 12 | ||||
-rw-r--r-- | templates/header.php | 14 |
2 files changed, 0 insertions, 26 deletions
diff --git a/templates/404.php b/templates/404.php deleted file mode 100644 index d4d5128..0000000 --- a/templates/404.php +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html> -<html> -<head> - <title>cflip.net forum</title> - <link rel="stylesheet" href="styles/style.css"> -</head> -<body> - <?php include_once 'header.php'; ?> - <h1>Page Not Found</h1> - <p>The page you requested does not exist.</p> -</body> -</html> diff --git a/templates/header.php b/templates/header.php deleted file mode 100644 index 4eb17e3..0000000 --- a/templates/header.php +++ /dev/null @@ -1,14 +0,0 @@ -<h1>cflip.net forum<sup style="font-size: small;">beta</sup></h1> -[<a href="/">Home</a>] -[<a href="/search.php?type=thread&sort=lr">All Threads</a>] -[<a href="/search.php?type=post&sort=cd">All Posts</a>] -[<a href="/create_thread.php">Create a thread</a>] -<span style="float:right;"> - <?php - if (isset($_SESSION['signed_in'])) { - echo '[<a href="viewuser.php?id='. $_SESSION['user_id'] .'">' . $_SESSION['user_name'] . '\'s Profile</a>] [<a href="includes/signout_inc.php">Log out</a>]'; - } else { - echo '[<a href="signin.php">Sign in</a>] or [<a href="register.php">Register an account</a>]'; - } - ?> -</span> |