replacing tabs by spaces
parent
e3f997e556
commit
66c75225ae
182
index-large.php
182
index-large.php
|
@ -1,97 +1,97 @@
|
||||||
<?php
|
<?php
|
||||||
$code = $_GET["code"];
|
$code = $_GET["code"];
|
||||||
$number = array('oh!', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine');
|
$number = array('oh!', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine');
|
||||||
$description = array (
|
$description = array (
|
||||||
401 => "of something you cannot see<br />because you are not logged in",
|
401 => "of something you cannot see<br />because you are not logged in",
|
||||||
403 => "of something you should<br />probably not be looking for",
|
403 => "of something you should<br />probably not be looking for",
|
||||||
404 => 'sorry, that page doesn\'t<br />exist or has been moved',
|
404 => 'sorry, that page doesn\'t<br />exist or has been moved',
|
||||||
500 => "of something that cannot be shown<br />because the server failed to process it"
|
500 => "of something that cannot be shown<br />because the server failed to process it"
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Error <?php echo $_GET["code"]?></title>
|
<title>Error <?php echo $_GET["code"]?></title>
|
||||||
<meta name="robots" content="noindex">
|
<meta name="robots" content="noindex">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
@font-face{
|
@font-face{
|
||||||
font-family:'GothamBold';
|
font-family:'GothamBold';
|
||||||
src:url("gothambold.otf") format("opentype");
|
src:url("gothambold.otf") format("opentype");
|
||||||
}
|
}
|
||||||
@font-face{
|
@font-face{
|
||||||
font-family:'GothamLight';
|
font-family:'GothamLight';
|
||||||
src:url("gothamlight.otf") format("opentype");
|
src:url("gothamlight.otf") format("opentype");
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
font-family:"GothamBold";
|
font-family:"GothamBold";
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
.light {
|
.light {
|
||||||
font-family:'GothamLight';
|
font-family:'GothamLight';
|
||||||
}
|
}
|
||||||
* {
|
* {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
-khtml-user-select: none;
|
-khtml-user-select: none;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
#main {
|
#main {
|
||||||
display: block;
|
display: block;
|
||||||
width: 620px;
|
width: 620px;
|
||||||
height: 400px;
|
height: 400px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin: -200px 0 0 -310px;
|
margin: -200px 0 0 -310px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #111;
|
color: #111;
|
||||||
}
|
}
|
||||||
.code {
|
.code {
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-size: 6em;
|
font-size: 6em;
|
||||||
margin-bottom: 0.2em;
|
margin-bottom: 0.2em;
|
||||||
}
|
}
|
||||||
.code p {
|
.code p {
|
||||||
line-height: 1em;
|
line-height: 1em;
|
||||||
}
|
}
|
||||||
.small {
|
.small {
|
||||||
font-size: 0.5em;
|
font-size: 0.5em;
|
||||||
}
|
}
|
||||||
.line {
|
.line {
|
||||||
margin: 2em;
|
margin: 2em;
|
||||||
height: 2px;
|
height: 2px;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
background-color: #111;
|
background-color: #111;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
a, a:hover, a:active, a:link {
|
a, a:hover, a:active, a:link {
|
||||||
font-family: "GothamBold";
|
font-family: "GothamBold";
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #111;
|
color: #111;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<div class="code">
|
<div class="code">
|
||||||
<p><?=$number[ $code[ 0 ] ]?></p>
|
<p><?=$number[ $code[ 0 ] ]?></p>
|
||||||
<p <? if ( $code[ 2 ] != 0 ) echo 'class="small"' ?>><?=$number[ $code[ 1 ] ]?></p>
|
<p <? if ( $code[ 2 ] != 0 ) echo 'class="small"' ?>><?=$number[ $code[ 1 ] ]?></p>
|
||||||
<p <? if ( $code[ 2 ] == 0 ) echo 'class="small"' ?>><?=$number[ $code[ 2 ] ]?></p>
|
<p <? if ( $code[ 2 ] == 0 ) echo 'class="small"' ?>><?=$number[ $code[ 2 ] ]?></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="description light">
|
<div class="description light">
|
||||||
<?=$description[ $code ]?>
|
<?=$description[ $code ]?>
|
||||||
</div>
|
</div>
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
<div class="description light">
|
<div class="description light">
|
||||||
<a target="_blank" href="https://twitter.com/syn2cat">contact us</a><br />if you think this is a mistake
|
<a target="_blank" href="https://twitter.com/syn2cat">contact us</a><br />if you think this is a mistake
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue