<?php
/**
 * -------------------------------------------------------------------------
 *
 * Template for rendering a page at the incorrect URL.
 *
 * -------------------------------------------------------------------------
 */

    sendHeaderHTML    (   );
    sendStatus404     (   );
    sendHeaderExpires ( 0 );
    stopIfHead        (   );

    /**
     * ---------------------------------------------------------------------
     *
     * Generate page content.
     *
     * ---------------------------------------------------------------------
     */

?><!DOCTYPE html>
<html lang="en" class="error-page">
    <?php mimimiModule ( 'snippets/head.tpl' ) ?>
    <body>
        <div class="screen">
            <main class="workspace">
                <div class="modal notification">
                    <h1>Page is not found!</h1>
                    <p>Oops, something went wrong! There is no such page on this site.</p>
                </div>
            </main>
            <?php
                mimimiModule ( helperHasAdmin ( ) ? 'snippets/menu.tpl'
                                                  : 'snippets/menu-login.tpl' );
                mimimiModule ( 'snippets/statusbar.tpl' );
            ?>
        </div>
        <?php mimimiModule ( 'snippets/scripts.tpl' ) ?>
    </body>
</html>