<?php session_start(); ?>
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
	<title>Log In </title>
	<script type="text/javascript" src="../bootstrap4/js/bootstrap.min.js"></script>
	<link rel="stylesheet" type="text/css" href="../bootstrap4/css/bootstrap.min.css">
	<style type="text/css">
	td{
		height: 50px;
		width: 200px;
	}
	.container{
		 font-family: Arial, Helvetica, sans-serif;
		 font-size: 12px;
	}
	table tr td
	{
		border: 0px;
		border-color: white;
	}
	</style>
</head>
<body>
<form method="post">
<div class="container">
<br><br><br>
	<div class="row" align="center">
		<div class="col-md-12" align="center">
		<table>
			<tr>
				<td colspan="2" align="Center"> <h5> Log In To Map</h5></td>
			</tr>
			<tr>
				<td align="left"> User Name </td>
				<td align="left"> <input type="text" name = "usd" style="width:200px; height:30Px;"></td>
			</tr>
			<tr>
				<td align="left"> Password </td>
				<td align="left"> <input type="password" name = "pswd" style="width:200px; height:30Px;"></td>
			</tr>
			<tr>
				<td></td>
				<td align="left"><input type="submit" name="btn" style="width:200px; height:30Px;"></td>
			</tr>
		</table>
		</div>
	</div>
	<div class="row">
	<div class="col-md-6"></div>
	<div class="col-md-2" align="center">
	<?php
		if(isset($_POST['btn']))
		{
			$name = $_POST['usd'];
			$pswd=$_POST['pswd'];
			if($name=="covid@yhd.map" && $pswd=="map")
				{ echo "<script>location.assign('covid_contact_yangon.php');</script>";}
			else
				{echo "<b><font color='red'>Access Denied!</font></b>";}
		}
	?>
</div>
</div>
</div>
</form>
</body>
</html>