404.php 1.08 KB
Newer Older
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
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>404 - Not Found</title>

	<link href='http://fonts.googleapis.com/css?family=Ubuntu&amp;subset=latin' rel='stylesheet' type='text/css'>

	<style type="text/css">
		body {
			background-color: #fff;
			margin: 45px 0 0 0;
			font-family: 'Ubuntu', sans-serif;
			font-size: 16px;
			color: #3f3f3f;
		}

		h1 {
			font-size: 40px;
			margin: 0 0 10px 0;
		}

		a {
			color: #000;
		}

		#wrapper {
			width: 740px;
			margin: 0 auto;
		}

		#content {
			padding: 10px 10px 10px 10px;
			background-color: #ffebe8;
			border: 1px solid #dd3c10;
			border-radius: 10px;
		}
	</style>
</head>
<body>
	<div id="wrapper">
		<?php
			$messages = array('Should we ask for directions?', 'This doesn\'t look familiar.', 'We need a map.');
			$message = $messages[mt_rand(0, 2)];
		?>

		<h1><?php echo $message; ?></h1>

		<div id="content">
			The resource you requested was not found.
			<br /><br />
			Would you like go to our <a href="<?php echo System\Config::get('application.url'); ?>">home page</a> instead?
		</div>
	</div>
</body>
</html>