modified files to include variable replacements for login and home links

master
BodgeMaster 2020-02-25 15:05:02 +01:00
parent e0327c4f0f
commit 283a484ed1
10 changed files with 42 additions and 45 deletions

View File

@ -15,7 +15,7 @@ session_start();
</head>
<body>
<ul class="topnav">
<li><a href="%CONTENT_DIR%/"><img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" /></a></li>
<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">
@ -29,7 +29,7 @@ session_start();
</div>
</div>
<li><a class="active" href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a href="%CONTENT_DIR%/login/">Log In</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<h1>
<center>About us and our website...</center>

View File

@ -13,7 +13,7 @@ session_start();
</head>
<body>
<ul class="topnav">
<li><a href="%CONTENT_DIR%/"><img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" /></a></li>
<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">
@ -27,7 +27,7 @@ session_start();
</div>
</div>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a href="%CONTENT_DIR%/login/">Log In</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<br />
<div class="container">

View File

@ -12,15 +12,12 @@ session_start();
</head>
<body>
<ul class="topnav">
<li><a class="active" href="%CONTENT_DIR%/">
<img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" class="available_space"/>
</a></li>
<li>%HOME_LINK%</li>
<li><a href="%CONTENT_DIR%/news/">News</a></li>
<div class="dropdown">
<button class="dropbtn">Boards
<i class="fa fa-caret-down"></i>
<i class="fa fa-caret-down"></i> <!-- ? Ein leerer kursiver Textteil? -->
</button>
<div class="dropdown-content">
<a href="%CONTENT_DIR%/boards/">Board 1</a>
@ -29,7 +26,7 @@ session_start();
</div>
</div>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a href="%CONTENT_DIR%/login/">Log In</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<br />
<div class="container">

View File

@ -1,6 +1,6 @@
<?php
session_start();
%NO_CHEAP_SESSION_STEALING%
//todo: force log out any user if logged in on this page
?>
<!DOCTYPE html>
<html>
@ -12,7 +12,7 @@ session_start();
</head>
<body>
<ul class="topnav">
<li><a href="%CONTENT_DIR%/"><img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" /></a></li>
<li><a href="%CONTENT_DIR%/">%HOME_LINK%</li>
<li><a href="%CONTENT_DIR%/news/">News</a></li>
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
<div class="dropdown">
@ -27,7 +27,7 @@ session_start();
</div>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a class="active" href="%CONTENT_DIR%/login/">Log In</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<br />
<div class="container">

View File

@ -16,8 +16,7 @@ session_destroy();
</head>
<body>
<ul class="topnav">
<li><a href="%CONTENT_DIR%/"><img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" /></a></li>
<li>%HOME_LINK%</li>
<li><a href="%CONTENT_DIR%/news/">News</a></li>
<div class="dropdown">
<button class="dropbtn">Boards
@ -30,7 +29,7 @@ session_destroy();
</div>
</div>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a href="%CONTENT_DIR%/login/">Log In</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<br />
<div class="container">

View File

@ -13,7 +13,7 @@ session_start();
</head>
<body>
<ul class="topnav">
<li><a href="%CONTENT_DIR%/"><img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" /></a></li>
<li>%HOME_LINK%</li>
<li><a class="active" href="%CONTENT_DIR%/news/">News</a></li>
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
<div class="dropdown">
@ -27,7 +27,7 @@ session_start();
</div>
</div>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a href="%CONTENT_DIR%/login/">Log In</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<br />
<div class="container">
@ -40,6 +40,7 @@ session_start();
<ul class="list">
<li><p> 2020-02-21 Whole Website updated: Homepage, News, Boards, About, Log In, Userhome, Log Out</p></li>
<li><p> 2020-01-06 First Steps done </p></li>
<li><pre> @ my fellow devs: Yeeee! This will be gone once the DB table is in place. Dont bother. </pre></li>
</ul>
</div>
</div>

View File

@ -20,7 +20,7 @@ $username = $dbentry['name'];
<body>
<ul class="topnav">
<li><a class="active" href="%CONTENT_DIR%/userhome/"><img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" /></a></li>
<li>%HOME_LINK%</li>
<li><a href="%CONTENT_DIR%/news/">News</a></li>
<div class="dropdown">
<button class="dropbtn">Boards
@ -33,7 +33,7 @@ $username = $dbentry['name'];
</div>
</div>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a href="%CONTENT_DIR%/logout/">Log Out</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<br />
<div class="container">

View File

@ -13,11 +13,11 @@ session_start();
</head>
<body>
<ul class="topnav">
<li><a href="%CONTENT_DIR%/"><img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" /></a></li>
<li>%HOME_LINK%</li>
<li><a href="%CONTENT_DIR%/news/">News</a></li>
<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a class="active" href="%CONTENT_DIR%/login/">Log In</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<br />
<div class="container">

View File

@ -37,7 +37,7 @@
</head>
<body>
<ul class="topnav">
<li><a href="%CONTENT_DIR%/"><img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" /></a></li>
<li>%HOME_LINK%</li>
<!-- <li><a class="dropdown">
<button class="dropbtn">News
<i class="fa fa-caret-down"></i>
@ -51,7 +51,7 @@
<li><a href="%CONTENT_DIR%/news/">News</a></li>
<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a class="active" href="%CONTENT_DIR%/login/">Log In</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<br />
<div class="container">

View File

@ -20,7 +20,7 @@ $username = $dbentry['name'];
</head>
<body>
<ul class="topnav">
<li><a class="active" href="%CONTENT_DIR%/userhome/"><img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" /></a></li>
<li>%HOME_LINK%</li>
<li><a href="%CONTENT_DIR%/news/">News</a></li>
<div class="dropdown">
<button class="dropbtn">Boards
@ -33,7 +33,7 @@ $username = $dbentry['name'];
</div>
</div>
<li><a href="%CONTENT_DIR%/about/">About</a></li>
<li class="right"><a href="%CONTENT_DIR%/logout/">Log Out</a></li>
<li class="right">%LOGIN_LINK%</li>
</ul>
<br />
<div class="container">