This repository has been archived by the owner on May 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.php
48 lines (41 loc) · 1.51 KB
/
error.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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocas-ui/2.3.2/tocas.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/tocas-ui/2.3.2/tocas.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<?php
include "config.php";
?>
</head>
<body>
<div class="ts container">
<br>
<div class="ts inverted negative card">
<div class="content">
<div class="header"><?php echo $lang["error_header"]; ?></div>
<div class="description">
<p><?php echo $lang["error_desc"].$_GET["error"]; ?></p>
<p><?php echo $lang["error_url"].$_GET["from"]; ?></p>
<p><a onclick="ts('#modal').modal('show');"><?php echo $lang["error_det"]; ?></a></p>
</div>
</div>
</div>
<p> oauth.alanyeung.co <?php echo $lang["error_err"]; ?> </p>
</div>
<div class="ts modals dimmer">
<dialog id="modal" class="ts closable tiny modal" data-modal-initialized="true">
<div class="content">
<p><?php echo (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]/"." ".$lang["error_debug"]; ?></p>
<?php
session_start();
echo wordwrap(bin2hex(json_encode(get_defined_vars())), 50, "\n", true);;
?>
</div>
</div>
</dialog>
</div>
</body>
</html>