Sie sind nicht angemeldet.
DerDaniel
God
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 |
ErrorDocument 400 /error.php?id=400 ErrorDocument 401 /error.php?id=401 ErrorDocument 402 /error.php?id=402 ErrorDocument 403 /error.php?id=403 ErrorDocument 404 /error.php?id=404 ErrorDocument 500 /error.php?id=500 ErrorDocument 501 /error.php?id=501 ErrorDocument 502 /error.php?id=502 ErrorDocument 503 /error.php?id=503 |
![]() |
Quellcode |
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 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
<?php /* * $Id: error.php,v 1.10 2004/11/19 19:57:08 yogi Exp $ * * Released under the terms of the GNU General Public License * _ _ _ * _____ ___ _| |/ _|___ ___ ___ ___ _| |___ * | | . | . | _| . | _| . | ._|_| . | ._| * |_|_|_|___|___|_| |___|_| |__ |___|_|___|___| * [url]http://www.modforge.de/[/url] |___| */ $errors = array( '?' => 'Unkown Error', 400 => 'Bad Syntax', 401 => 'Unauthorized', 402 => 'Not Used (Payment Granted)', 403 => 'Forbidden', 404 => 'Not Found', 500 => 'Internal Error', 501 => 'Not Implemented', 502 => 'Overloaded', 503 => 'Gateway Timeout' ); if (! (is_numeric($id) and array_key_exists($id, $errors))) $id = '?'; echo '<?xml version="1.0" encoding="iso-8859-1"?>' . "\n"; ?> <!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> <title>modforge.de</title> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /> <meta name="author" content="modforge.de" /> <meta name="description" content="Casemodding, Wasserkühlung, Overclockung und vieles mehr" /> <meta name="keywords" content="case modding casemodding casemod overclocking tutorial tech water cooling watercooling wasserkühler wasserkühlung test elektronik hardware software mainboard cpu prozessor grafikkarte artikel howto löten led widerstand schrauben dremel cube lianli yeong yang cube" /> <link rel="shortcut icon" href="/favicon.ico" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <style type="text/css"> <!-- body { background-color: #104070; color: #ffffff; font-family: verdana, arial, helvetica, sans-serif; margin: 140px 20px; text-align: center; } #content { margin: 0 auto; width: 520px; text-align: left; } #errorheader { border: 1px solid #aaaaaa; background: url('/includes/styles/blue/header.png') no-repeat 0 50%; background-color: #1f4f7f; } #errorheader h1 { margin: 20px 40px; font-size: 40px; font-weight: bold; text-align: right; } a:link, a:visited, a:active, .url { color: #ffaa00; text-decoration: underline; } a:hover { color: #eeddbb; } --> </style> </head> <body> <div id="content"> <div id="errorheader"> <h1><?= $id ?></h1> </div> <h2>Fehler <?= $id ?> - <?= $errors[$id] ?></h2> <p>Die angeforderte Seite<br /> ²²²<span class="url">http://<?= $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] ?></span><br /> kann nicht angezeigt werden.</p> <? if (! empty($_SERVER['HTTP_REFERER'])) { ?> <p>Zurück zu <a href="<?= $_SERVER['HTTP_REFERER'] ?>" class="url"><?= $_SERVER['HTTP_REFERER'] ?></a></p> <? } ?> <p>Zur <a href="/" class="url">Startseite</a>.</p> </div> </body> </html> |
-