-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnoUser.php
39 lines (36 loc) · 1.58 KB
/
noUser.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
33
34
35
36
37
38
39
<?php
session_start();
// If the user confirms logout, destroy the session and redirect to home page
if (isset($_POST['logout'])) {
session_destroy();
header("Location: index.php");
exit();
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="resources/logo.png">
<title>Logout Confirmation | Infinity Games</title>
<link rel="stylesheet" href="vendor/css/bootstrap.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body>
<div class="container">
<div class="row justify-content-center">
<div class="col-12 text-center my-5">
<h1 class="fw-bold">You are Still not signin on iGames.com So Do You want to Signin</h1>
<form method="POST">
<button type="submit" name="logout" class="btn btn-success mt-3" onclick="window.location='userSignIn.php'"><i class="fa-solid fa-sign-in-alt" "></i> Yes I Want</button>
<button type="button" class="btn btn-secondary mt-3" onclick="window.location='index.php'"><i class="fa-solid fa-home" onclick="window.location='index.php'"></i> No Go Back To Home</button>
</form>
</div>
</div>
</div>
<script src="vendor/js/bootstrap.bundle.js"></script>
</body>
</html>