<?php 
	require "models/rivermedia.php";
	$rivermedia = new RIVERMEDIA;
	//$rivermedia->auth();
	$rivermedia->login();
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title><?php include('includes/titlebar.php'); ?></title>

    <!-- Bootstrap -->
    <link href="public/vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link href="public/vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <!-- Animate.css -->
    <link href="https://colorlib.com/polygon/gentelella/css/animate.min.css" rel="stylesheet">

    <!-- Custom Theme Style -->
    <link href="public/stylesheets/custom.css" rel="stylesheet">
  </head>

  <body class="login">
    <div>
      <a class="hiddenanchor" id="signup"></a>
      <a class="hiddenanchor" id="signin"></a>

      <div class="login_wrapper">
        <div class="animate form login_form">
          <section class="login_content">
            <form id="loginform" action="/login/" target="_self" method="POST">
              <h1>Admin Login</h1>
              <div>
                <input type="text" class="form-control" name="username" id="username" placeholder="Username" required />
              </div>
              <div>
                <input type="password" class="form-control" name="password" id="password" placeholder="Password" required />
              </div>
              <div>
                <button type="submit" class="btn btn-primary submit">Log in</button>
              </div>

              <div class="clearfix"></div>

              <div class="separator">

                <div class="clearfix"></div>
                <br />

                <div>
                  <h1><img src="public/media/img/logo.jpg" alt="River Media" /></h1>
                  <p><?php $rivermedia->copyright(); ?> River Media. A division of <a href="http://www.myriver.com/" target="_blank">RIVER GROUP</a></p>
                </div>
              </div>
            </form>
          </section>
        </div>
      </div>
    </div>
  </body>
</html>