forked from root/threadr.lostcave.ddnss.de
modified files to include variable replacements for login and home links
parent
e0327c4f0f
commit
283a484ed1
|
@ -15,11 +15,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>-->
|
||||||
<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>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
|
@ -27,9 +27,9 @@ session_start();
|
||||||
<a href="#">Board 2</a>
|
<a href="#">Board 2</a>
|
||||||
<a href="#">Board 3</a>
|
<a href="#">Board 3</a>
|
||||||
</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,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>-->
|
||||||
<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>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
|
@ -25,9 +25,9 @@ session_start();
|
||||||
<a href="#">Board 2</a>
|
<a href="#">Board 2</a>
|
||||||
<a href="#">Board 3</a>
|
<a href="#">Board 3</a>
|
||||||
</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,24 +12,21 @@ 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>
|
||||||
<a href="#">Board 2</a>
|
<a href="#">Board 2</a>
|
||||||
<a href="#">Board 3</a>
|
<a href="#">Board 3</a>
|
||||||
</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,11 +12,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><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">
|
||||||
<button class="dropbtn">Boards
|
<button class="dropbtn">Boards
|
||||||
<i class="fa fa-caret-down"></i>
|
<i class="fa fa-caret-down"></i>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
|
@ -24,10 +24,10 @@ session_start();
|
||||||
<a href="#">Board 2</a>
|
<a href="#">Board 2</a>
|
||||||
<a href="#">Board 3</a>
|
<a href="#">Board 3</a>
|
||||||
</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 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,11 +16,10 @@ 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
|
||||||
<i class="fa fa-caret-down"></i>
|
<i class="fa fa-caret-down"></i>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
|
@ -28,9 +27,9 @@ session_destroy();
|
||||||
<a href="#">Board 2</a>
|
<a href="#">Board 2</a>
|
||||||
<a href="#">Board 3</a>
|
<a href="#">Board 3</a>
|
||||||
</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,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 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">
|
||||||
<button class="dropbtn">Boards
|
<button class="dropbtn">Boards
|
||||||
<i class="fa fa-caret-down"></i>
|
<i class="fa fa-caret-down"></i>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
|
@ -25,9 +25,9 @@ session_start();
|
||||||
<a href="#">Board 2</a>
|
<a href="#">Board 2</a>
|
||||||
<a href="#">Board 3</a>
|
<a href="#">Board 3</a>
|
||||||
</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>
|
||||||
|
|
|
@ -17,13 +17,13 @@ $username = $dbentry['name'];
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
||||||
<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">
|
<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
|
||||||
<i class="fa fa-caret-down"></i>
|
<i class="fa fa-caret-down"></i>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
|
@ -31,9 +31,9 @@ $username = $dbentry['name'];
|
||||||
<a href="#">Board 2</a>
|
<a href="#">Board 2</a>
|
||||||
<a href="#">Board 3</a>
|
<a href="#">Board 3</a>
|
||||||
</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">
|
||||||
|
@ -46,4 +46,4 @@ $username = $dbentry['name'];
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -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,9 +37,9 @@
|
||||||
</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>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
|
@ -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,10 +20,10 @@ $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
|
||||||
<i class="fa fa-caret-down"></i>
|
<i class="fa fa-caret-down"></i>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-content">
|
<div class="dropdown-content">
|
||||||
|
@ -31,9 +31,9 @@ $username = $dbentry['name'];
|
||||||
<a href="#">Board 2</a>
|
<a href="#">Board 2</a>
|
||||||
<a href="#">Board 3</a>
|
<a href="#">Board 3</a>
|
||||||
</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