<?php require_once("../resources/config.php"); ?>

<?php include(TEMPLATE_FRONT . DS . "header.php"); ?>

<!-- Page Content -->
<div class="container">

    <header>
        <h1 class="text-center">Login</h1>
        <h2 class="text-center bg-warning"><?php display_message(); ?></h2>
        <h2 class="text-center bg-success"><?php display_message(); ?></h2>
        <div class="col-sm-4 col-sm-offset-5">
            <form class="" action="" method="post" enctype="multipart/form-data">

                <?php login_user(); ?>

                <div class="form-group"><label for="">
                        Username<input type="text" name="username" class="form-control"></label>
                </div>
                <div class="form-group"><label for="password">
                        Password<input type="password" name="password" class="form-control"></label>
                </div>

                <div class="form-group">
                    <input type="submit" name="submit" class="btn btn-primary">
                </div>
            </form>
            <div>
                <a href="sign_up.php">New user? Sign up here!</a>
            </div><br>

            <div>
                <a href="admin_login.php">Admin</a>
            </div>
        </div>





    </header>


</div>

<?php include(TEMPLATE_FRONT . DS . "footer.php"); ?>