<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">

<title>로그인</title>
<link href="member.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
 
function check(){
	var str1
	var str2
	str1=document.frm.id.value
	str2=document.frm.pwd.value
	if(str1==''){
		alert("아이디를 입력하지 않으셨습니다");
		
	}
	else if(str2==''){
		alert("비밀번호를 입력하지 않으셨습니다");
		
	}
	else{
		document.frm.submit();
	      return true;
}
}
</script>
</head>
<body>
<div id="web">
 <div class="top">
 <div class="top_space">
 <div class="top_manu">
 <ul>
 <li>
 <a href="main.jsp"> 
 <span class="homeIcon"></span>메인페이지</a>
    </li>
    <li>
    <a href="loginForm.jsp">
    <span class="loginIcon"></span>로그인</a>
    </li>
    <li>

 <a href="memberForm.jsp"><span class="signIcon"></span>회원가입</a>
 </li>
 </ul>
 </div></div><hr style="border:solid 0.7px #BDBDBD;"></div>

 
  <main id="main">
  <div class="main_bgspace1">
 <div class="main_bgsize1">
  <div class="main_loginbg">
  
 </div>
 </div>
 </div>
   <div class="main_tablespace">
 <div class="main_tablesize">
  <div class="main_table ">
  <form method="post" action="loginPro.jsp" name="frm" onSubmit="check();return false;">
<table border="0" width="500" height="180"  align="center" cellspacing="0">
<tr><td><input type="text" name="id" maxlength="50" placeholder="아이디" style="height:60px; width:500px;"></td></tr>
<tr><td><input type="password" name="pwd" id="userpwd"  placeholder="비밀번호" style="height:60px; width:500px;"></td></tr>
<tr><td><br><input type="submit" class="btn2" value="로그인 " style="height:60px; width:500px;"></td></tr>
</table>
</form>
 </div>
 </div>
 </div>
 </main>
 <bottom id="bottom">
 </bottom>
 </div>
</body>
</html>