<%@ 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="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<div id="board_wrap">
<!-- 내실적 조회 -->
	<div class="board m-right">
		<p class="btn_more"><a href="/report/myList.do"></a></p>
		<div class="inner">
			<h3 class="h1"><spring:message code="menu.report.list.my_list" /></h3>
			<div class="board_content">
				<ul>
					<c:choose>
					<c:when test="${fn:length(reportList) > 0}">
					<c:forEach var="item" items="${reportList}" varStatus="status">
						<li>
							<a href="<c:url value="/report/updateMyReport.do?inSeq=${item.inSeq}" />"><c:out value="${item.inSubject}" /></a>
							<span class="date"><fmt:formatDate value="${item.inInfodate}" pattern="yyyy-MM-dd" /></span>
						</li>
					</c:forEach>
					</c:when>
					<c:otherwise>
						<li><spring:message code="msg.nodata" /></li>
					</c:otherwise>
					</c:choose>
				</ul>
			</div>
		</div>
	</div>
	<!-- 공지 -->
	<div class="board">
		<p class="btn_more"><a href="/bbs/list.do?id=notice"></a></p>
		<div class="inner">
			<h3 class="h1"><spring:message code="menu.notice" /></h3>
			<div class="board_content">
				<ul>
					<c:choose>
					<c:when test="${fn:length(noticeList) > 0}">
					<c:forEach var="item" items="${noticeList}" varStatus="status">
						<li>
							<a href="<c:url value="/bbs/view.do?id=notice&seq=${item.seq}" />"><c:out value="${item.subject}" /></a>
							<span class="date"><fmt:formatDate value="${item.regdate}" pattern="yyyy-MM-dd" /></span>
						</li>
					</c:forEach>
					</c:when>
					<c:otherwise>
						<li><spring:message code="msg.nodata" /></li>
					</c:otherwise>
					</c:choose>
				</ul>
			</div>
		</div>
	</div>
	<!-- 게시판 -->
	<div class="board m-right m-top">
		<p class="btn_more"><a href="/bbs/list.do?id=bbs"></a></p>
		<div class="inner">
			<h3 class="h1"><spring:message code="menu.bbs" /></h3>
			<div class="board_content">
				<ul>
					<c:choose>
					<c:when test="${fn:length(bbsList) > 0}">
					<c:forEach var="item" items="${bbsList}" varStatus="status">
						<li>
							<a href="<c:url value="/bbs/view.do?id=bbs&seq=${item.seq}" />"><c:out value="${item.subject}" /></a>
							<span class="date"><fmt:formatDate value="${item.regdate}" pattern="yyyy-MM-dd" /></span>
						</li>
					</c:forEach>
					</c:when>
					<c:otherwise>
						<li><spring:message code="msg.nodata" /></li>
					</c:otherwise>
					</c:choose>
				</ul>
			</div>
		</div>
	</div>
	<!-- 자료실-->
	<div class="board m-top">
		<p class="btn_more"><a href="/bbs/list.do?id=data"></a></p>
		<div class="inner">
			<h3 class="h1"><spring:message code="menu.data" /></h3>
			<div class="board_content">
				<ul>
					<c:choose>
					<c:when test="${fn:length(dataList) > 0}">
					<c:forEach var="item" items="${dataList}" varStatus="status">
						<li>
							<a href="<c:url value="/bbs/view.do?id=data&seq=${item.seq}" />"><c:out value="${item.subject}" /></a>
							<span class="date"><fmt:formatDate value="${item.regdate}" pattern="yyyy-MM-dd" /></span>
						</li>
					</c:forEach>
					</c:when>
					<c:otherwise>
						<li><spring:message code="msg.nodata" /></li>
					</c:otherwise>
					</c:choose>
				</ul>
			</div>
		</div>
	</div>
</div><!-- board_wrap end -->