<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
        <% 
    String str;
    if(session.getAttribute("name")!=null){
    str="어서오세요"+session.getAttribute("name")+"님!";
 	 %><div id="top"><a href="../logout.jsp">로그아웃</a>
 	 <a href="updatef.jsp">비밀번호,이름 변경</a>
 	 <a href="deletef.jsp" style="float:right">회원탈퇴</a>
 	 </div><% ;
    }else{
   	str="";
    }
    %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
*{background:#ffc; margin:0px;}
a{text-decoration:none; cursor:pointer; color:black;}
a:hover{color:red; cursor:pointer;}
#top{height:20px; background:#555; }
#top a{background:#555; color:#fff;}
#top a:hover{color:red; cursor:pointer;}
</style>
<title>회원탈퇴</title>
</head>
<body>
<form method="post" action="../pro/deletep.jsp">
<table>
<tr>
<td>아이디:</td>
<td><input type="text" name="id"></td>
</tr>
<tr>
<td>암 &nbsp;호:</td>
<td><input type="text" name="pass"></td>
</tr>
</table>
회원탈퇴를 하시면 모든 개인정보가 삭제됩니다. 회원탈퇴를 원하신다면 박스의 글자를 Y로 바꾸어주세요.
<select name="yn">
<option value="Y">Y</option>
<option value="N" selected>N</option>
</select>
<table>
<tr>
	<td colspan="2"><input type="submit" value="회원탈퇴"><input type="button"  onclick="location.href='../main.jsp'" value="돌아가기"></td>
	</tr>
</table>


</form>
</body>
</html>