35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
<?php
|
|
|
|
$protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? "https://" : "http://";
|
|
$host = $_SERVER['HTTP_HOST'];
|
|
$currentUrl = $protocol . $host;
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="hu" dir="ltr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Error</title>
|
|
<link rel="stylesheet" href="<?php echo $currentUrl;?>/css/error.css">
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<div class="content">
|
|
<h2>HIBA</h2>
|
|
<h4>Hoppá! Az oldal nem található</h4>
|
|
<p>Az oldal amit meg szerettél volna látogatni nem létezik vagy nincsen jogod megtekinteni. Lépj vissza a fő oldalra.</p>
|
|
<a onclick="window.open(window.location.origin, '_self');">Vissza a fő oldalra</a>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
var container = document.getElementById('container');
|
|
window.onmousemove = function(e) {
|
|
var x = - e.clientX/5,
|
|
y = - e.clientY/5;
|
|
container.style.backgroundPositionX = x + 'px';
|
|
container.style.backgroundPositionY = y + 'px';
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|