summaryrefslogtreecommitdiff
path: root/public/includes/ui-message.php
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2026-07-12 15:51:52 +0300
commit02608271bb2a9f3a65ed536984d306ee14b48e34 (patch)
tree3f23ec48a694ec014e845c4f70d9b5f1c065403c /public/includes/ui-message.php
downloadkalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.tar.gz
kalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.tar.bz2
kalassa-02608271bb2a9f3a65ed536984d306ee14b48e34.zip
initialize repository; add docker config; migrate configuration to new specsHEADmaster
Diffstat (limited to 'public/includes/ui-message.php')
-rw-r--r--public/includes/ui-message.php47
1 files changed, 47 insertions, 0 deletions
diff --git a/public/includes/ui-message.php b/public/includes/ui-message.php
new file mode 100644
index 0000000..55ff531
--- /dev/null
+++ b/public/includes/ui-message.php
@@ -0,0 +1,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>