<%--
  Class Name : EgovNoticeChgHstInqire.jsp
  Description : 게시물 변경이력 상세 조회 화면
  Modification Information
 
      수정일      수정자              수정내용
     ----------  --------    ---------------------------
     2018.08.17   ITN        최초 생성
 
    author   : ITN
    since    : 2018.08.17
--%>
<%@ 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="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko">
<script type="text/javascript">
	function fn_egov_select_noticeChgHstList(pageNo) {
		document.searchForm.action = "<c:url value='/cop/bbs/selectBoardChgHstList.do'/>";
		document.searchForm.submit();
	}
</script>
<title>게시판 변경 이력 상세</title>
</head>
<body>
	<div class="ad_content">
		<div class="ad_con_head">
			<div class="ad_head_text">
				<p class="today_txt">게시판 변경 이력 상세</p>
				<div class="ad_head_ment">
					<p class="today_last_txt"><span id="cnt_cate_list"></span></p>
				</div>
			</div>
		</div>
		<!-- 검색 필드 박스 시작 -->

		<div class="ad_subcon">
			<form:form commandName="searchForm" name="searchForm" method="get" action="<c:url value='/cop/bbs/selectBoardChgHstList.do'/>">
				<input name="pageIndex" type="hidden" value="<c:out value='${boardChgHst.pageIndex}'/>" />
				<input name="searchCnd" type="hidden" value="<c:out value='${boardChgHst.searchCnd}'/>" />
				<input name="searchWrd" type="hidden" value="<c:out value='${boardChgHst.searchWrd}'/>" />
				<input name="bbsNm" type="hidden" value="<c:out value='${boardChgHst.bbsNm}'/>" />
				<input name="strNttId" type="hidden" value="<c:out value='${boardChgHst.strNttId}'/>" />
			</form:form>

			<div class="main1_div2">
				<table class="main1_table">
					<tr>
						<th>제목</th>
						<td colspan="5">
							<c:out value="${result.nttSj}" />
						</td>
					</tr>
					<tr>
						<th>작성자</th>
						<td>
							<c:out value="${result.frstRegisterNm}" />
						</td>
						<th>작성시간</th>
						<td>
							<c:out value="${result.frstRegistPnttm}" />
						</td>
						<th>이력구분</th>
						<td>
							<c:out value="${result.strHistSe}" />
						</td>
					</tr>
					<tr>
						<th>게시물ID</th>
						<td>
							<c:out value="${result.nttId}" />
						</td>
						<th>게시판명</th>
						<td>
							<c:out value="${result.bbsNm}" />
						</td>
						<th>이력순번</th>
						<td>
							<c:out value="${result.histId}" />
						</td>
					</tr>
					<tr>
						<th>등록자IP</th>
						<td colspan="5">
							<c:out value="${result.ntcrIp}" />
						</td>
					</tr>
					<tr>
						<th>글내용</th>
						<td colspan="5">
							<div id="bbs_cn">
								<c:out value="${fn:replace(result.nttCn , crlf , '<br/>')}" escapeXml="false" />
							</div>
						</td>
					</tr>
				</table>
			</div>

			<!-- 버튼 시작(상세지정 style로 div에 지정) -->
			<div class="main1_btn_div">
				<button class="main1_btn" onclick="javascript:fn_egov_select_noticeChgHstList(); return false;">목 록</button>
			</div>
			<!-- 버튼 끝 -->
		</div>
	</div>
	<!-- //content 끝 -->
</body>
</html>

