threadr.lostcave.ddnss.de/threadr/logout/index.php

49 lines
1.6 KiB
PHP

<?php
$_SESSION = array();
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
setcookie(session_name(), '', time() - 42000, $params["path"], $params["domain"], $params["secure"], $params["httponly"]);
}
session_destroy();
?>
<!DOCTYPE html>
<!-- ToDo: Add proper page -->
<!DOCTYPE html>
<html>
<head>
<title>ThreadR - Home</title>
<link rel="stylesheet" type="text/css" href="%CONTENT_DIR%/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<ul class="topnav">
<li><a class="active" href="#home">Home</a></li>
<!-- <li><a class="dropdown">
<button class="dropbtn">News
<i class="fa fa-caret-down"></i>
</button>
<div class="dropdown-content">
<a href="#">Link 1</a>
<a href="#">Link 2</a>
<a href="#">Link 3</a>
</div>
</div> -->
<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 href="%CONTENT_DIR%/login/">Log In</a></li>
</ul>
<br />
<div class="container">
<div class="item-1">
<h1>
<center>Bye! Cya around some time soon.</center>
</h1>
</div>
<div class="item-2">
<img src="%CONTENT_DIR%/img/ThreadR.svg" alt="ThreadR" height="100%" width="100%">
</div>
</div>
</body>
</html>