-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogout.php
84 lines (72 loc) · 2.59 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script type ="text/javascript " defer src="https://code.getmdl.io/1.2.1/material.min.js"> </script>
<script src="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.min.js"></script>
<link rel="stylesheet" href="material.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.indigo-pink.min.css">
</head>
<body >
<style type="text/css">
#loader{
width: 100%;
height: 100%;
opacity: ;
position: fixed;
z-index: 1000;
top: 0;
left: 0;
background:black;
}
#loader_image{
position: fixed;
width: 50px;
height: 25px;
align-content: center;
text-align: center;
margin-top: 200px;
margin-left: 600px;
}
#mob_text{
font-size: 20px;
color: white;
width:10%;
box-sizing: border-box;
padding: 20px;
position: relative;
text-align: center;
top:53%;
}
</style>
<?php
setcookie(md5('p'),'',time()-3600,'/');
setcookie(md5('d'),'',time()-3600,'/');
setcookie(md5('s'),'',time()-3600,'/');
setcookie('usernamedoc','',time()-3600,'/');
setcookie('userpassdoc','',time()-3600,'/');
setcookie('usernamepharm','',time()-3600,'/');
setcookie('userpasspharm','',time()-3600,'/');
setcookie('usernamepat','',time()-3600,'/');
setcookie('userpasspat','',time()-3600,'/');
setcookie(md5('q'),'',time()-3600,'/');
setcookie('username','',time()-3600,'/');
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
echo '<div id="loader">
<div id="loader_image">
<img src="Preloader_7.gif" width="290%" height="590%">
</div>
</div>';
echo "<meta http-equiv=\"refresh\" content=\"3;URL=home_alt.html\" />";
?>
<script type="text/javascript">
$(document).ready(function(){
$('#loader').delay(200).fadeOut(30000);
});
</script>
</body>
</html>