<!DOCTYPE html>
<html lang="en">
<?php $this->load->view('auth/head.php'); ?>
<body>
<div class="login-wrapper">
    <div id="login">
        <div class="login-box relative center">
            <div class="absoluteCentered" style="width: 90%">
                <?php if (isset($message)) { ?>
                    <div class="alert <?= htmlspecialchars($message['type']) ?>"><?= htmlspecialchars($message['content']) ?></div>
                <?php } ?>
                <?php if (isset($topMessage)) { ?>
                    <h2 class="margin-top-large"><?= htmlspecialchars($topMessage) ?></h2>
                <?php } ?>
                <?php if (isset($bottomMessage)) { ?>
                    <p class="margin-bottom">
                        <?= htmlspecialchars($bottomMessage) ?>
                    </p>
                <?php } ?>
                <div class="margin-top-large"><a href="/">Go to the login page</a></div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
