<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
        <% 
    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="EUC-KR">
<style>
*{margin:0px;}
#top{height:20px; background:#555; }
#top a{background:#555; color:#fff;}
#top a:hover{color:red; cursor:pointer;}
*{background:#ffc;}
a{text-decoration:none; cursor:pointer; color:black;}
a:hover{color:red; cursor:pointer;}
</style>
<title>정보 변경</title>
</head>
<body>
<form method="post" action="../pro/updatep.jsp">
<table background="#fff">
<tr>
<td>아이디 확인:</td>
<td><input type="text" name="id"></td>
</tr>
<tr>
<td>암호 확인:</td>
<td><input type="password" name="pass"></td>
</tr>
<tr>
<td>변경할 이름:</td>
<td><input type="text" name="name"></td>
</tr>
<tr>
<td>변경할 암호:</td>
<td><input type="text" name="upass"></td>
</tr>
<tr>
<td>변경할 이메일:</td>
<td><input type="text" name="emailf"> @ <input type="text" name="emailb">
</tr>

<tr>
<td colspan="2"><input type="submit" value="변경"><input type="reset" value="정정"><input type="button"  onclick="location.href='../main.jsp'" value="돌아가기"></td>
</tr>
</table>
</form>

</body>
</html>