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

33 lines
1.0 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();
$navbar = "logout";
?>
<!DOCTYPE html>
<html>
<head>
<title>ThreadR - Home</title>
<link rel="stylesheet" type="text/css" href="%CONTENT_DIR%/style.css">
<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">
</head>
<body>
%NAVBAR%
<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>