wishthis/includes/pages/logout.php

31 lines
484 B
PHP
Raw Normal View History

2022-01-17 12:15:54 +00:00
<?php
/**
* logout.php
*
* @author Jay Trees <github.jay@grandel.anonaddy.me>
*/
use wishthis\Page;
$page = new page(__FILE__, 'Logout');
session_destroy();
$page->header();
$page->navigation();
?>
<main>
<div class="ui container">
2022-01-17 13:52:00 +00:00
<h1 class="ui header"><?= $page->title ?></h1>
2022-01-17 12:15:54 +00:00
<div class="ui segment">
<h2 class="ui header">Goodbye</h2>
<p>You have been logged out.</p>
</div>
</div>
</main>
<?php
$page->footer();