<?php
define('R', $_SERVER['DOCUMENT_ROOT']);
define('S', R.'/system');
require_once(R.'/system/kernel.php');
$tmp->header('error');
$code = $db->guard($_GET['code']);
$error_list = array('404' => '404 Not Found', '403' => '403 Forbidden');
$tmp->div('error', $error_list[$code]);
$tmp->div('menu', '<a href="/">'.img('link.png').' '.Language::config('home').'</a>');
$tmp->footer();
?>