<?php

include 'core/class/include.php';

?>
<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no">

    <title>kPanel - Erreur 404</title>

    <link rel="icon" type="image/x-icon" href="/imgs/kpanel.png"/>

    <!-- BEGIN GLOBAL MANDATORY STYLES -->

    <link href="https://fonts.googleapis.com/css?family=Quicksand:400,500,600,700&display=swap" rel="stylesheet">

    <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />

    <link href="/assets/css/plugins.css" rel="stylesheet" type="text/css" />

    <link href="/assets/css/pages/error/style-400.css" rel="stylesheet" type="text/css" />

    <!-- END GLOBAL MANDATORY STYLES -->

    

</head>

<body class="error404 text-center">

    

    <div class="container-fluid">

        <div class="row">

            <div class="col-md-4 mr-auto mt-5 text-md-left text-center">

                <a href="index.html" class="ml-md-5">

                    <img alt="image-404" src="/imgs/kpanel.png" class="theme-logo">

                </a>

            </div>

        </div>

    </div>

    <div class="container-fluid error-content">

        <div class="">

            <h1 class="error-number">404</h1>

            <p class="mini-text">Ooops!</p>

            <p class="error-text mb-4 mt-1">La page que vous avez demandée n'a pas été trouvée!</p>
            <?php if (Account::IsAuthentified()) { ?>
            <a href="/dashboard" class="btn btn-primary mt-5">Retour au panel</a>
            <?php } else {?>
            <a href="/home/" class="btn btn-primary mt-5">Acceuil</a>
            <?php } ?> 

        </div>

    </div>    

    <!-- BEGIN GLOBAL MANDATORY SCRIPTS -->

    <script src="/assets/js/libs/jquery-3.1.1.min.js"></script>

    <script src="/bootstrap/js/popper.min.js"></script>

    <script src="/bootstrap/js/bootstrap.min.js"></script>

    <!-- END GLOBAL MANDATORY SCRIPTS -->

</body>

</html>