improved error page, are removed old gulliver error page
@@ -1,92 +0,0 @@
|
|||||||
*, *:before, *:after {
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-family: "Helvetica Neue", Roboto, Arial, "Droid Sans", sans-serif;
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: 400;
|
|
||||||
line-height: 1.471;
|
|
||||||
}
|
|
||||||
|
|
||||||
.special-page {
|
|
||||||
color: #fff;
|
|
||||||
background: #3397e2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
width: 100%;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.col-md-55, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
|
|
||||||
position: relative;
|
|
||||||
min-height: 1px;
|
|
||||||
float: left;
|
|
||||||
padding-right: 10px;
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.col-middle {
|
|
||||||
margin-top: 5%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-center {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 0 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
vertical-align: middle;
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.text-error {
|
|
||||||
background: rgba(255,255,255,0.9);
|
|
||||||
color: #000;
|
|
||||||
padding: 25px 0;
|
|
||||||
margin: 120px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
margin-top: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
font-family: 'Montserrat', sans-serif;
|
|
||||||
font-size: 36px;
|
|
||||||
font-weight: 500;
|
|
||||||
line-height: 1.1;
|
|
||||||
color: inherit;
|
|
||||||
margin: 0.67em 0;
|
|
||||||
}
|
|
||||||
b, strong {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
.mid_center {
|
|
||||||
width: 370px;
|
|
||||||
margin: 0 auto;
|
|
||||||
text-align: center;
|
|
||||||
padding: 10px 20px;
|
|
||||||
}
|
|
||||||
.btn-success {
|
|
||||||
border: none;
|
|
||||||
box-shadow: none;
|
|
||||||
border-radius: 2px;
|
|
||||||
font-size: 1.4rem;
|
|
||||||
cursor: pointer;
|
|
||||||
background: #1fbc99;
|
|
||||||
border: 1px solid #1ba385;
|
|
||||||
}
|
|
||||||
|
|
||||||
.buttons, button, .btn {
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
#push, #footer {
|
|
||||||
height: 60px;
|
|
||||||
text-align: center;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
@@ -1,106 +0,0 @@
|
|||||||
<?php
|
|
||||||
if (function_exists("http_response_code")) {
|
|
||||||
http_response_code(200);
|
|
||||||
}
|
|
||||||
|
|
||||||
$http = G::is_https() ? "https" : "http";
|
|
||||||
|
|
||||||
$host = $_SERVER['HTTP_HOST'] ?? ($_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT']);
|
|
||||||
|
|
||||||
$urlLogin = $http . "://" . $host . "/sys/en/lurana/login/login";
|
|
||||||
$urlHome = $urlLogin;
|
|
||||||
|
|
||||||
if (isset($_GET["url"]) && $_GET["url"] != "") {
|
|
||||||
|
|
||||||
$url = urldecode($_GET["url"]);
|
|
||||||
$url = explode("/", $url);
|
|
||||||
|
|
||||||
$sysSys = "";
|
|
||||||
$sysLang = "";
|
|
||||||
$sysSkin = "";
|
|
||||||
|
|
||||||
if (isset($url[1]) && preg_match("/^sys(.+)$/", $url[1], $match)) {
|
|
||||||
$sysSys = $match[1];
|
|
||||||
|
|
||||||
// Check if sys path exists
|
|
||||||
$checkDir = PATH_DATA . "sites/" . $sysSys;
|
|
||||||
if (!is_dir($checkDir)) {
|
|
||||||
$sysSys = '';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (isset($url[2])) {
|
|
||||||
$sysLang = $url[2];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isset($url[3])) {
|
|
||||||
$sysSkin = $url[3];
|
|
||||||
|
|
||||||
// Check if sys path exists
|
|
||||||
$checkDir = PATH_SKIN_ENGINE . $sysSkin;
|
|
||||||
if (!is_dir($checkDir)) {
|
|
||||||
// Try this again
|
|
||||||
$checkDir = PATH_CUSTOM_SKINS . $sysSkin;
|
|
||||||
if (!is_dir($checkDir)) {
|
|
||||||
$sysSkin = '';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($sysSys != "" && $sysLang != "" && $sysSkin != "") {
|
|
||||||
$urlLogin = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/login/login";
|
|
||||||
$urlHome = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/cases/main";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon"/>
|
|
||||||
<link href="../lib/pmdynaform/libs/bootstrap-3.1.1/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
<link href="block.css" type="text/css" rel="stylesheet"/>
|
|
||||||
</head>
|
|
||||||
<body class="nav-md special-page" style="margin: 0px; overflow: auto;">
|
|
||||||
<div class="container body ">
|
|
||||||
|
|
||||||
<div class="main_container">
|
|
||||||
|
|
||||||
<!-- page content -->
|
|
||||||
<div class="col-md-12">
|
|
||||||
<div class="col-middle">
|
|
||||||
<div class="text-center">
|
|
||||||
<p><img src="images/fa-hand-pointer-o.png"></p>
|
|
||||||
</div>
|
|
||||||
<div class="text-center text-error">
|
|
||||||
<h1>Hi there, please check your tabs!</h1>
|
|
||||||
<p><b>A browser instance of ProcessMaker is actually open.</b> You can start only one at the time.
|
|
||||||
For more information:
|
|
||||||
</p>
|
|
||||||
<div class="mid_center">
|
|
||||||
<a type="button" class="btn btn-success btn-lg" href="http://wiki.processmaker.com">Click here
|
|
||||||
to see our Wiki</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- /page content -->
|
|
||||||
|
|
||||||
<!-- footer content -->
|
|
||||||
<div id="footer">
|
|
||||||
<div class="container">
|
|
||||||
<p><img src="images/processmaker.logow.png"></p>
|
|
||||||
<p class="muted credit">Supplied free of charge with no support, certification, warranty, maintenance nor indemnity by ProcessMaker and its Certified Partners<br>
|
|
||||||
Copyright © 2003-<?php echo date('Y');?> ProcessMaker, Inc. All rights reserved. </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* error.php
|
|
||||||
*
|
|
||||||
* ProcessMaker Open Source Edition
|
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as
|
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
|
||||||
* License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$ERROR_TEXT = "Server Error ";
|
|
||||||
$ERROR_DESCRIPTION = "
|
|
||||||
<br />
|
|
||||||
An unknown error took place within our web server. <br />
|
|
||||||
<br />
|
|
||||||
";
|
|
||||||
|
|
||||||
include ( "header.php");
|
|
||||||
?>
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* error400.php
|
|
||||||
*
|
|
||||||
* ProcessMaker Open Source Edition
|
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as
|
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
|
||||||
* License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$ERROR_TEXT = "400 Bad Request ";
|
|
||||||
$ERROR_DESCRIPTION = "Your browser (or proxy) sent a request
|
|
||||||
that this server could not understand.<br />
|
|
||||||
<br />
|
|
||||||
";
|
|
||||||
|
|
||||||
$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ;
|
|
||||||
include ( $fileHeader);
|
|
||||||
?>
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* error401.php
|
|
||||||
*
|
|
||||||
* ProcessMaker Open Source Edition
|
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as
|
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
|
||||||
* License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$ERROR_TEXT = "401 Unauthorized ";
|
|
||||||
$ERROR_DESCRIPTION = "
|
|
||||||
This server could not verify that
|
|
||||||
you are authorized to access. You either supplied the wrong credentials
|
|
||||||
(e.g., bad password), or your browser doesn't understand how to supply
|
|
||||||
the credentials required. <br />
|
|
||||||
<br />
|
|
||||||
In case you are allowed to request the document,
|
|
||||||
please check your user-id and password and try again<br />
|
|
||||||
<br />
|
|
||||||
";
|
|
||||||
|
|
||||||
$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ;
|
|
||||||
include ( $fileHeader);
|
|
||||||
?>
|
|
||||||
@@ -1,109 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
$http = G::is_https() ? "https" : "http";
|
|
||||||
$host = $_SERVER['HTTP_HOST'] ?? ($_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT']);
|
|
||||||
|
|
||||||
$urlLogin = $http . "://" . $host . "/sys/en/lurana/login/login";
|
|
||||||
$urlHome = $urlLogin;
|
|
||||||
|
|
||||||
if (isset($_GET["url"]) && $_GET["url"] != "") {
|
|
||||||
$url = urldecode($_GET["url"]);
|
|
||||||
$url = explode("/", $url);
|
|
||||||
|
|
||||||
$sysSys = "";
|
|
||||||
$sysLang = "";
|
|
||||||
$sysSkin = "";
|
|
||||||
|
|
||||||
if (isset($url[1]) && preg_match("/^sys(.+)$/", $url[1], $match)) {
|
|
||||||
$sysSys = $match[1];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isset($url[2])) {
|
|
||||||
$sysLang = $url[2];
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isset($url[3])) {
|
|
||||||
$sysSkin = $url[3];
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($sysSys != "" && $sysLang != "" && $sysSkin != "") {
|
|
||||||
if (count($url) > 4) {
|
|
||||||
$urlLogin = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/login/login" . "?url=" . implode("/", $url);
|
|
||||||
$urlHome = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/cases/main" . "?url=" . implode("/", $url);
|
|
||||||
} else {
|
|
||||||
$urlLogin = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/login/login";
|
|
||||||
$urlHome = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/cases/main";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
?>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
||||||
<!-- Meta, title, CSS, favicons, etc. -->
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
||||||
<title>Processmaker Styleguide</title>
|
|
||||||
<!-- Bootstrap core CSS -->
|
|
||||||
<link href="../lib/pmdynaform/libs/bootstrap-3.1.1/css/bootstrap.min.css" rel="stylesheet">
|
|
||||||
<link href="../lib/pmdynaform/libs/font-awesome-4.6.3/css/font-awesome.min.css" rel="stylesheet">
|
|
||||||
<!-- Custom styling plus plugins -->
|
|
||||||
<link href="../lib/pmdynaform/libs/custom/custom.css" rel="stylesheet">
|
|
||||||
<script type="text/javascript" src="../lib/pmdynaform/libs/jquery/jquery-1.11.js"></script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
jQuery(document).ready(function($) {
|
|
||||||
var btnLogin = $("#login"),
|
|
||||||
btnGoBack = $("#goBack");
|
|
||||||
btnLogin.click(function(e) {
|
|
||||||
e.preventDefault();
|
|
||||||
e.stopPropagation();
|
|
||||||
window.location.href = '<?php echo $urlLogin;?>';
|
|
||||||
});
|
|
||||||
btnGoBack.click(function(e){
|
|
||||||
e.preventDefault();
|
|
||||||
e.stopPropagation();
|
|
||||||
history.back();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</head>
|
|
||||||
<body class="nav-md special-page">
|
|
||||||
<div class="container body ">
|
|
||||||
<div class="main_container">
|
|
||||||
<!-- page content -->
|
|
||||||
<div class="col-md-12">
|
|
||||||
<div class="col-middle">
|
|
||||||
<div class="text-center">
|
|
||||||
<h1 class="error-number"><i class="fa fa-hand-paper-o"></i></h1>
|
|
||||||
</div>
|
|
||||||
<div class="text-center text-error">
|
|
||||||
<h1>403 Access denied</h1>
|
|
||||||
<p>You don't have privileges to access with those credentials. You can contact your administrator, <br> <a id="goBack" href="#">go back</a> to where you came from, or
|
|
||||||
</p>
|
|
||||||
<div class="mid_center">
|
|
||||||
<button type="button" id="login" class="btn btn-success btn-lg">Login with other credentials</button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- /page content -->
|
|
||||||
</div>
|
|
||||||
<!-- footer content -->
|
|
||||||
<div id="footer">
|
|
||||||
<div class="container">
|
|
||||||
<p><img src="../lib/pmdynaform/build/img/logow.png"></p>
|
|
||||||
<p class="muted credit">Supplied free of charge with no support, certification, warranty, maintenance nor indemnity by ProcessMaker and its Certified Partners<br>
|
|
||||||
Copyright © 2003-<?php echo date("Y");?> ProcessMaker, Inc. All rights reserved. </p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* error503.php
|
|
||||||
*
|
|
||||||
* ProcessMaker Open Source Edition
|
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as
|
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
|
||||||
* License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$ERROR_TEXT = "503 Service unavailable ";
|
|
||||||
$ERROR_DESCRIPTION = "
|
|
||||||
The server is temporarily unable to service your request due to maintenance
|
|
||||||
downtime or capacity problems. Please try again later. <br />
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
";
|
|
||||||
|
|
||||||
$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ;
|
|
||||||
include ( $fileHeader);
|
|
||||||
?>
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* error701.php
|
|
||||||
*
|
|
||||||
* ProcessMaker Open Source Edition
|
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as
|
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
|
||||||
* License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$ERROR_TEXT = "701 workspace not available ";
|
|
||||||
$ERROR_DESCRIPTION = "You have specified a workspace not available in this server. <br>
|
|
||||||
Please review your URL and try it again.<br />
|
|
||||||
<br />
|
|
||||||
";
|
|
||||||
$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ;
|
|
||||||
include ( $fileHeader);
|
|
||||||
?>
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* error702.php
|
|
||||||
*
|
|
||||||
* ProcessMaker Open Source Edition
|
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as
|
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
|
||||||
* License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$ERROR_TEXT = "702 workspace undefined ";
|
|
||||||
$ERROR_DESCRIPTION = "You have specified an undefined workspace. <br>
|
|
||||||
Please review your URL and try it again.<br />
|
|
||||||
<br />
|
|
||||||
";
|
|
||||||
|
|
||||||
$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ;
|
|
||||||
include ( $fileHeader);
|
|
||||||
?>
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* error703.php
|
|
||||||
*
|
|
||||||
* ProcessMaker Open Source Edition
|
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as
|
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
|
||||||
* License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$ERROR_TEXT = "703 style undefined ";
|
|
||||||
$ERROR_DESCRIPTION = "You have specified an undefined style for this workspace. <br>
|
|
||||||
Please review your URL and try it again.<br />
|
|
||||||
<br />
|
|
||||||
";
|
|
||||||
|
|
||||||
$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ;
|
|
||||||
include ( $fileHeader);
|
|
||||||
?>
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* error704.php
|
|
||||||
*
|
|
||||||
* ProcessMaker Open Source Edition
|
|
||||||
* Copyright (C) 2004 - 2008 Colosa Inc.23
|
|
||||||
*
|
|
||||||
* This program is free software: you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU Affero General Public License as
|
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
|
||||||
* License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU Affero General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*
|
|
||||||
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
|
|
||||||
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
$ERROR_TEXT = "704 DB directory not found ";
|
|
||||||
$ERROR_DESCRIPTION = "You have specified an invalid directory for DB files ( database definitions ). <br>
|
|
||||||
Please review your URL and try it again.<br />
|
|
||||||
<br />
|
|
||||||
";
|
|
||||||
|
|
||||||
$fileHeader = PATH_GULLIVER_HOME . 'methods/errors/header.php' ;
|
|
||||||
include ( $fileHeader);
|
|
||||||
?>
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
<!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">
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
||||||
<title>Server Error :: </title>
|
|
||||||
<link href="style.css" rel="stylesheet" type="text/css">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<table width="100%" height="75" border="0" cellpadding="0" cellspacing="0" bgcolor="#003366">
|
|
||||||
<tr>
|
|
||||||
<td width="20px" align="center"> </td>
|
|
||||||
<td width="100px" align="center" scope="col"><img src="/js/common/core/images/default_logo.gif"></td>
|
|
||||||
<td width="45%" scope="col"> </td>
|
|
||||||
<td width="35%" class="mxbOnlineText" scope="col"><?php echo $ERROR_TEXT ?></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td height="12" colspan="4" align="center" bgcolor="#336699" scope="col"></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
<table width="70%" border="0" align="center" cellpadding="0" cellspacing="0" class="mainCopy">
|
|
||||||
<tr>
|
|
||||||
<td width="15%" align="left" scope="col"><span class="mxbOnlineTextBlue"><?php echo $ERROR_TEXT ?> </span><br />
|
|
||||||
<?php echo $ERROR_DESCRIPTION ?>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 267 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 277 B |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
@@ -1,78 +0,0 @@
|
|||||||
body {
|
|
||||||
COLOR: #004474;
|
|
||||||
FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
|
|
||||||
FONT-SIZE: 11px;
|
|
||||||
font-weight: normal;
|
|
||||||
margin: 0px;
|
|
||||||
background-color: #efeff0;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:link, a:visited {
|
|
||||||
color: #000000;
|
|
||||||
text-decoration: none;
|
|
||||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
|
||||||
font-size: 12px;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: none;
|
|
||||||
background-color: none; }
|
|
||||||
a:hover {
|
|
||||||
color: #000000;
|
|
||||||
text-decoration: underline;
|
|
||||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
|
||||||
font-size: 12px;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: none;
|
|
||||||
background-color: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
INPUT {
|
|
||||||
|
|
||||||
background-color: #FFFFCC;
|
|
||||||
|
|
||||||
border: #FFCC00 1px solid;
|
|
||||||
|
|
||||||
color: #333333;
|
|
||||||
|
|
||||||
font-family: verdana;
|
|
||||||
|
|
||||||
font-size: 8pt
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.altButtonFormat {
|
|
||||||
|
|
||||||
background-color: #FFCC00;
|
|
||||||
|
|
||||||
font-family: verdana;
|
|
||||||
|
|
||||||
border: #FFCC00 1px solid;
|
|
||||||
|
|
||||||
font-weight: bold;
|
|
||||||
|
|
||||||
font-size: 10px;
|
|
||||||
|
|
||||||
color: #333333
|
|
||||||
}
|
|
||||||
|
|
||||||
.mxbOnlineTextBlue {
|
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
|
||||||
font-size: 16px;
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: bold;
|
|
||||||
color: #004474;
|
|
||||||
text-decoration: none
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.langLink { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-style: normal; font-weight: normal; color: #003366; text-decoration: none}
|
|
||||||
.navOff { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-weight: normal; color: #003366; text-decoration: none }
|
|
||||||
.navOn { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-weight: normal; color: #6699CC; text-decoration: none }
|
|
||||||
.news { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-weight: normal; color: #336699; text-decoration: none }
|
|
||||||
.newsArchive { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-weight: normal; color: #669933; text-decoration: none }
|
|
||||||
.mainBackgr { background-attachment: scroll; background-image: url(../images/mainBackgr.gif); background-repeat: no-repeat; background-position: right top}
|
|
||||||
.mxbOnlineText { font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-style: normal; font-weight: bold; color: #FFFFFF; text-decoration: none }
|
|
||||||
.mxbOnlineLink { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-style: normal; font-weight: normal; color: #FFCC00; text-decoration: none }
|
|
||||||
.mainCopy { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; font-style: normal; font-weight: normal; color: #333333}
|
|
||||||
.copyright { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-style: normal; font-weight: normal; color: #999999}
|
|
||||||
@@ -1,287 +0,0 @@
|
|||||||
|
|
||||||
/* Reset */
|
|
||||||
* {
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Body */
|
|
||||||
body {
|
|
||||||
background: url(images/background.jpg) no-repeat top #00B4CD;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* No borders around images */
|
|
||||||
img {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Warp around everything */
|
|
||||||
#warp {
|
|
||||||
margin: 0 auto;
|
|
||||||
margin-top: 10px;
|
|
||||||
width: 985px;
|
|
||||||
font-family: Helvetica;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
#header_top {
|
|
||||||
background: url(images/top.png) no-repeat;
|
|
||||||
width: 985px;
|
|
||||||
height: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header content */
|
|
||||||
#header {
|
|
||||||
background: url(images/box_bg.png) repeat-y;
|
|
||||||
width: 985px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Page title */
|
|
||||||
#header h2 {
|
|
||||||
padding-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Subtitle */
|
|
||||||
#header h5 {
|
|
||||||
margin-top: 5px;
|
|
||||||
padding-bottom: 15px;
|
|
||||||
color: #acacac;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Content div */
|
|
||||||
#content {
|
|
||||||
background: url(images/content_bg.png) repeat-y;
|
|
||||||
width: 985px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The info text */
|
|
||||||
#text {
|
|
||||||
float: left;
|
|
||||||
margin: 10px 0 10px 60px;
|
|
||||||
width: 420px;
|
|
||||||
/* IE margin fix */
|
|
||||||
display: inline;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The info text P */
|
|
||||||
#text p {
|
|
||||||
margin-top: 5px;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 20px;
|
|
||||||
color: #292929;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The links list */
|
|
||||||
|
|
||||||
/* The list items */
|
|
||||||
|
|
||||||
/* The links */
|
|
||||||
#text a {
|
|
||||||
color: #292929;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Link hover */
|
|
||||||
#text a:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The book icon */
|
|
||||||
#book {
|
|
||||||
float: right;
|
|
||||||
width: 472px;
|
|
||||||
height: 332px;
|
|
||||||
margin: 20px 20px 10px 0;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer */
|
|
||||||
#footer {
|
|
||||||
background: url(images/box_bg.png) repeat-y;
|
|
||||||
width: 985px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer bottom */
|
|
||||||
#footer_bottom {
|
|
||||||
background: url(images/bottom.png) no-repeat;
|
|
||||||
width: 985px;
|
|
||||||
height: 28px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Twitter icon */
|
|
||||||
#twitter {
|
|
||||||
margin: 10px 0px 0px 60px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The tweet text */
|
|
||||||
#twitter_text {
|
|
||||||
float: left;
|
|
||||||
margin-left: 10px;
|
|
||||||
margin-top: 15px;
|
|
||||||
width: 300px;
|
|
||||||
color: #878787;
|
|
||||||
float: left;
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Twitter links */
|
|
||||||
#twitter_text a {
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Search form */
|
|
||||||
#searchform {
|
|
||||||
float: right;
|
|
||||||
margin: 15px 60px 0px 0px;
|
|
||||||
/* IE margin fix */
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Search input */
|
|
||||||
input#search {
|
|
||||||
background: url(images/searchfield_bg.png) no-repeat;
|
|
||||||
border: none;
|
|
||||||
height: 31px;
|
|
||||||
width: 244px;
|
|
||||||
float: right;
|
|
||||||
line-height: 30px;
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The Send button */
|
|
||||||
input#submit {
|
|
||||||
border: none;
|
|
||||||
float: right;
|
|
||||||
margin-left: 5px;
|
|
||||||
height: 31px;
|
|
||||||
width: 74px;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
input:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Social media */
|
|
||||||
#socialmedia {
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: 40px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
display: inline;
|
|
||||||
list-style: none;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Social media list items */
|
|
||||||
#socialmedia a{
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* COLOR CHANGER */
|
|
||||||
#colorchanger {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
#showChanger {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#colors {
|
|
||||||
padding: 10px;
|
|
||||||
background: #425a5e;
|
|
||||||
height: 17px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The div around the color change links */
|
|
||||||
.colorbox {
|
|
||||||
width:15px;
|
|
||||||
height:15px;
|
|
||||||
border:1px solid #050505;
|
|
||||||
float:left;
|
|
||||||
margin:0px 2px;
|
|
||||||
cursor:pointer;
|
|
||||||
display:block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Blue */
|
|
||||||
.colorblue {
|
|
||||||
background-color:#1e82ac;
|
|
||||||
}
|
|
||||||
/* Blue Hover */
|
|
||||||
.colorblue:hover {
|
|
||||||
background-color:#177197;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Red */
|
|
||||||
.colorred {
|
|
||||||
background-color:#cc2b2b;
|
|
||||||
}
|
|
||||||
/* Red Hover */
|
|
||||||
.colorred:hover {
|
|
||||||
background-color:#af1a1a;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Grey */
|
|
||||||
.colorgrey {
|
|
||||||
background-color:#4d4d4d;
|
|
||||||
}
|
|
||||||
/* Grey Hover */
|
|
||||||
.colorgrey:hover {
|
|
||||||
background-color:#7c7c7c;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Brown */
|
|
||||||
.colorbrown {
|
|
||||||
background-color:#4b3a15;
|
|
||||||
}
|
|
||||||
/* Brown Hover */
|
|
||||||
.colorbrown:hover {
|
|
||||||
background-color:#5e4b20;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Green */
|
|
||||||
.colorgreen {
|
|
||||||
background-color:#6c8b2f;
|
|
||||||
}
|
|
||||||
/* Green Hover */
|
|
||||||
.cologreen:hover {
|
|
||||||
background-color:#7da137;
|
|
||||||
}
|
|
||||||
/* Page title */
|
|
||||||
#header h2 {
|
|
||||||
color: #187086;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Page links */
|
|
||||||
#text a:hover {
|
|
||||||
color: #16687d;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Search button */
|
|
||||||
input#submit {
|
|
||||||
background: url(images/searchbutton_bg.png) no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Twitter links */
|
|
||||||
#twitter_text a {
|
|
||||||
color: #135869;
|
|
||||||
}
|
|
||||||
#textInfo{
|
|
||||||
list-style: square inside none;
|
|
||||||
padding: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
#textInfo li{
|
|
||||||
padding: 5px 0px;
|
|
||||||
text-align: justify;
|
|
||||||
}
|
|
||||||
@@ -1,144 +1,144 @@
|
|||||||
<?php
|
<?php
|
||||||
|
// Determine if HTTPS is used
|
||||||
|
$http = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ? "https" : "http";
|
||||||
|
|
||||||
$http = G::is_https() ? "https" : "http";
|
// Determine host (prefer HTTP_HOST, fallback to SERVER_NAME and SERVER_PORT)
|
||||||
$host = $_SERVER['HTTP_HOST'] ?? ($_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT']);
|
$host = $_SERVER['HTTP_HOST'] ?? ($_SERVER['SERVER_NAME'] . (isset($_SERVER['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : ''));
|
||||||
|
|
||||||
|
// Default URLs
|
||||||
$urlLogin = $http . "://" . $host . "/sys/en/lurana/login/login";
|
$urlLogin = $http . "://" . $host . "/sys/en/lurana/login/login";
|
||||||
$urlHome = $urlLogin;
|
$urlHome = $urlLogin;
|
||||||
|
|
||||||
if (isset($_GET["url"]) && $_GET["url"] != "") {
|
// Check if 'url' parameter is set and not empty
|
||||||
$url = urldecode($_GET["url"]);
|
if (!empty($_GET['url'])) {
|
||||||
$url = explode("/", $url);
|
$urlParts = explode('/', urldecode($_GET['url']));
|
||||||
|
|
||||||
$sysSys = "";
|
$sysSys = '';
|
||||||
$sysLang = "";
|
$sysLang = '';
|
||||||
$sysSkin = "";
|
$sysSkin = '';
|
||||||
|
|
||||||
if (isset($url[1]) && preg_match("/^sys(.+)$/", $url[1], $match)) {
|
if (isset($urlParts[1]) && preg_match('/^sys(.+)$/', $urlParts[1], $matches)) {
|
||||||
$sysSys = $match[1];
|
$sysSys = $matches[1];
|
||||||
|
$checkDir = PATH_DATA . "sites/" . $sysSys;
|
||||||
// Check if sys path exists
|
if (!is_dir($checkDir)) {
|
||||||
$checkDir = PATH_DATA."sites/".$sysSys;
|
|
||||||
if(!is_dir($checkDir)) {
|
|
||||||
$sysSys = '';
|
$sysSys = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($url[2])) {
|
if (isset($urlParts[2])) {
|
||||||
$sysLang = $url[2];
|
$sysLang = $urlParts[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($url[3])) {
|
if (isset($urlParts[3])) {
|
||||||
$sysSkin = $url[3];
|
$sysSkin = $urlParts[3];
|
||||||
|
$checkDir = PATH_SKIN_ENGINE . $sysSkin;
|
||||||
// Check if sys path exists
|
if (!is_dir($checkDir)) {
|
||||||
$checkDir = PATH_SKIN_ENGINE.$sysSkin;
|
$checkDir = PATH_CUSTOM_SKINS . $sysSkin;
|
||||||
if(!is_dir($checkDir)) {
|
if (!is_dir($checkDir)) {
|
||||||
// Try this again
|
|
||||||
$checkDir = PATH_CUSTOM_SKINS.$sysSkin;
|
|
||||||
if(!is_dir($checkDir)) {
|
|
||||||
$sysSkin = '';
|
$sysSkin = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if ($sysSys !== '' && $sysLang !== '' && $sysSkin !== '') {
|
||||||
if ($sysSys != "" && $sysLang != "" && $sysSkin != "") {
|
$urlLogin = sprintf('%s://%s/sys%s/%s/%s/login/login', $http, $host, $sysSys, $sysLang, $sysSkin);
|
||||||
$urlLogin = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/login/login";
|
$urlHome = sprintf('%s://%s/sys%s/%s/%s/cases/main', $http, $host, $sysSys, $sysLang, $sysSkin);
|
||||||
$urlHome = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/cases/main";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$title = "The page you requested could not be found.";
|
||||||
|
$message = <<<EOT
|
||||||
|
Possible reasons:
|
||||||
|
- The link is broken or outdated.
|
||||||
|
- The page has been moved or deleted.
|
||||||
|
- There is a typo in the URL.
|
||||||
|
|
||||||
|
What you can do:
|
||||||
|
- Double-check the URL and try again.
|
||||||
|
- Or go to the login page: $urlLogin
|
||||||
|
EOT;
|
||||||
?>
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta charset="UTF-8"/>
|
||||||
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>
|
<meta name="robots" content="noindex,nofollow"/>
|
||||||
<link href="css2/style1.css" type="text/css" rel="stylesheet"/>
|
<title><?php echo htmlspecialchars($title, ENT_QUOTES, 'UTF-8'); ?></title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-family: Verdana, Arial, sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #222;
|
||||||
|
background: #eee;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: flex-start;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
#content {
|
||||||
|
max-width: 800px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 19px;
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 15px 28px;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 12px;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
margin: 0 0 0 0;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.block {
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 15px 28px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 0 0 12px 12px;
|
||||||
|
white-space: pre-line;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
.block_exception {
|
||||||
|
background-color: #ddd;
|
||||||
|
color: #333;
|
||||||
|
padding: 15px 28px;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 12px 12px 0 0;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #6c6159;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body style="margin: 0px; overflow: auto;">
|
<body>
|
||||||
<!-- Warp around everything -->
|
<div id="content">
|
||||||
<div id="warp">
|
<h1>404 - Page Not Found</h1>
|
||||||
|
<div class="block_exception">
|
||||||
|
<h2><?php echo htmlspecialchars($title, ENT_QUOTES, 'UTF-8'); ?></h2>
|
||||||
<!-- Header top -->
|
</div>
|
||||||
<div id="header_top"></div>
|
<div class="block">
|
||||||
<!-- End header top -->
|
<?php
|
||||||
|
$escapedMessage = nl2br(htmlspecialchars($message, ENT_QUOTES, 'UTF-8'));
|
||||||
|
$escapedMessage = preg_replace_callback(
|
||||||
<!-- Header -->
|
'#(https?://[^\s]+)#',
|
||||||
<div id="header">
|
function ($matches) {
|
||||||
<table border="0" cellspacing="0" cellpadding="0" width="90%">
|
$url = htmlspecialchars($matches[0], ENT_QUOTES, 'UTF-8');
|
||||||
<tr>
|
return "<a href=\"$url\" target=\"_blank\" rel=\"noopener noreferrer\">$url</a>";
|
||||||
<td align="center">
|
},
|
||||||
<h2>Oops, page not found!</h2>
|
$escapedMessage
|
||||||
<h5>This page may be busy or the URL incorrect.</h5>
|
);
|
||||||
</td>
|
echo $escapedMessage;
|
||||||
</tr>
|
?>
|
||||||
</table>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- End Header -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- The content div -->
|
|
||||||
<div id="content">
|
|
||||||
|
|
||||||
<!-- text -->
|
|
||||||
<div id="text">
|
|
||||||
<!-- The info text -->
|
|
||||||
<strong>Possible reasons: </strong>
|
|
||||||
<ul id="textInfo">
|
|
||||||
<li>The link is broken. This may occur when you receive a link via email but your client software adds line breaks, thus distorting long URLs.</li>
|
|
||||||
<li>The page you requested is no longer active.</li>
|
|
||||||
<li>There is a spelling mistake in the link, in case you entered the URL into the browser's address toolbar.</li>
|
|
||||||
</ul>
|
|
||||||
<ul>
|
|
||||||
<br/>
|
|
||||||
<h3>What you can do?</h3>
|
|
||||||
<!-- End info text -->
|
|
||||||
<br/>
|
|
||||||
<!-- Page links -->
|
|
||||||
<ul id="textInfo">
|
|
||||||
<li>You might try retyping the URL and trying again.</li>
|
|
||||||
<li>Or we could take you back to the <a href="<?php echo htmlspecialchars($urlHome); ?>">home page.</a></li>
|
|
||||||
<li>Or you could start again from the <a href="<?php echo htmlspecialchars($urlLogin); ?>">login page.</a></li>
|
|
||||||
</ul>
|
|
||||||
<!-- End page links -->
|
|
||||||
</div>
|
|
||||||
<!-- End info text -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Book icon -->
|
|
||||||
<img id="book" src="images/img-01.png" alt="Book iCon" />
|
|
||||||
<!-- End Book icon -->
|
|
||||||
|
|
||||||
<div style="clear:both;"></div>
|
|
||||||
</div>
|
|
||||||
<!-- End Content -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Footer -->
|
|
||||||
<div id="footer" style="padding-top: 10px; color: #878787; font-size: 10px; text-align: center;">
|
|
||||||
<span>© Copyright 2000 - <?php echo date("Y"); ?> </span>
|
|
||||||
</div>
|
|
||||||
<!-- End Footer -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Footer bottom -->
|
|
||||||
<div id="footer_bottom"></div>
|
|
||||||
<!-- End Footer bottom -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Social Media list -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- End Social media -->
|
|
||||||
<div style="clear:both;"></div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- End Warp around everything -->
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -1,287 +0,0 @@
|
|||||||
|
|
||||||
/* Reset */
|
|
||||||
* {
|
|
||||||
margin: 0 auto;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Body */
|
|
||||||
body {
|
|
||||||
background: url(../images/background.jpg) no-repeat top #8F8F8F;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* No borders around images */
|
|
||||||
img {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Warp around everything */
|
|
||||||
#warp {
|
|
||||||
margin: 0 auto;
|
|
||||||
margin-top: 10px;
|
|
||||||
width: 985px;
|
|
||||||
font-family: Helvetica;
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header */
|
|
||||||
#header_top {
|
|
||||||
background: url(../images/top.png) no-repeat;
|
|
||||||
width: 985px;
|
|
||||||
height: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Header content */
|
|
||||||
#header {
|
|
||||||
background: url(../images/box_bg.png) repeat-y;
|
|
||||||
width: 985px;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Page title */
|
|
||||||
#header h2 {
|
|
||||||
padding-top: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Subtitle */
|
|
||||||
#header h5 {
|
|
||||||
margin-top: 5px;
|
|
||||||
padding-bottom: 15px;
|
|
||||||
color: #acacac;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Content div */
|
|
||||||
#content {
|
|
||||||
background: url(../images/content_bg.png) repeat-y;
|
|
||||||
width: 985px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The info text */
|
|
||||||
#text {
|
|
||||||
float: left;
|
|
||||||
margin: 10px 0 10px 60px;
|
|
||||||
width: 420px;
|
|
||||||
/* IE margin fix */
|
|
||||||
display: inline;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The info text P */
|
|
||||||
#text p {
|
|
||||||
margin-top: 5px;
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 20px;
|
|
||||||
color: #292929;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The links list */
|
|
||||||
|
|
||||||
/* The list items */
|
|
||||||
|
|
||||||
/* The links */
|
|
||||||
#text a {
|
|
||||||
color: #292929;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Link hover */
|
|
||||||
#text a:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The book icon */
|
|
||||||
#book {
|
|
||||||
float: right;
|
|
||||||
width: 472px;
|
|
||||||
height: 332px;
|
|
||||||
margin: 20px 20px 10px 0;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer */
|
|
||||||
#footer {
|
|
||||||
background: url(../images/box_bg.png) repeat-y;
|
|
||||||
width: 985px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer bottom */
|
|
||||||
#footer_bottom {
|
|
||||||
background: url(../images/bottom.png) no-repeat;
|
|
||||||
width: 985px;
|
|
||||||
height: 28px;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Twitter icon */
|
|
||||||
#twitter {
|
|
||||||
margin: 10px 0px 0px 60px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The tweet text */
|
|
||||||
#twitter_text {
|
|
||||||
float: left;
|
|
||||||
margin-left: 10px;
|
|
||||||
margin-top: 15px;
|
|
||||||
width: 300px;
|
|
||||||
color: #878787;
|
|
||||||
float: left;
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Twitter links */
|
|
||||||
#twitter_text a {
|
|
||||||
text-decoration: none;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Search form */
|
|
||||||
#searchform {
|
|
||||||
float: right;
|
|
||||||
margin: 15px 60px 0px 0px;
|
|
||||||
/* IE margin fix */
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Search input */
|
|
||||||
input#search {
|
|
||||||
background: url(../images/searchfield_bg.png) no-repeat;
|
|
||||||
border: none;
|
|
||||||
height: 31px;
|
|
||||||
width: 244px;
|
|
||||||
float: right;
|
|
||||||
line-height: 30px;
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The Send button */
|
|
||||||
input#submit {
|
|
||||||
border: none;
|
|
||||||
float: right;
|
|
||||||
margin-left: 5px;
|
|
||||||
height: 31px;
|
|
||||||
width: 74px;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
input:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Social media */
|
|
||||||
#socialmedia {
|
|
||||||
margin-top: 5px;
|
|
||||||
margin-right: 40px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
display: inline;
|
|
||||||
list-style: none;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Social media list items */
|
|
||||||
#socialmedia a{
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* COLOR CHANGER */
|
|
||||||
#colorchanger {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
#showChanger {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#colors {
|
|
||||||
padding: 10px;
|
|
||||||
background: #425a5e;
|
|
||||||
height: 17px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The div around the color change links */
|
|
||||||
.colorbox {
|
|
||||||
width:15px;
|
|
||||||
height:15px;
|
|
||||||
border:1px solid #050505;
|
|
||||||
float:left;
|
|
||||||
margin:0px 2px;
|
|
||||||
cursor:pointer;
|
|
||||||
display:block;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Blue */
|
|
||||||
.colorblue {
|
|
||||||
background-color:#1e82ac;
|
|
||||||
}
|
|
||||||
/* Blue Hover */
|
|
||||||
.colorblue:hover {
|
|
||||||
background-color:#177197;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Red */
|
|
||||||
.colorred {
|
|
||||||
background-color:#cc2b2b;
|
|
||||||
}
|
|
||||||
/* Red Hover */
|
|
||||||
.colorred:hover {
|
|
||||||
background-color:#af1a1a;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Grey */
|
|
||||||
.colorgrey {
|
|
||||||
background-color:#4d4d4d;
|
|
||||||
}
|
|
||||||
/* Grey Hover */
|
|
||||||
.colorgrey:hover {
|
|
||||||
background-color:#7c7c7c;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Brown */
|
|
||||||
.colorbrown {
|
|
||||||
background-color:#4b3a15;
|
|
||||||
}
|
|
||||||
/* Brown Hover */
|
|
||||||
.colorbrown:hover {
|
|
||||||
background-color:#5e4b20;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Green */
|
|
||||||
.colorgreen {
|
|
||||||
background-color:#6c8b2f;
|
|
||||||
}
|
|
||||||
/* Green Hover */
|
|
||||||
.cologreen:hover {
|
|
||||||
background-color:#7da137;
|
|
||||||
}
|
|
||||||
/* Page title */
|
|
||||||
#header h2 {
|
|
||||||
color: #187086;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Page links */
|
|
||||||
#text a:hover {
|
|
||||||
color: #16687d;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Search button */
|
|
||||||
input#submit {
|
|
||||||
background: url(../images/searchbutton_bg.png) no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Twitter links */
|
|
||||||
#twitter_text a {
|
|
||||||
color: #135869;
|
|
||||||
}
|
|
||||||
#textInfo{
|
|
||||||
list-style: square inside none;
|
|
||||||
padding: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
#textInfo li{
|
|
||||||
padding: 5px 0px;
|
|
||||||
text-align: justify;
|
|
||||||
}
|
|
||||||
@@ -1,129 +1,152 @@
|
|||||||
<?php if (function_exists("http_response_code")) {
|
<?php
|
||||||
http_response_code(404);
|
// Tell the browser (and search‑engines) that the page is missing
|
||||||
}
|
// – use the protocol that the client sent (HTTP/1.1, HTTP/2, …)
|
||||||
|
$protocol = $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.1';
|
||||||
|
header($protocol . ' 404 Not Found');
|
||||||
|
header('Content-Type: text/html; charset=UTF-8');
|
||||||
|
|
||||||
$http = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] == "on")? "https" : "http";
|
|
||||||
$host = $_SERVER['HTTP_HOST'] ?? ($_SERVER['SERVER_NAME'] . ':' . $_SERVER['SERVER_PORT']);
|
|
||||||
|
|
||||||
$urlLogin = $http . "://" . $host . "/sys/en/luranasoft/login/login";
|
// Determine if HTTPS is used
|
||||||
$urlHome = $urlLogin;
|
$http = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') ? "https" : "http";
|
||||||
|
|
||||||
if (isset($_GET["url"]) && $_GET["url"] != "") {
|
// Determine host (prefer HTTP_HOST, fallback to SERVER_NAME and SERVER_PORT)
|
||||||
$url = urldecode($_GET["url"]);
|
$host = $_SERVER['HTTP_HOST'] ?? ($_SERVER['SERVER_NAME'] . (isset($_SERVER['SERVER_PORT']) ? ':' . $_SERVER['SERVER_PORT'] : ''));
|
||||||
$url = explode("/", $url);
|
|
||||||
|
|
||||||
$sysSys = "";
|
// Default URLs
|
||||||
$sysLang = "";
|
$urlLogin = $http . "://" . $host . "/sys/en/lurana/login/login";
|
||||||
$sysSkin = "";
|
$urlHome = $urlLogin;
|
||||||
|
|
||||||
if (isset($url[1]) && preg_match("/^sys(.+)$/", $url[1], $match)) {
|
// Check if 'url' parameter is set and not empty
|
||||||
$sysSys = $match[1];
|
if (!empty($_GET['url'])) {
|
||||||
|
$urlParts = explode('/', urldecode($_GET['url']));
|
||||||
|
|
||||||
|
$sysSys = '';
|
||||||
|
$sysLang = '';
|
||||||
|
$sysSkin = '';
|
||||||
|
|
||||||
|
if (isset($urlParts[1]) && preg_match('/^sys(.+)$/', $urlParts[1], $matches)) {
|
||||||
|
$sysSys = $matches[1];
|
||||||
|
$checkDir = PATH_DATA . "sites/" . $sysSys;
|
||||||
|
if (!is_dir($checkDir)) {
|
||||||
|
$sysSys = '';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($url[2])) {
|
if (isset($urlParts[2])) {
|
||||||
$sysLang = $url[2];
|
$sysLang = $urlParts[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($url[3])) {
|
if (isset($urlParts[3])) {
|
||||||
$sysSkin = $url[3];
|
$sysSkin = $urlParts[3];
|
||||||
|
$checkDir = PATH_SKIN_ENGINE . $sysSkin;
|
||||||
|
if (!is_dir($checkDir)) {
|
||||||
|
$checkDir = PATH_CUSTOM_SKINS . $sysSkin;
|
||||||
|
if (!is_dir($checkDir)) {
|
||||||
|
$sysSkin = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
if ($sysSys !== '' && $sysLang !== '' && $sysSkin !== '') {
|
||||||
if ($sysSys != "" && $sysLang != "" && $sysSkin != "") {
|
$urlLogin = sprintf('%s://%s/sys%s/%s/%s/login/login', $http, $host, $sysSys, $sysLang, $sysSkin);
|
||||||
$urlLogin = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/login/login";
|
$urlHome = sprintf('%s://%s/sys%s/%s/%s/cases/main', $http, $host, $sysSys, $sysLang, $sysSkin);
|
||||||
$urlHome = $http . "://" . $host . "/sys" . $sysSys . "/" . $sysLang . "/" . $sysSkin . "/cases/main";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$title = "The page you requested could not be found.";
|
||||||
|
$message = <<<EOT
|
||||||
|
Possible reasons:
|
||||||
|
- The link is broken or outdated.
|
||||||
|
- The page has been moved or deleted.
|
||||||
|
- There is a typo in the URL.
|
||||||
|
|
||||||
|
What you can do:
|
||||||
|
- Double-check the URL and try again.
|
||||||
|
- Or go to the login page: $urlLogin
|
||||||
|
EOT;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<META http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta charset="UTF-8"/>
|
||||||
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>
|
<meta name="robots" content="noindex,nofollow"/>
|
||||||
<link href="css2/style1.css" type="text/css" rel="stylesheet"/>
|
<title><?php echo htmlspecialchars($title, ENT_QUOTES, 'UTF-8'); ?></title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-family: Verdana, Arial, sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #222;
|
||||||
|
background: #eee;
|
||||||
|
padding: 10px;
|
||||||
|
margin: 0;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: flex-start;
|
||||||
|
height: 100vh;
|
||||||
|
}
|
||||||
|
#content {
|
||||||
|
max-width: 800px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 19px;
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 15px 28px;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 12px;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
h2 {
|
||||||
|
margin: 0 0 0 0;
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
.block {
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 15px 28px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 0 0 12px 12px;
|
||||||
|
white-space: pre-line;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #444;
|
||||||
|
}
|
||||||
|
.block_exception {
|
||||||
|
background-color: #ddd;
|
||||||
|
color: #333;
|
||||||
|
padding: 15px 28px;
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
border-radius: 12px 12px 0 0;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #6c6159;
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body style="margin: 0px; overflow: auto;">
|
<body>
|
||||||
<!-- Warp around everything -->
|
<div id="content">
|
||||||
<div id="warp">
|
<h1>404 - Page Not Found</h1>
|
||||||
|
<div class="block_exception">
|
||||||
|
<h2><?php echo htmlspecialchars($title, ENT_QUOTES, 'UTF-8'); ?></h2>
|
||||||
<!-- Header top -->
|
</div>
|
||||||
<div id="header_top"></div>
|
<div class="block">
|
||||||
<!-- End header top -->
|
<?php
|
||||||
|
$escapedMessage = nl2br(htmlspecialchars($message, ENT_QUOTES, 'UTF-8'));
|
||||||
|
$escapedMessage = preg_replace_callback(
|
||||||
<!-- Header -->
|
'#(https?://[^\s]+)#',
|
||||||
<div id="header">
|
function ($matches) {
|
||||||
<table border="0" cellspacing="0" cellpadding="0" width="90%">
|
$url = htmlspecialchars($matches[0], ENT_QUOTES, 'UTF-8');
|
||||||
<tr>
|
return "<a href=\"$url\" target=\"_blank\" rel=\"noopener noreferrer\">$url</a>";
|
||||||
<td align="center">
|
},
|
||||||
<h2>Oops, page not found!</h2>
|
$escapedMessage
|
||||||
<h5>This page may be busy or the URL incorrect.</h5>
|
);
|
||||||
</td>
|
echo $escapedMessage;
|
||||||
</tr>
|
?>
|
||||||
</table>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- End Header -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- The content div -->
|
|
||||||
<div id="content">
|
|
||||||
|
|
||||||
<!-- text -->
|
|
||||||
<div id="text">
|
|
||||||
<!-- The info text -->
|
|
||||||
<strong>Possible reasons: </strong>
|
|
||||||
<ul id="textInfo">
|
|
||||||
<li>The link is broken. This may occur when you receive a link via email but your client software adds line breaks, thus distorting long URLs.</li>
|
|
||||||
<li>The page you requested is no longer active.</li>
|
|
||||||
<li>There is a spelling mistake in the link, in case you entered the URL into the browser's address toolbar.</li>
|
|
||||||
</ul>
|
|
||||||
<ul>
|
|
||||||
<br/>
|
|
||||||
<h3>What you can do?</h3>
|
|
||||||
<!-- End info text -->
|
|
||||||
<br/>
|
|
||||||
<!-- Page links -->
|
|
||||||
<ul id="textInfo">
|
|
||||||
<li>You might try retyping the URL and trying again.</li>
|
|
||||||
<li>Or we could take you back to the <a href="<?php echo $urlHome; ?>">home page.</a></li>
|
|
||||||
<li>Or you could start again from the <a href="<?php echo $urlLogin; ?>">login page.</a></li>
|
|
||||||
</ul>
|
|
||||||
<!-- End page links -->
|
|
||||||
</div>
|
|
||||||
<!-- End info text -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Book icon -->
|
|
||||||
<img id="book" src="images/img-01.png" alt="Book iCon" />
|
|
||||||
<!-- End Book icon -->
|
|
||||||
|
|
||||||
<div style="clear:both;"></div>
|
|
||||||
</div>
|
|
||||||
<!-- End Content -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Footer -->
|
|
||||||
<div id="footer" style="padding-top: 10px; color: #878787; font-size: 10px; text-align: center;">
|
|
||||||
<span>© Copyright 2000 - <?php echo date("Y"); ?> </span>
|
|
||||||
</div>
|
|
||||||
<!-- End Footer -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Footer bottom -->
|
|
||||||
<div id="footer_bottom"></div>
|
|
||||||
<!-- End Footer bottom -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Social Media list -->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- End Social media -->
|
|
||||||
<div style="clear:both;"></div>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<!-- End Warp around everything -->
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 267 B |
|
Before Width: | Height: | Size: 277 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |