-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.php
88 lines (82 loc) · 2.71 KB
/
template.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
<?php
if (!isset($_SESSION['uuid'])) {
header('HTTP/1.0 403 Forbidden');
exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Cache-Control" content="no-cache">
<script type="text/javascript">
function captcha_subm() {
document.getElementById("captcha").submit()
}
</script>
<style type="text/css">
.error {
color: #000;
font-family: Arial, sans-serif;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
-moz-transform: translateX(-50%) translateY(-50%);
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
.error-fon {
font-weight: bold;
color: #d0e3f7;
}
.error-text-top {
font-size: 16px;
color: #434141
}
hr {
display: block;
height: 10px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
</style>
<title>403 Access denied</title>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<div class="error">
<div class="error-fon">
<font style="font-size:240px;">403</font>
<br>
<font style="font-size:40px;">ACCESS IS BLOCKED</font>
</div>
<br>
<div class="error-text-wrap">
<div class="error-text-top">
<p>
<hr>
<p style="text-align: center;">
Suspicious activity. To unblock your IP address please pass the CAPTCHA.
<br><br>
Подозрительная активность. Для разблокировки IP адреса пройдите проверку, используя функционал CAPTCHA.
</p>
<hr>
<div style="width: 300px; margin: 0 auto;">
<?php
echo('<form action="?" method="POST" id="captcha">');
echo('<div class="g-recaptcha" data-callback="captcha_subm" data-sitekey="' . settings::$SITE_KEY . '"></div>');
echo('<br/>');
echo('</form>');
echo('</div>');
?>
</div>
</p>
</div>
</div>
</div>
</body>
</html>