blob: 55ff531dd1ad6ec2e78ef0514f57b2b6ad966fa1 (
plain)
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
|
<?php
if (!defined("PROJECT")) {
define("PROJECT", "Application Error");
}
if (!isset($deny)) {
$deny = array(
'head' => 'Application Error!',
'message' => "<p>Παρακαλώ ενημερώστε τον διαχειριστή του συστήματος. Στη σχετική ενημέρωση επισυνάψτε τα παρακάτω στοιχεία:</p>
<pre style='font: 11px 700 \"Ununt Mono\", Consolas, Monaco, Courier, monospace; white-space: pre-wrap; color:#b32;'>".
"\n". ((isset($_SERVER['REQUEST_URI'])) ? "URI: ".$_SERVER['REQUEST_URI'] : "") .
"\n". ((isset($_SERVER['REQUEST_METHOD'])) ? "Method: ".$_SERVER['REQUEST_METHOD'] : "") .
"\n". ((isset($_SERVER['HTTP_USER_AGENT'])) ? "Agent: ".$_SERVER['HTTP_USER_AGENT'] : "") .
"\nTimestamp: ". time() . ((isset($_SERVER['HTTP_REFERER'])) ? "\nRef: ".$_SERVER['HTTP_REFERER'] : "") ."</pre>"
);
}
?><!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB" lang="en-GB" dir="ltr">
<head>
<!-- Metas + Title -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?=PROJECT?> : Message</title>
<!-- CSS needed -->
<link rel="stylesheet" href="/css/bootstrap.min.css" /><!-- v4.4.1 -->
<link rel="stylesheet" href="/css/pi.css" />
</head>
<body>
<div class="login-container">
<div class="row">
<div class="col-md-12">
<h2><?=PROJECT?></h2>
<h4><?=$deny['head']?></h4>
<hr />
<div><?=$deny['message']?></div>
<br />
<hr />
</div>
</div>
</div>
</body>
</html>
|