<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<meta http-equiv="content-language" content="ko">
<title><spring:message code="sys.name" /></title>

<!-- Fonts -->
<link type="text/css" rel="stylesheet" href="<c:url value='/css/nanumgothic.css'/>?v=<spring:message code="StaticFile.version"/>" >
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egov.css'/>?v=<spring:message code="StaticFile.version"/>" >
<!-- Common style -->
<link type="text/css" rel="stylesheet" href="<c:url value='/css/common.css'/>?v=<spring:message code="StaticFile.version"/>" >
<!-- Each style -->
<link type="text/css" rel="stylesheet" href="<c:url value='/css/style.css'/>?v=<spring:message code="StaticFile.version"/>" >

<link type="text/css" rel="stylesheet" href="<c:url value='/css/lib/jquery-ui.css'/>" >
<link type="text/css" rel="stylesheet" href="<c:url value='/fancybox/jquery.fancybox.css'/>" >
<script type="text/javascript" src="/js/lib/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="/js/lib/jquery.form.js"></script>
<script type="text/javascript" src="/js/lib/jquery-ui.min.js"></script>
<script type="text/javascript" src="/fancybox/jquery.fancybox.pack.js"></script>
<script type="text/javascript" src="/js/commons.js?v=<spring:message code="StaticFile.version"/>"></script>
</head>
<body style="text-align: center; margin: 0 auto; display: inline;">
	<!-- 전체 레이어 시작 -->
	<div id="wrap">
		<!-- header 시작 -->
		<div id="header">
			<tiles:insertAttribute name="header"></tiles:insertAttribute>
		</div>
		<!-- //header 끝 -->
		<!-- container 시작 -->
		<div id="container">
			<!-- 좌측메뉴 시작 -->
			<div id="leftmenu">
				<tiles:insertAttribute name="leftmenu"></tiles:insertAttribute>
			</div>
			<!-- //좌측메뉴 끝 -->
			<!-- location 시작 -->
			<div class="location">
				<ul class="location-content">
					<li class="home">
						<a href="/"><img src="/images/cmmn/home.png" alt="홈으로"></a>
					</li>
				<c:forEach items="${currAndHigherMenuList}" var="item" varStatus="status">
					<c:choose>
					<c:when test="${status.last}">
					<li class="now-page">
						<a href="#">${item.name}</a>
					</li>
					</c:when>
					<c:otherwise>
					<li class="page">
						<a href="#">${item.name}</a>
					</li>
					</c:otherwise>
					</c:choose>
				</c:forEach>
				</ul>
			</div>	
			<!-- location 끝 -->
			<!-- content 시작 -->
			<div id="content_pop" class="content">
				<c:import url="/WEB-INF/jsp/common/submenu.jsp" />
				<tiles:insertAttribute name="contents"></tiles:insertAttribute>
			</div>
			<!-- //content 끝-->
		</div>
		<!-- //container 끝-->
		<!-- footer 시작 -->
		<div id="footer" style="padding: 70px 0 0">
			<tiles:insertAttribute name="footer"></tiles:insertAttribute>
		</div>
		<!-- //footer 끝 -->
	</div>
	<!--// 전체 레이어 끝 -->
</body>
</html>

