<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<%@ page session="true" %>
<% session.setAttribute("check","0"); %>
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>회원탈퇴</title>
</head>
<body bgcolor="#777777" style="color : #eeeeee; width:750px; margin: 0 auto;">
<%
	if(session.getAttribute("login").equals("0") || session.getAttribute("id").equals("admin")){
		%> <script>alert('잘못된 접근입니다.'); location.href="http://localhost:8080/Park20162515/Main.jsp"</script><%
	}else {
		%><jsp:include page="Online.jsp" /><%
	}
%>
<hr>
<h1>탈퇴 하실건가요?</h1>
탈퇴하실려면 비밀번호를 입력해주세요.
<form method="post" action="DeletePro.jsp">
<input type="password" name="pw"><br>
<input type="submit" value="탈퇴하기" onclick="check();">
</form>
</body>
</html>