<?php
    require_once(__DIR__ . "/../application/config.php");
?>
<!DOCTYPE html>
<html lang='en'>
    <head>
        <meta content='text/html; charset=windows-1252' http-equiv='content-type'/>
        <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'>
        <title>ERROR <?=http_response_code()?> - SWDB</title>
        <link rel='shortcut icon' href='<?=$root?>img/layout/logo/favicon.ico'>
        <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>ui.css'/>
        <link rel='stylesheet' type='text/css' href='<?=$path["css"]?>error.css'/>
        <meta name="robots" content="noindex follow"/>
    </head>
    <body>
<?php
        include __DIR__ . "/../application/inc/header.php";
?>
        <div class='section'>
            <h3 class='section_title'>ERROR</h3>
            <table id='error_code' class='entry'>
                <tr>
                    <td id='error_number'>
                        <?=http_response_code()?>
                    </td>
                    <td id='error_tag'>
                        ERROR
                        <br/>
                        CODE
                    </td>
                <tr>
            </table>
            <div id='error_message' class='entry'>
                <ul>
                    <li>
                        <a href='javascript:location.reload();'>Reload</a>
                    </li>
                    <li>
                        <a href='javascript:history.go(-1);'>Back to previous page</a>
                    </li>
                    <li>
                        <a href='<?=$root?>'>Home Page</a>
                    </li>
                </ul>
            </div> <!-- #error_message -->
        </div> <!-- .section -->
<?php
        include __DIR__ . "/../application/inc/footer.php";
?>
    </body>
</html>
