This repository has been archived on 2025-12-28. You can view files and clone it, but cannot push or open issues or pull requests.
inkletblot-com-v1/php forum/header.php
2019-12-02 12:10:45 +10:30

36 lines
966 B
PHP

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Ink's Forum</title>
<link rel="stylesheet" href="../styles/site-wide.css" type="text/css">
</head>
<body>
<div id="wrapper">
<div id="header">
<h1>Talking Space;</h1>
<h4>Ink's Talking Space<h4>
</div>
<div id="menu">
<a class="item" href="index.php">Home</a>
<a class="item" href="create_topic.php">Create a topic</a>
<a class="item" href="create_cat.php">Create a category</a>
<a class="item" href="../">Ink's Things</a>
<div id="userbar">
<?php
if($_SESSION['signedIn'])
{
echo '<span id="userBarMsg">Hello <b>' . htmlentities($_SESSION['userName']) . '</b>. Not you?</span> <a class="item" href="signout.php">Sign out</a>';
}
else
{
echo '<a class="item" href="signin.php">Sign in</a><a class="item" href="signup.php">Create an Account</a>';
}
?>
</div>
</div>
<div id="content">