-
Notifications
You must be signed in to change notification settings - Fork 1
/
logout.php
116 lines (82 loc) · 4.28 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
session_start();
$_SESSION = array(); // Unset all of the session variables.
// If it's desired to kill the session, also delete the session cookie.
// Note: This will destroy the session, and not just the session data!
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
setcookie(session_name(), '', time() - 42000,
$params["path"], $params["domain"],
$params["secure"], $params["httponly"]
);
}
// Finally, destroy the session.
session_destroy();
?>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="description" content="ReBooth (REmote BOOTH) is a WebRTC based platform for conference interpreter training">
<meta name="keywords" content="interpreter,interpreters,interpreting,interpretation,simultaneous,consecutive,training,webrtc,conference,conference interpretation,interpretation booth">
<title>ReBooth</title>
<!-- favicon for all devices -->
<link rel="apple-touch-icon" sizes="180x180" href="/images/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/icons/favicon-16x16.png">
<link rel="manifest" href="/images/icons/site.webmanifest">
<link rel="mask-icon" href="/images/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/images/icons/favicon.ico">
<!-- JQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<!-- Bootstrap 4 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha256-L/W5Wfqfa0sdBNIKN9cG6QA5F2qx4qICmU2VgLruv9Y=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha256-WqU1JavFxSAMcLP2WIOI+GB2zWmShMI82mTpLDcqFUg=" crossorigin="anonymous"></script>
<!-- ReBooth -->
<script src="config/config.js?0.01"></script>
<script src="js/rebooth.js?0.01"></script>
<style>
body {
background-image: url("images/logo.png");
background-repeat: no-repeat;
}
.credits {
font-size: 0.8rem;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}
</style>
<script>
$(document).ready(function() {
// Set title
$('#application-name').html(AppName + " v" + AppVersion);
$('#version').html('[ ' + AppName + ' v' + AppVersion + ' ‐ clone it from <a target="_blank" href="' + AppGitHub + '">GitHub</a> ]');
$('#author').html("By " + AppAuthorShort + " and " + AppContributorsShort + " ‐ " + AppCompanyShort);
});
</script>
</head>
<body>
<div class="container-fluid">
<div class="row mt-4">
<div class="col-sm-2"></div>
<div class="mx-auto col-sm-8 bp-4">
<div class="card bg-light mt-2">
<div class="card-header">
<div class="display-4"><span id="application-name"></span></div>
</div>
<div class="card-body">
<h5 class="card-title">You've successfully logged out</h5>
</div>
<div class="card-footer text-right">
<a class="btn btn-primary" href="/" id="logout">Login again</a>
</div>
</div>
</div>
<div class="col-sm-2"></div>
</div>
<div style="position: absolute; bottom: 2; left:10; right:10; width: vw" class="d-flex justify-content-between bg-light">
<div id="version" class="credits"></div>
<div class="credits"><span id="author"></span> 👉 <a href="/credits">credits</a></div>
</div>
</div>
</body>
</html>