-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfinish.php
51 lines (44 loc) · 1.01 KB
/
finish.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
40
41
42
43
44
45
46
47
48
49
50
51
<?php session_start();
if(empty($_SESSION['id'])):
header('Location:index.php');
endif;
?>
<!DOCTYPE html>
<html>
<head>
<?php include 'header.php';?>
<style>
.loader {
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid blue;
border-right: 16px solid green;
border-bottom: 16px solid red;
border-left: 16px solid pink;
width: 120px;
height: 120px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
margin:auto;
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div style="width:100%;text-align:center;vertical-align:bottom">
<div class="loader"></div>
<?php
session_destroy();
echo '<meta http-equiv="refresh" content="2;url=index.php">';
echo'<span class="itext">Finishing Reservation. Redirecting to home page. Please wait!...</span>';
?>
</div>
</body>
</html>