<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

        <!--contents-->
		<section class="sub-container">
			<article class="menu-history">
				<ul>
					<li><a href="/main/main.do" class="home">홈</a></li>
					<li><a href="/notice/noticeList.do">공지사항</a></li>
				</ul>
			</article>
			<article class="contents-wrap">
				<div class="title-box">
					<h2 class="h2-title">공지사항</h2>
					<p class="title-info">시민 중심 새로운 <span>평택 교통정보센터</span></p>
				</div>

				<div id="noticeCon">
					<div class="board-form">
						<div class="board-view-head">
							<p>${notice.bSubject}</p>
						</div>
						<div class="board-view">
							<div class="view-form">
								<div class="download">
<%--									<a href="#">첨부파일명자료.jpg</a>--%>

									<c:if test="${not empty notice.attachfile1}">
										<a href="/notice/getFile.do?fileName=${notice.attachfile1}"><img src="/images/icon_file.png" class='pt12 pr05' alt="첨부파일1" />${notice.attachfile1 }</a>
									</c:if>
									<c:if test="${not empty notice.attachfile2}">
										<a href="/notice/getFile.do?fileName=${notice.attachfile2}"><img src="/images/icon_file.png" class='pt12 pr05' alt="첨부파일2" />${notice.attachfile2 }</a>
									</c:if>
									<c:if test="${not empty notice.attachfile3}">
										<a href="/notice/getFile.do?fileName=${notice.attachfile3}"><img src="/images/icon_file.png" class='pt12 pr05' alt="첨부파일3" />${notice.attachfile3 }</a>
									</c:if>

								</div>
								<p class="day">${notice.regDate}</p>
							</div>
							<div class="content">
								${notice.bContent}
							</div>
						</div>
						<div class="prevnext">
							<p>
								<span><a href="javascript:history.back()">목록</a></span>
							</p>
						</div>
					</div>
				</div>
			</article>
		</section>
       <!--//contents-->