added %NAVBAR%

master
Jakob 2020-02-26 10:47:10 +01:00
parent 03d49c82fa
commit fc2df2fae5
1 changed files with 2 additions and 18 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
//todo: fix automatic log out when opening "about"
session_start(); session_start();
%NO_CHEAP_SESSION_STEALING% %NO_CHEAP_SESSION_STEALING%
$navbar="about";
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
@ -14,23 +14,7 @@ session_start();
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
</head> </head>
<body> <body>
<ul class="topnav"> %NAVBAR%
<li>%HOME_LINK%</li>
<li><a href="%CONTENT_DIR%/news/">News</a></li>
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
<div class="dropdown">
<button class="dropbtn">Boards
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-content">
<a href="%CONTENT_DIR%/boards/">Board 1</a>
<a href="#">Board 2</a>
<a href="#">Board 3</a>
</div>
</div>
<li><a class="active" href="%CONTENT_DIR%/about/">About</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<h1> <h1>
<center>About us and our website...</center> <center>About us and our website...</center>
</h1> </h1>