forked from AquaFlameCMS/AquaFlameCMS_Trinity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logout.php
82 lines (66 loc) · 2.44 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
<?php include("configs.php"); ?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<html lang="en-gb">
<head>
<title>World of Warcraft</title>
<meta name="description" content="<?php echo $website['description']; ?>">
<meta name="keywords" content="<?php echo $website['keywords']; ?>">
<link rel="shortcut icon" href="wow/static/local-common/images/favicons/wow.png" type="image/x-icon" />
<link rel="stylesheet" href="wow/static/local-common/css/common.css?v15"/>
<link rel="stylesheet" href="wow/static/_themes/bam/css/master.css?v1"/>
<script src="wow/static/local-common/js/third-party/jquery-1.4.2.min.js?v15"></script>
<script src="wow/static/local-common/js/core.js?v15"></script>
<script>
var targetOrigin = "<?php echo $website['address']; ?>";
function updateParent(action, key, value) {
var obj = { action: action };
if (key) obj[key] = value;
parent.postMessage(JSON.stringify(obj), targetOrigin);
return false;
}
function checkDefaultValue(input, isPass) {
if (input.value == input.title)
input.value = "";
if (isPass)
input.type = "password";
}
</script>
</head>
<body>
<div id="embedded-login">
<h2>World of Warcraft - Logging Out</h2>
<style type="text/css">
.loader {
width:24px;
height:24px;
background: url("wow/static/images/loaders/canvas-loader.gif") no-repeat;
}
</style>
<br />
<center>
<h3>Logging Out</h3><br />
<div class="loader"></div>
<?php session_unset(); session_destroy(); ?>
<meta http-equiv="refresh" content="2;url=index.php"/>
</center>
<script type="text/javascript">
$(function() {
$("#ssl-trigger").click(function() {
updateParent('onload', 'height', $(document).height() + 76);
$("#thawteseal").show();
});
$("#help-links a").click(function() {
updateParent('redirect', 'url', this.href);
return false;
});
$('#accountName').focus();
updateParent('onload', 'height', $(document).height());
});
</script>
</div>
</body>
</html>