<?php
	include "top.php";
	include "MLCode.php";
	
	//add code to make sure its the correct ip address or mac address
?>
<!DOCTYPE>
<html>
	<head>
    	<link rel="stylesheet" type="text/css" href="body.css">
        <style>
			.error {color: red;}
		</style>
    </head>
   	<body class="background">
    	<div class="bodyContainer">
        	<p><span class="error">* required field.</span></p>
            <form method="post" action="<?php htmlspecialchars($_SERVER["PHP_SELF"]);?>">
            	<p>Login</p>
                <p>
                	<label>UserName: </label>
                    <input type="text" name="username" value="<?php echo $UserName;?>">
                    <span class="error">* <?php echo $UserNameErr;?></span>
                </p>
                <p>
                	<label>Password: </label>
                    <input type="password" name="password">
                    <span class="error">* <?php echo $PasswordErr;?></span>
                </p>
                <input type="submit" value="Login">
                <p>Number of errors <?php echo $error;?></p>
            </form> 
        </div>
    </body>
</html>