1
0
forked from piqah/DevWeb

[forum] source code

This commit is contained in:
root
2026-01-10 00:36:22 +00:00
commit 0c9996065a
9 changed files with 302 additions and 0 deletions

18
includes/header.php Normal file
View 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>