<?php
session_start();
require 'crsf.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.0">
    <link rel="stylesheet" href="css/style.css" media="screen" title="no title">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
    <title>Login Page</title>
</head>

<body>
    <div class="input">
        <form method="post" action="proses_login">
        <h1>LOGIN</h1>
        <div class="box-input">
            <i class="fas fa-envelope-open-text"></i>
            <input type="text" name="email" placeholder="Email">
        </div>
        <div class="box-input">
            <i class="fas fa-lock"></i>
            <input type="password" name="password" placeholder="Password">
        </div>
        <input type="hidden" name="token" value="<?= csrf_token(); ?>">
        <button type="submit" name="login" class="btn-input">LOGIN</button>
        <div class="bottom">
            <p>Belum Punya akun?
                <a href="Register.html">Register Disini</a>
            </p>
        </div>
    </div>
    
</body>
</html>