summaryrefslogtreecommitdiff
path: root/templates/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/header.php')
-rw-r--r--templates/header.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/header.php b/templates/header.php
index d7b8b78..4eb17e3 100644
--- a/templates/header.php
+++ b/templates/header.php
@@ -1,14 +1,14 @@
<h1>cflip.net forum<sup style="font-size: small;">beta</sup></h1>
-[<a href="/forum/">Home</a>]
-[<a href="/forum/search.php?type=thread&sort=lr">All Threads</a>]
-[<a href="/forum/search.php?type=post&sort=cd">All Posts</a>]
-[<a href="/forum/create_thread.php">Create a thread</a>]
+[<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="/forum/user/'. $_SESSION['user_name'] .'">' . $_SESSION['user_name'] . '\'s Profile</a>] [<a href="includes/signout_inc.php">Log out</a>]';
+ 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> \ No newline at end of file
+</span>