<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String msg = (String) request.getAttribute("loginAttempt");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>:: Login</title>
<link rel="stylesheet" href="Img/style.css" type="text/css">
<script type="text/javascript" src="Js/md5.js"></script>
<script type="text/javascript" src="Js/handle.js"></script>
<script type="text/javascript" src="Js/ajaxmsg.js"></script>
</head>
<body>
<div class = "divheader"><a href="register.jsp"><span class = "spanregister">Đăng ký</span></a></div>
<% if (msg != null) {%><div class = "divmsg">Tài khoản hoặc mật khẩu không đúng</div> <% } %>
<div class = "divlogin">
<form method = "GET" action = "Login" onsubmit = "return submitLogin();">
<table>
<tr><td>Username </td><td class = "tdinput"> <input onclick = "return preLoginOnclick();" onblur = "return preLoginOnblur();" type = "text" name = "username" id = "username" value = "Tài khoản"/></td></tr>
<tr><td>Password </td><td class = "tdinput"> <input onclick = "return preLoginOnclick();" onblur = "return preLoginOnblur();" type = "password" name = "password" id = "password" value = "Mật khẩu"/></td></tr>
<tr><td><input class = "submitxt" type="submit" value="Login"/></td><td></td></tr>
</table>
</form>
</div>
</body>
</html>