forked from piqah/DevWeb
[forum] source code
This commit is contained in:
18
includes/header.php
Normal file
18
includes/header.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Mini Forum YEAH!</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
<a href="index.php">Forum</a> |
|
||||
<?php if (!isset($_SESSION['admin'])): ?>
|
||||
<a href="login.php">Login</a> |
|
||||
<?php else: ?>
|
||||
<a href="flag.php">Flag</a> |
|
||||
<a href="logout.php">Logout</a>
|
||||
<?php endif; ?>
|
||||
</nav>
|
||||
<hr>
|
||||
Reference in New Issue
Block a user