blob: 35d98480925a9e790055a2917ad5d9ebb72cfba7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<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
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="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>
|