546 lines
23 KiB
Plaintext
546 lines
23 KiB
Plaintext
<%--
|
|
Class Name : EgovNoticeUpdt.jsp
|
|
Description : 게시물 수정 화면
|
|
Modification Information
|
|
|
|
수정일 수정자 수정내용
|
|
------- -------- ---------------------------
|
|
2009.03.19 이삼섭 최초 생성
|
|
2011.08.31 JJY 경량환경 버전 생성
|
|
|
|
author : 공통서비스 개발팀 이삼섭
|
|
since : 2009.03.19
|
|
--%>
|
|
<%@ 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="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
|
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
|
|
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator"%>
|
|
<%@ taglib prefix="ckeditor" uri="http://ckeditor.com"%>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Language" content="ko">
|
|
<script type="text/javascript" src="<c:url value='/js/EgovBBSMng.js' />"></script>
|
|
<script type="text/javascript" src="<c:url value='/js/EgovMultiFileItn.js'/>"></script> <!-- 파일첨부, 썸네일이미지 있으면 미리보기 -->
|
|
<%-- <script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script> --%>
|
|
<script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>"></script>
|
|
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
|
<validator:javascript formName="board" staticJavascript="false" xhtml="true" cdata="false" />
|
|
<script type="text/javascript">
|
|
$( document ).ready(function() {
|
|
$(function () {
|
|
|
|
$('#filebutton').click(function (e) {
|
|
|
|
e.preventDefault();
|
|
|
|
$('#file_temp').click();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
function fn_egov_validateForm(obj) {
|
|
return true;
|
|
}
|
|
|
|
function fn_egov_regist_notice() {
|
|
CKEDITOR.instances.nttCn.updateElement();
|
|
|
|
<c:if test="${bdMstr.noticeYn == 'Y' or bdMstr.bbsTyCode == 'BBST08'}">
|
|
var tempTxt = "공지" ;
|
|
<c:if test="${bdMstr.bbsTyCode == 'BBST08'}">
|
|
tempTxt = "모집기간" ;
|
|
</c:if>
|
|
|
|
if($("input:checkbox[name='noticeAt']").is(":checked") || tempTxt=='모집기간'){
|
|
{
|
|
if($('#ntceBgndeYYYMMDD').val() == ''){
|
|
alert(tempTxt+" 시작일은 필수입니다.");
|
|
return;
|
|
}
|
|
if($('#ntceEnddeYYYMMDD').val() == ''){
|
|
alert(tempTxt+" 마감일은 필수입니다.");
|
|
return;
|
|
}
|
|
|
|
var iChkBeginDe = Number(($('#ntceBgndeYYYMMDD').val()+$('#ntceBgndeHH').val()+$('#ntceBgndeMM').val()).replaceAll("-","") );
|
|
var iChkEndDe = Number(($('#ntceEnddeYYYMMDD').val()+$('#ntceEnddeHH').val()+$('#ntceEnddeMM').val()).replaceAll("-","") );
|
|
|
|
if(iChkBeginDe > iChkEndDe || iChkEndDe < iChkBeginDe ){
|
|
alert("게시시작일자는 게시종료일자 보다 클수 없고,\n게시종료일자는 게시시작일자 보다 작을수 없습니다. ");
|
|
return;
|
|
}
|
|
$('#ntceBgnde').val(iChkBeginDe) ;
|
|
$('#ntceEndde').val(iChkEndDe) ;
|
|
}
|
|
}
|
|
</c:if>
|
|
|
|
<c:if test="${bdMstr.bbsTyCode == 'BBST07'}"> /* 사전정보공표 */
|
|
if($('#pubLink').val() == ''){
|
|
$('#pubLink').val($('#pubLinkTxt').val()) ;
|
|
}
|
|
</c:if>
|
|
|
|
if (confirm('<spring:message code="common.update.msg" />')) {
|
|
goSave();
|
|
}
|
|
}
|
|
|
|
function goList() {
|
|
//document.searchForm.action = "<c:url value='/cop/bbs/selectBoardList.do'/>";
|
|
document.searchForm.action = "<c:url value='/cop/bbs/selectBoardList.do'/>?pageIndex=${searchVO.pageIndex}";
|
|
document.searchForm.submit();
|
|
}
|
|
|
|
function fn_egov_regist_preview() {
|
|
var PCC_window = window.open('', 'PCCV3Window', 'width=850, height=570, resizable=1, scrollbars=yes, status=0, titlebar=0, toolbar=0, left=350, top=50' );
|
|
|
|
var previewImgs = "";
|
|
var i = 0;
|
|
|
|
$("#DIV_IMG_VIEW").find("img").each(function() {
|
|
previewImgs += $(this).get(0).src + "^";
|
|
i++;
|
|
});
|
|
|
|
document.board.previewImgs.value = previewImgs;
|
|
document.board.action = "<c:url value='/cop/bbs/bbsPreview.do'/>";
|
|
document.board.target = "PCCV3Window";
|
|
document.board.submit();
|
|
}
|
|
|
|
function fn_egov_downFile(atchFileId, fileSn){
|
|
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
|
|
}
|
|
|
|
|
|
var docWidth = screen.availWidth;
|
|
var docHeight = screen.availHeight;
|
|
var scX = window.screenX||window.screenLeft||0;
|
|
var scY = window.screenY||window.screenTop||0;
|
|
function searchBBSId(obj) {
|
|
var popupX = scX + (docWidth - 185) / 2;
|
|
var popupY = scY + (docHeight - 195) / 2;
|
|
|
|
memuPopup = window.open('', 'memuPopup', "width=800, height=730, left="+popupX+", top="+popupY, "location = no","status= no","toolbars= no");
|
|
document.searchForm.method = "post";
|
|
if("menuAdd"==$(obj).attr('id')){ //추가게시판 버튼 클릭시
|
|
document.searchForm.seCd.value = $(obj).attr('id');
|
|
document.searchForm.searchNm.value = $(obj).attr('value');
|
|
}
|
|
document.searchForm.action = "/cop/bbs/EgovBBSIdListSearch.do";
|
|
document.searchForm.target = "memuPopup" ;
|
|
document.searchForm.submit();
|
|
document.searchForm.target = "_self" ;
|
|
document.searchForm.action= "/sym/mnu/mcm/EgovMenuCreatSelectJtree.do";
|
|
}
|
|
|
|
function deletePubLink(obj){
|
|
$('#pubLinkTxt').val('');
|
|
$('#pubLink').val('');
|
|
}
|
|
|
|
</script>
|
|
<title><c:out value='${bdMstr.bbsNm}' /> - 게시글 수정</title>
|
|
</head>
|
|
<body>
|
|
<!-- cont -->
|
|
<div class="cont_wrap">
|
|
<div class="box">
|
|
|
|
<!-- cont_tit -->
|
|
<div class="cont_tit">
|
|
<h2><c:out value='${bdMstr.bbsNm}' /> 수정</h2>
|
|
<ul class="cont_nav">
|
|
<li class="home"><a href="/"><i></i></a></li>
|
|
<li><p>게시판관리</p></li>
|
|
<li><p>게시판관리</p></li>
|
|
<li><p><c:out value='${bdMstr.bbsNm}' /> 목록</p></li>
|
|
<li><p><c:out value='${bdMstr.bbsNm}' /> 상세</p></li>
|
|
<li><span class="cur_nav"><c:out value='${bdMstr.bbsNm}' /> 수정</span></li>
|
|
</ul>
|
|
</div>
|
|
<!-- //cont_tit -->
|
|
|
|
<form:form commandName="searchForm" name="searchForm" method="get" action="">
|
|
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>" />
|
|
<input name="searchCnd" type="hidden" value="<c:out value='${searchVO.searchCnd}'/>" />
|
|
<input name="searchWrd" type="hidden" value="<c:out value='${searchVO.searchWrd}'/>" />
|
|
<input name="bbsId" type="hidden" value="<c:out value='${searchVO.bbsId}'/>" />
|
|
</form:form>
|
|
<form:form commandName="board" name="board" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" />
|
|
<input type="hidden" name="searchCnd" value="<c:out value='${searchVO.searchCnd}'/>" />
|
|
<input type="hidden" name="searchWrd" value="<c:out value='${searchVO.searchWrd}'/>" />
|
|
<input type="hidden" name="bbsId" value="<c:out value='${board.bbsId}'/>" />
|
|
<input type="hidden" name="nttId" value="<c:out value='${board.nttId}'/>" />
|
|
<input type="hidden" name="atchFileCnt" value="<c:out value='${board.atchFileCnt}'/>" />
|
|
<input type="hidden" name="previewImgs" value="" />
|
|
<input type="hidden" name="checkProhibitCn" value="" />
|
|
<input type="hidden" name="limitcount" value="${bdMstr.posblAtchFileNumber}" />
|
|
<!-- 기 업로드 파일 개수 -->
|
|
|
|
<!-- 드래그앤 드롭 파라미터 -->
|
|
<input type="hidden" name="menuName" value="board" />
|
|
<input type="hidden" name="fmsId" value="${board.nttId}" />
|
|
<input type="hidden" name="atchFileId" value="${board.atchFileId}" />
|
|
<input type="hidden" name="atchFileNece" id="atchFileNece" value="N" /> <!-- 첨부파일 필수체크 -->
|
|
|
|
<input id="ntceBgnde" name="ntceBgnde" type="hidden" value="">
|
|
<input id="ntceEndde" name="ntceEndde" type="hidden" value="">
|
|
|
|
<div class="cont">
|
|
<!-- list_상세 -->
|
|
<div class="tbType02 col-table data-table left">
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 20%">
|
|
<col style="width: 80%">
|
|
</colgroup>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<th>
|
|
<spring:message code="cop.nttSj" var="msgNttSj" />
|
|
<span class="reqArea">${bdMstr.bbsTyCode eq 'BBST07' ? "항목" : bdMstr.menuNo eq '9510000' ? "질문" : "제목"}</span>
|
|
</th>
|
|
<td>
|
|
<form:input path="nttSj" title="${msgNttSj}" cssClass="w100per"/>
|
|
<form:errors path="nttSj" cssClass="w100per" />
|
|
</td>
|
|
</tr>
|
|
<c:if test="${'9650000' eq bdMstr.menuNo }">
|
|
<tr>
|
|
<th>URL</th>
|
|
<td>
|
|
<form:input path="linkUrl" cssClass="w100per"/>
|
|
<form:errors path="linkUrl" cssClass="w100per"/>
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
<tr>
|
|
<th style="vertical-align:middle;"><span class="reqArea">${bdMstr.menuNo eq '9510000' ? "답변" : "내용"}</span></th>
|
|
<td>
|
|
<textarea id="nttCn" name="nttCn" title="<spring:message code="cop.nttCn" />" cols="500" rows="20">
|
|
<c:out value="${board.nttCn}" escapeXml="false" />
|
|
</textarea>
|
|
<ckeditor:replace replace="nttCn" basePath="${pageContext.request.contextPath}/html/egovframework/com/cmm/utl/ckeditor/" />
|
|
<form:errors path="nttCn" />
|
|
</td>
|
|
</tr>
|
|
|
|
<c:if test="${'BBST07' eq bdMstr.bbsTyCode }"><!-- 사전정보공표 -->
|
|
<tr>
|
|
<th><span class="reqArea">주기</span></th>
|
|
<td colspan="3">
|
|
<input id="pubPeriod" name="pubPeriod" type="text" value="${board.pubPeriod}">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th><span class="reqArea">시기</span></th>
|
|
<td colspan="3">
|
|
<input id="pubTime" name="pubTime" type="text" value="${board.pubTime}">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<th><span class="reqArea">방법(링크)</span></th>
|
|
<td>
|
|
<input id="pubLinkTxt" name="pubLinkTxt" type="text" value="${board.pubLinkTxt}">
|
|
<input id="pubLink" name="pubLink" type="hidden" value="${board.pubLink}">
|
|
<input type="button" class="btnType1" value="게시판선택" onclick="javascript:searchBBSId(this); return false;">
|
|
<input type="button" class="btnType1" value="게시판해제" onclick="javascript:deletePubLink(this); return false;">
|
|
</td>
|
|
</tr>
|
|
|
|
<%-- <tr>
|
|
<th><span class="reqArea">담당부서</span></th>
|
|
<td colspan="3">
|
|
<input id="pubLoc" name="pubLoc" type="text" value="${board.pubLoc}">
|
|
</td>
|
|
</tr> --%>
|
|
</c:if>
|
|
<c:if test="${'BBST08' eq bdMstr.bbsTyCode }"><!-- 인재채용 -->
|
|
<tr>
|
|
<th><span class="reqArea">모집기간</span></th>
|
|
<td colspan="3">
|
|
<input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do">
|
|
<input style="width:auto;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly=""
|
|
value="<c:out value="${fn:substring(board.ntceBgnde,0,4)}-${fn:substring(board.ntceBgnde,4,6)}-${fn:substring(board.ntceBgnde,6,8)}" />" >
|
|
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceBgndeYYYMMDD);">
|
|
<input type="button" class="calBtn">
|
|
</a>
|
|
<select id="ntceBgndeHH" name="ntceBgndeHH" class="date_format">
|
|
<c:forEach var="result" items="${ntceBgndeHH}" varStatus="status">
|
|
<option value="${result.code}"
|
|
<c:if test="${ fn:substring(board.ntceBgnde,8,10) eq result.code }"> selected="selected" </c:if>
|
|
>${result.codeNm}</option>
|
|
</c:forEach>
|
|
</select>시
|
|
<select id="ntceBgndeMM" name="ntceBgndeMM" class="date_format">
|
|
<c:forEach var="result" items="${ntceBgndeMM}" varStatus="status">
|
|
<option value="${result.code}"
|
|
<c:if test="${ fn:substring(board.ntceBgnde,10,12) eq result.code }"> selected="selected" </c:if>
|
|
>${result.codeNm}</option>
|
|
</c:forEach>
|
|
</select>분
|
|
~
|
|
<input style="width:auto;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly=""
|
|
value="<c:out value="${fn:substring(board.ntceEndde,0,4)}-${fn:substring(board.ntceEndde,4,6)}-${fn:substring(board.ntceEndde,6,8)}" />"
|
|
>
|
|
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceEnddeYYYMMDD);">
|
|
<input type="button" class="calBtn">
|
|
</a>
|
|
<select id="ntceEnddeHH" name="ntceEnddeHH" class="date_format">
|
|
<c:forEach var="result" items="${ntceEnddeHH}" varStatus="status">
|
|
<option value="${result.code}"
|
|
<c:if test="${ fn:substring(board.ntceEndde,8,10) eq result.code }"> selected="selected" </c:if>
|
|
>${result.codeNm}</option>
|
|
</c:forEach>
|
|
</select>시
|
|
<select id="ntceEnddeMM" name="ntceEnddeMM" class="date_format">
|
|
<c:forEach var="result" items="${ntceEnddeMM}" varStatus="status">
|
|
<option value="${result.code}"
|
|
<c:if test="${ fn:substring(board.ntceEndde,10,12) eq result.code }"> selected="selected" </c:if>
|
|
>${result.codeNm}</option>
|
|
</c:forEach>
|
|
</select>분
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th><span class="reqArea">모집상태</span></th>
|
|
<td colspan="3">
|
|
<select name="seCd" id="seCd" title="모집상태">
|
|
<c:forEach var="result" items="${codeList}" varStatus="status">
|
|
<option value="${result.code}" <c:if test="${result.code eq board.seCd }">selected="selected"</c:if> >${result.codeNm}</option>
|
|
</c:forEach>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
|
|
<c:if test="${bdMstr.fileAtchPosblAt == 'Y'}">
|
|
<c:set var="isImgView" value="false" />
|
|
<c:set var="isImgBbs" value="false" />
|
|
<c:if test="${bdMstr.bbsTyCode == 'BBST05' || bdMstr.bbsTyCode == 'BBST06'}">
|
|
<c:set var="isImgView" value="true" />
|
|
<c:set var="isImgBbs" value="true" />
|
|
<tr>
|
|
<th>첨부파일 이미지</th>
|
|
<td>
|
|
<div>
|
|
<c:import url="/cmm/fms/selectImageFileInfs.do" charEncoding="utf-8">
|
|
<c:param name="atchFileId" value="${board.atchFileId}" />
|
|
</c:import>
|
|
</div>
|
|
<div id="DIV_IMG_ATCH"></div>
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
|
|
<tr>
|
|
<th class="req_text">
|
|
<p>첨부파일</p>
|
|
</th>
|
|
<td class="upload_area">
|
|
<!-- <input type="text" id="fileNm" size="30" class="file_input" readonly> --><!-- <button type="button" class="btnType01 btn_add_file">파일 첨부하기</button> -->
|
|
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
|
|
<button type="button" id="filebutton" class="btn btn_text btn_30 blue_border btnType01 btn_add_file">파일 첨부하기</button>
|
|
<div class="file_wrap file_upload_box no_img_box">
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 60%;">
|
|
<col style="width: auto;">
|
|
<col style="width: 20%;">
|
|
<col style="width: 10%;">
|
|
</colgroup>
|
|
<thead>
|
|
<!-- <th>
|
|
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
|
</th> -->
|
|
<th style="text-align:center;">파일 명</th>
|
|
<th style="text-align:center;">종류</th>
|
|
<th style="text-align:center;">크기</th>
|
|
<th style="text-align:center;">삭제</th>
|
|
</thead>
|
|
<tbody class="tb_file_before">
|
|
<tr>
|
|
<td colspan="4">
|
|
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="file_wrap fileAfter file_list_div">
|
|
<table>
|
|
<colgroup>
|
|
<col style="width: 60%">
|
|
<col style="width: 10%">
|
|
<col style="width: 20%">
|
|
<col style="width: 10%">
|
|
</colgroup>
|
|
<thead>
|
|
<!-- <th>
|
|
<input type="checkbox" id="all_check"><label for="all_check"></label>
|
|
</th> -->
|
|
<th style="text-align:center;">파일 명</th>
|
|
<th style="text-align:center;">종류</th>
|
|
<th style="text-align:center;">크기</th>
|
|
<th style="text-align:center;">삭제</th>
|
|
</thead>
|
|
<tbody id="tbody_fiielist" class="tb_file_after">
|
|
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
|
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
|
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
|
|
<td class="td_filename">
|
|
<!-- <img src="/direct/img/upload_hwp_img.png" alt="" /> -->
|
|
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
|
</td>
|
|
<td class="td_filesort">
|
|
<span class="file_filesort_text" value="<c:out value="${fileList.fileExtsn}"/>"><c:out value="${fileList.fileExtsn}"/></span>
|
|
</td>
|
|
<td class="td_filesize">
|
|
<span class="file_size_text" value="<c:out value="${fileList.fileMg}"/>"><c:out value="${fileList.fileMg}"/></span>
|
|
</td>
|
|
<td>
|
|
<button type="button" class="btn btn_text btn_30 red_border btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;">삭제</button>
|
|
</td>
|
|
</tr>
|
|
</c:forEach>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</c:if>
|
|
<tr>
|
|
<th>
|
|
<c:out value="작성자" />
|
|
</th>
|
|
<td colspan="3">
|
|
<input id="ntcrNm" class="w100per" name="ntcrNm" type="text" value="${board.ntcrNm}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>
|
|
<c:out value="담당부서" />
|
|
</th>
|
|
<td colspan="3">
|
|
<input id="pubLoc" class="w100per" name="pubLoc" type="text" value="${board.pubLoc}">
|
|
</td>
|
|
</tr>
|
|
<!-- 공지 여부 -->
|
|
<!-- 공지 여부 -->
|
|
<%-- <c:choose>
|
|
<c:when test="${bdMstr.noticeYn == 'Y'}">
|
|
<c:set var="title">공지여부/공지기간 </c:set>
|
|
<tr>
|
|
<th>
|
|
<label for="noticeAtTitle">${title}</label>
|
|
</th>
|
|
<td>
|
|
<input type="checkbox" name="noticeAt" id="noticeAt" ${board.noticeAt eq 'Y' ? 'checked=checked' : ''} value="Y">
|
|
<span style="padding-left: 10px;">/</span>
|
|
|
|
<input type="hidden" name="cal_url" id="cal_url" value="/sym/cmm/EgovNormalCalPopup.do">
|
|
<input style="width:auto;margin-left: 10px;" type="text" class="date_format" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="4" maxlength="4" readonly=""
|
|
value="<c:out value="${fn:substring(board.ntceBgnde,0,4)}-${fn:substring(board.ntceBgnde,4,6)}-${fn:substring(board.ntceBgnde,6,8)}" />" >
|
|
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceBgndeYYYMMDD);">
|
|
<input type="button" class="calBtn">
|
|
</a>
|
|
<select id="ntceBgndeHH" name="ntceBgndeHH" class="date_format">
|
|
<c:forEach var="result" items="${ntceBgndeHH}" varStatus="status">
|
|
<option value="${result.code}"
|
|
<c:if test="${ fn:substring(board.ntceBgnde,8,10) eq result.code }"> selected="selected" </c:if>
|
|
>${result.codeNm}</option>
|
|
</c:forEach>
|
|
</select>시
|
|
<select id="ntceBgndeMM" name="ntceBgndeMM" class="date_format">
|
|
<c:forEach var="result" items="${ntceBgndeMM}" varStatus="status">
|
|
<option value="${result.code}"
|
|
<c:if test="${ fn:substring(board.ntceBgnde,10,12) eq result.code }"> selected="selected" </c:if>
|
|
>${result.codeNm}</option>
|
|
</c:forEach>
|
|
</select>분
|
|
~
|
|
<input style="width:auto;" type="text" class="date_format" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="4" maxlength="4" readonly=""
|
|
value="<c:out value="${fn:substring(board.ntceEndde,0,4)}-${fn:substring(board.ntceEndde,4,6)}-${fn:substring(board.ntceEndde,6,8)}" />" >
|
|
<a href="#" onclick="javascript:fn_egov_NormalCalendar(document.forms.board, document.forms.board.ntceEnddeYYYMMDD);">
|
|
<input type="button" class="calBtn">
|
|
</a>
|
|
<select id="ntceEnddeHH" name="ntceEnddeHH" class="date_format">
|
|
<c:forEach var="result" items="${ntceEnddeHH}" varStatus="status">
|
|
<option value="${result.code}"
|
|
<c:if test="${ fn:substring(board.ntceEndde,8,10) eq result.code }"> selected="selected" </c:if>
|
|
>${result.codeNm}</option>
|
|
</c:forEach>
|
|
</select>시
|
|
<select id="ntceEnddeMM" name="ntceEnddeMM" class="date_format">
|
|
<c:forEach var="result" items="${ntceEnddeMM}" varStatus="status">
|
|
<option value="${result.code}"
|
|
<c:if test="${ fn:substring(board.ntceEndde,10,12) eq result.code }"> selected="selected" </c:if>
|
|
>${result.codeNm}</option>
|
|
</c:forEach>
|
|
</select>분
|
|
</td>
|
|
</tr>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<form:hidden path="noticeAt" value="N" />
|
|
</c:otherwise>
|
|
</c:choose> --%>
|
|
<!-- 공지 여부 -->
|
|
<!-- 공지 여부 -->
|
|
|
|
<!-- 공개/비공개 여부 -->
|
|
<c:choose>
|
|
<c:when test="${bdMstr.openYn == 'Y' && bdMstr.bbsTyCode != 'BBST02' && bdMstr.bbsTyCode != 'BBST03'}">
|
|
<c:set var="title">비공개여부</c:set>
|
|
<tr>
|
|
<th>
|
|
<label for="secretAt">${title}</label>
|
|
</th>
|
|
<td>
|
|
<form:checkbox path="secretAt" class="cb1" value="Y" />
|
|
<form:errors path="secretAt" cssClass="error" />
|
|
</td>
|
|
</tr>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<form:hidden path="secretAt" value="N" />
|
|
</c:otherwise>
|
|
</c:choose>
|
|
<!-- 공개/비공개 여부 -->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- //list_상세 -->
|
|
|
|
<!-- btn_wrap -->
|
|
<div class="btn_wrap btn_layout01">
|
|
<div class="area_left">
|
|
<button class="btn btn_text btn_46 gray_border btnType04" onclick="javascript:history.go(-1)(); return false;">취소</button>
|
|
</div>
|
|
<div class="area_right">
|
|
<button class="btn btn_text btn_46 blue_fill btnType06" onclick="javascript:fn_egov_regist_notice(); return false;">저장</button>
|
|
<button class="btn btn_text btn_46 gray_fill btnType03" onclick="javascript:goList(); return false;">목록</button>
|
|
</div>
|
|
</div>
|
|
<!-- //btn_wrap -->
|
|
</div>
|
|
</form:form>
|
|
</div>
|
|
</div>
|
|
<!-- //cont -->
|
|
</body>
|
|
</html>
|