summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorcflip <36554078+cflip@users.noreply.github.com>2021-05-08 17:30:08 -0600
committerGitHub <noreply@github.com>2021-05-08 17:30:08 -0600
commit87b1dfd1f77b08915ee5e905da45e316ba2c0e7d (patch)
treef6c0f8d09454b6e887df0f66ca37c1ce9efb30d0 /templates
parent0b045d57b2164b5ce003955d79627ae506a153eb (diff)
parenta09d9f377f5c055e42e5f21b5cdea64c2e2ca896 (diff)
Merge pull request #14 from cflip/refactor
Huge refactor
Diffstat (limited to 'templates')
-rw-r--r--templates/404.php12
-rw-r--r--templates/header.php14
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>