-
Notifications
You must be signed in to change notification settings - Fork 3
/
logout.php
32 lines (32 loc) · 950 Bytes
/
logout.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
session_start();
session_unset();
session_destroy();
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>PreBook - The only place to book your movie tickets!</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" type="image/png" href="img/logo.png">
</head>
<body>
<nav>
<div class="logo">
<img src="img/logo.png"> <h1> PreBook</h1><span><i>Cheap, Reliable, Instant</i></span>
</div>
</nav>
<main>
<div class="bar">
<h2>Thanks for visiting, logging you out</h2>
<span class="aside"><i>you're being logged out, and redirected back to the home page.</i></span>
</div>
<i class="fas fa-check-square full-icon"></i>
</main>
</body>
</html>
<?php
header( "refresh:3;url=index.html" );
?>