forked from root/threadr.lostcave.ddnss.de
modified files to include variable replacements for login and home links
parent
e0327c4f0f
commit
283a484ed1
|
@ -15,7 +15,7 @@ session_start();
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<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%/news/">News</a></li>
|
||||||
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
|
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
|
@ -29,7 +29,7 @@ session_start();
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<li><a class="active" href="%CONTENT_DIR%/about/">About</a></li>
|
<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>
|
</ul>
|
||||||
<h1>
|
<h1>
|
||||||
<center>About us and our website...</center>
|
<center>About us and our website...</center>
|
||||||
|
|
|
@ -13,7 +13,7 @@ session_start();
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<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%/news/">News</a></li>
|
||||||
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
|
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
|
@ -27,7 +27,7 @@ session_start();
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</a></li>
|
<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>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -12,15 +12,12 @@ session_start();
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<ul class="topnav">
|
||||||
<li><a class="active" href="%CONTENT_DIR%/">
|
<li>%HOME_LINK%</li>
|
||||||
<img src="%CONTENT_DIR%/img/ThreadR_Home.svg" alt="Home" class="available_space"/>
|
|
||||||
</a></li>
|
|
||||||
|
|
||||||
|
|
||||||
<li><a href="%CONTENT_DIR%/news/">News</a></li>
|
<li><a href="%CONTENT_DIR%/news/">News</a></li>
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<button class="dropbtn">Boards
|
<button class="dropbtn">Boards
|
||||||
<i class="fa fa-caret-down"></i>
|
<i class="fa fa-caret-down"></i> <!-- Hä? Ein leerer kursiver Textteil? -->
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
<a href="%CONTENT_DIR%/boards/">Board 1</a>
|
<a href="%CONTENT_DIR%/boards/">Board 1</a>
|
||||||
|
@ -29,7 +26,7 @@ session_start();
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</a></li>
|
<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>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
%NO_CHEAP_SESSION_STEALING%
|
//todo: force log out any user if logged in on this page
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
@ -12,7 +12,7 @@ session_start();
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<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%/news/">News</a></li>
|
||||||
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
|
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
|
@ -27,7 +27,7 @@ session_start();
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</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>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -16,8 +16,7 @@ session_destroy();
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<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%/news/">News</a></li>
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<button class="dropbtn">Boards
|
<button class="dropbtn">Boards
|
||||||
|
@ -30,7 +29,7 @@ session_destroy();
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</a></li>
|
<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>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -13,7 +13,7 @@ session_start();
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<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 class="active" href="%CONTENT_DIR%/news/">News</a></li>
|
||||||
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
|
<!--<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>-->
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
|
@ -27,7 +27,7 @@ session_start();
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</a></li>
|
<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>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -40,6 +40,7 @@ session_start();
|
||||||
<ul class="list">
|
<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-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><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. Don’t bother. </pre></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -20,7 +20,7 @@ $username = $dbentry['name'];
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<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>
|
<li><a href="%CONTENT_DIR%/news/">News</a></li>
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<button class="dropbtn">Boards
|
<button class="dropbtn">Boards
|
||||||
|
@ -33,7 +33,7 @@ $username = $dbentry['name'];
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</a></li>
|
<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>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -13,11 +13,11 @@ session_start();
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<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%/news/">News</a></li>
|
||||||
<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>
|
<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</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>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<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">
|
<!-- <li><a class="dropdown">
|
||||||
<button class="dropbtn">News
|
<button class="dropbtn">News
|
||||||
<i class="fa fa-caret-down"></i>
|
<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%/news/">News</a></li>
|
||||||
<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>
|
<li><a href="%CONTENT_DIR%/boards/">Boards</a></li>
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</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>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -20,7 +20,7 @@ $username = $dbentry['name'];
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<ul class="topnav">
|
<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>
|
<li><a href="%CONTENT_DIR%/news/">News</a></li>
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<button class="dropbtn">Boards
|
<button class="dropbtn">Boards
|
||||||
|
@ -33,7 +33,7 @@ $username = $dbentry['name'];
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<li><a href="%CONTENT_DIR%/about/">About</a></li>
|
<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>
|
</ul>
|
||||||
<br />
|
<br />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Loading…
Reference in New Issue