<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page session = "true" %>
<!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>Insert title here</title>
</head>
<body bgcolor="#ff69b4" style="text-align : center;">
 <%
if(session.getAttribute("id")!=null){
%>
 <%=session.getAttribute("id")%>님 로그인중입니다!<br>
저희 홈페이지에 방문해 주셔서 감사합니다.<br>
환영합니다!<br>

<form method="post" action="Logout.jsp">
<input type=submit value="로그아웃">
</form>
<%
}
%>


☆HOME☆ <p><p>
 <p><p>
 <%
if(session.getAttribute("id")==null){
%>
 <A href="inputForm.jsp" >회원가입</p>
 <A href="loginForm.jsp" >로그인</p>
<%
}else{
%>
 <A href="list.jsp">회원목록보기 </p>
<A href="editForm.jsp" >회원정보수정</p>
<A href="deleteForm.jsp" >회원탈퇴</p>
<%} %>
</body>
</html>