summaryrefslogtreecommitdiff
path: root/includes/templates
diff options
context:
space:
mode:
Diffstat (limited to 'includes/templates')
-rwxr-xr-x[-rw-r--r--]includes/templates/404.php28
-rwxr-xr-x[-rw-r--r--]includes/templates/header.php41
2 files changed, 35 insertions, 34 deletions
diff --git a/includes/templates/404.php b/includes/templates/404.php
index 74db2d6..8815b91 100644..100755
--- a/includes/templates/404.php
+++ b/includes/templates/404.php
@@ -1,14 +1,14 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>cflip.net forum</title>
- <link rel="stylesheet" href="styles/style.css">
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- </head>
- <body>
-<?php include_once 'header.php'; ?>
- <h1>Page Not Found</h1>
- <p>The page you requested does not exist.</p>
- </body>
-</html>
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>cflip.net forum</title>
+ <link rel="stylesheet" href="styles/style.css">
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ </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/includes/templates/header.php b/includes/templates/header.php
index f1c2c94..45ec7e6 100644..100755
--- a/includes/templates/header.php
+++ b/includes/templates/header.php
@@ -1,20 +1,21 @@
-<header>
-<h1>cflip.net forum<sup style="font-size: small;">beta</sup></h1>
-<p>
-[<a href="/">Home</a>]
-[<a href="/create_thread.php">Create a thread</a>]
-<span style="float:right;">
- <?php
- include_once './includes/Session.php';
- include_once './includes/model/User.php';
-
- if (Session::get()->is_signed_in()) {
- $user = Session::get()->get_current_user();
- echo '[<a href="viewuser.php?id=' . $user->id . '">' . $user->name . '\'s Profile</a>] [<a href="signout.php">Log out</a>]';
- } else {
- echo '[<a href="signin.php">Sign in</a>] or [<a href="register.php">Register an account</a>]';
- }
- ?>
-</span>
-</p>
-</header>
+<header>
+<h1>cflip.net forum</h1>
+<p>
+[<a href="/">Home</a>]
+[<a href="/create_thread.php">Create a thread</a>]
+<span style="float:right;">
+ <?php
+ include_once './includes/Session.php';
+ include_once './includes/model/User.php';
+
+ if (Session::get()->is_signed_in()) {
+ $user = Session::get()->get_current_user();
+ echo '[<a href="viewuser.php?id=' . $user->id . '">' . $user->name . '\'s Profile</a>] [<a href="signout.php">Log out</a>]';
+ } else {
+ echo '[<a href="signin.php">Sign in</a>] or [<a href="register.php">Register an account</a>]';
+ }
+ ?>
+</span>
+</p>
+</header>
+<hr> \ No newline at end of file