Merge branch 'master_tolag3'

This commit is contained in:
leejunho 2025-09-22 16:15:18 +09:00
parent 77a7f0daf7
commit 23cd02ac66
6 changed files with 397 additions and 1412 deletions

View File

@ -117,9 +117,9 @@
<c:if test="${!fn:contains(URL , '/login/ssoLogin.do')}">
<c:import url="/web/com/naviWrap.do"/>
</c:if>
</div>
<decorator:body />
</div>
</div>
</c:otherwise>
</c:choose>

View File

@ -39,7 +39,7 @@
var searchCnd = $.trim(document.frm.searchCnd.value);
document.frm.pageIndex.value = pageNo;
document.frm.method = "get";
document.frm.method = "post";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>";
document.frm.submit();
}
@ -47,8 +47,8 @@
function fn_egov_inqire_notice(bbsId, nttId) {
document.frm.nttId.value = nttId;
document.frm.bbsId.value = bbsId;
document.frm.method = "get";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardDetail.do'/>?pubDetail=Y";
document.frm.method = "post";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardDetail.do'/>";
document.frm.submit();
}
@ -141,15 +141,6 @@
<tr>
<th scrope="col">번호</th>
<th scrope="col">제목</th>
<c:choose>
<c:when test="${brdMstrVO.menuNo eq '9620000'}">
<th scope="col">작성일</th> <!-- 묻고답하기 -->
<th scope="col">처리현황</th>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<th scope="col">조회수</th>
</c:if>
</c:when>
<c:otherwise>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<th scope="col">첨부</th>
</c:if>
@ -158,8 +149,6 @@
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<th scope="col">조회수</th>
</c:if>
</c:otherwise>
</c:choose>
</tr>
</thead>
<tbody>
@ -232,140 +221,18 @@
<c:if test="${empty resultList}">
<tr class="row">
<c:choose>
<c:when test="${brdMstrVO.bbsId eq 'BBSMSTR_000000000721'}">
<td colspan="5">검색된 내용이 없습니다.</td>
</c:when>
<c:otherwise>
<td colspan="6">검색된 내용이 없습니다.</td>
</c:otherwise>
</c:choose>
</tr>
</c:if>
</tbody>
</table>
</div>
<div class="tb_list01_m">
<c:if test="${'1' eq searchVO.pageIndex}">
<c:forEach var="result" items="${notifyList}" varStatus="status">
<ul>
<li>
<span>번호</span>
<span><span class="list_notice">공지</span></span>
</li>
<li>
<span>제목</span>
<span>
<a href="#none" title="현재창 상세이동" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:out value="${result.nttSj}" />
</a>
</span>
</li>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<li>
<span>첨부</span>
<span>
<c:if test="${result.atchFileCnt > 0}">
<img src="<c:url value='/visitEdu/usr/publish/images/content/file_img.png'/>" alt="첨부파일 있음">
</c:if>
</span>
</li>
</c:if>
<li>
<span>작성일</span>
<span><c:out value="${result.frstRegisterPnttm}" /></span>
</li>
<li>
<span>작성자</span>
<span><c:out value="${result.frstRegisterNm}" /></span>
</li>
<li>
<span>조회</span>
<span><c:out value="${result.inqireCo}" /></span>
</li>
</ul>
</c:forEach>
</c:if>
<c:forEach var="result" items="${resultList}" varStatus="status">
<ul>
<li>
<span>번호</span>
<span><c:out value="${paginationInfo.totalRecordCount+1 - ((searchVO.pageIndex-1) * searchVO.pageUnit + status.count)}" /></span>
</li>
<c:choose>
<c:when test="${brdMstrVO.menuNo eq '9620000'}">
<li>
<span>제목</span>
<span>
<a href="#none" title="현재창 상세이동" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:out value="${result.nttSj}" />
</a>
</span>
</li>
<li>
<span>작성일</span>
<span><c:out value="${result.frstRegisterPnttm}" /></span>
</li>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<li>
<span>조회</span>
<span><c:out value="${result.inqireCo}" /></span>
</li>
</c:if>
</c:when>
<c:otherwise>
<li>
<span>제목</span>
<span>
<a href="#none" title="현재창 상세이동" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:out value="${result.nttSj}" />
</a>
</span>
</li>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<li>
<span>첨부</span>
<span>
<c:if test="${result.atchFileCnt > 0}">
<img src="<c:url value='/visitEdu/usr/publish/images/content/file_img.png'/>" alt="첨부파일 있음">
</c:if>
</span>
</li>
</c:if>
<li>
<span>작성일</span>
<span><c:out value="${result.frstRegisterPnttm}" /></span>
</li>
<li>
<span>작성자</span>
<span><c:out value="${result.frstRegisterNm}" /></span>
</li>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<li>
<span>조회수</span>
<span><c:out value="${result.inqireCo}" /></span>
</li>
</c:if>
</c:otherwise>
</c:choose>
</ul>
</c:forEach>
<%-- 게시물이 없을때 --%>
<c:if test="${empty resultList}">
<!-- 모바일 리스트에서도 표시할 게 없다면 필요한 안내를 여기에 넣을 수 있습니다. -->
</c:if>
</div>
<div class="btn_wrap btn_layout01">
<div class="btn_left"></div>
<div class="btn_center"></div>
<div class="btn_right">
<c:if test="${brdMstrVO.menuNo eq '9620000' || brdMstrVO.menuNo eq '9650000' || brdMstrVO.menuNo eq '99923100' || brdMstrVO.menuNo eq '99923700'}">
<button type="button" class="btnType01" onclick="javascript:fn_egov_addNotice(); return false;">글쓰기</button>
</c:if>
</div>
</div>

View File

@ -1,430 +0,0 @@
<%--
Class Name : EgovNoticeList.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="spring" uri="http://www.springframework.org/tags"%>
<head>
<script type="text/javascript">
function press(event) {
if (event.keyCode == 13) {
fn_egov_select_noticeList('1');
}
}
function fn_egov_addNotice() {
document.frm.method = "get";
document.frm.action = "<c:url value='/web/cop/bbs/addBoardArticle.do'/>";
document.frm.submit();
}
function fn_egov_select_noticeList(pageNo) {
var searchWrd = $.trim(document.frm.searchWrd.value);
var searchCnd = $.trim(document.frm.searchCnd.value);
if (searchCnd == "2" && searchWrd == "관리자") {
document.frm.adminSearchYn.value = 'Y';
}
document.frm.pageIndex.value = pageNo;
document.frm.method = "get";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>";
document.frm.submit();
}
function fn_egov_inqire_notice(bbsId, nttId) {
document.frm.nttId.value = nttId;
document.frm.bbsId.value = bbsId;
document.frm.method = "get";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardArticle.do'/>";
document.frm.submit();
}
/* $(document).ready(function() {
}); */
</script>
</head>
<body>
<section class="sub">
<div class="s_visual s_visual_img0${fn:substring(brdMstrVO.firstDeptMenuNo,1,2)}">
<div class="textbar">
<p class="s_tit">${brdMstrVO.bbsNm}</p>
<div class="sub_navi">
<ul>
<li class="home">&gt;</li>
<li id="menuCours">${brdMstrVO.menuCours}</li>
</ul>
</div>
</div>
</div>
<!--내용s-->
<div id="container" class="board_wrap">
<div class="board_search">
<div id="bo_list_total">
<span>Total ${resultCnt}건</span> ${boardVO.pageIndex} 페이지
</div>
<form name="frm" action="<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>" method="post">
<input type="hidden" name="bbsId" value="<c:out value='${boardVO.bbsId}'/>" />
<input type="hidden" name="nttId" value="0" />
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>" />
<label class="sound_only" for="sfl">검색대상</label>
<select name="searchCnd" class="select" title="검색조건 선택">
<option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if>>제목d</option>
<option value="1" <c:if test="${searchVO.searchCnd == '1'}">selected="selected"</c:if>>내용</option>
<option value="2" <c:if test="${searchVO.searchCnd == '2'}">selected="selected"</c:if>>작성자</option>
</select>
<label class="sound_only" for="stx">검색어<strong class="sound_only"> 필수</strong></label>
<input name="searchWrd" class="sch_input" id="searchWrd" required="" type="text" onkeypress="press(event);" maxlength="35" placeholder="검색어를 입력해주세요" value='${searchVO.searchWrd}' />
<label for="searchWrd">검색</label>
<button class="sch_btn sch_btn_st2" onclick="fn_egov_select_noticeList('1'); return false;" value="검색">
<i class="fa fa-search" aria-hidden="true"></i>
</button>
<input name="adminSearchYn" type="hidden" value='N' />
</form>
</div>
<c:if test="${brdMstrVO.bbsTyCode == 'BBST01' or brdMstrVO.bbsTyCode == 'BBST02' or brdMstrVO.bbsTyCode == 'BBST03' }">
<!-- 기본형 게시판s -->
<div class="board_list">
<table class="bo_basic_list">
<caption>게시판 목록</caption>
<colgroup>
<col style="width: 5%;"> <!-- 번호 -->
<col style="width: auto;"> <!-- 제목 -->
<c:if test="${brdMstrVO.replyPosblAt == 'Y'}">
<col style="width: 7%;"> <!-- 답변 -->
</c:if>
<c:if test="${brdMstrVO.bbsTyCode == 'BBST03'}">
<col style="width: 12%;"> <!-- 신고유형 -->
</c:if>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<col style="width: 1%;"> <!-- 첨부파일 -->
</c:if>
<c:if test="${brdMstrVO.openYn == 'Y' && brdMstrVO.bbsTyCode != 'BBST02' && brdMstrVO.bbsTyCode != 'BBST03'}">
<col style="width: 1%;"> <!-- 공개여부 -->
</c:if>
<c:if test="${brdMstrVO.regierYn == 'Y'}">
<col style="width: 7%;"> <!-- 글쓴이 -->
</c:if>
<c:if test="${brdMstrVO.viewsYn == 'Y'}">
<col style="width: 5%;"> <!-- 조회 -->
</c:if>
<c:if test="${brdMstrVO.regidayYn == 'Y'}">
<col style="width: 100px;"> <!-- 날짜 -->
</c:if>
</colgroup>
<thead>
<tr>
<th class="th_num2" scope="col">번호</th>
<th class="th_subject" scope="col">제목</th>
<c:if test="${brdMstrVO.replyPosblAt == 'Y'}">
<th class="th_name" scope="col">답변</th>
</c:if>
<c:if test="${brdMstrVO.bbsTyCode == 'BBST03'}">
<th class="th_subject" scope="col">신고유형</th>
</c:if>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<th class="th_file" scope="col">첨부파일</th>
</c:if>
<c:if test="${brdMstrVO.openYn == 'Y' && brdMstrVO.bbsTyCode != 'BBST02' && brdMstrVO.bbsTyCode != 'BBST03'}">
<th class="th_num" scope="col">공개여부</th>
</c:if>
<c:if test="${brdMstrVO.regierYn == 'Y'}">
<th class="th_name" scope="col">글쓴이</th>
</c:if>
<c:if test="${brdMstrVO.viewsYn == 'Y'}">
<th class="th_num" scope="col">조회</th>
</c:if>
<c:if test="${brdMstrVO.regidayYn == 'Y'}">
<th class="th_datetime" scope="col">날짜</th>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${notifyList}" varStatus="status">
<!-- 공지 -->
<tr class="notice_list">
<td class="td_num2">
<img src="/img/board_notice_icon.png" alt="">
</td>
<td class="td_subject" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<span class="sp_subject">
<%-- <a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');"> --%>
<c:out value="${result.nttSj}" />
<!-- </a> -->
</span>
</td>
<c:if test="${brdMstrVO.replyPosblAt == 'Y'}">
<td class="td_name"></td> <!-- 답변 -->
</c:if>
<c:if test="${brdMstrVO.bbsTyCode == 'BBST03'}">
<td class="td_num2"></td> <!-- 신고유형 -->
</c:if>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<td class="td_file">
<c:if test="${result.atchFileCnt > 0}">
<img src="/img/bo_icon_disc.jpg" alt="첨부파일">
</c:if>
</td>
</c:if>
<c:if test="${brdMstrVO.openYn == 'Y' && brdMstrVO.bbsTyCode != 'BBST02' && brdMstrVO.bbsTyCode != 'BBST03'}">
<td class="td_num">
<c:if test="${result.secretAt == 'Y'}">비공개</c:if>
<c:if test="${empty result.secretAt || result.secretAt == 'N'}">공개</c:if>
</td>
</c:if>
<c:if test="${brdMstrVO.regierYn == 'Y'}">
<td class="td_name">
<c:choose>
<c:when test="${not empty result.frstRegisterId}">관리자</c:when>
<c:otherwise>
<c:out value="${result.frstRegisterNm}" />
</c:otherwise>
</c:choose>
</td>
</c:if>
<c:if test="${brdMstrVO.viewsYn == 'Y'}">
<td class="td_num">
<c:out value="${result.inqireCo}" />
</td>
</c:if>
<c:if test="${brdMstrVO.regidayYn == 'Y'}">
<td class="td_datetime">
<c:out value="${result.frstRegisterPnttm}" />
</td>
</c:if>
</tr>
</c:forEach>
<c:forEach var="result" items="${resultList}" varStatus="status">
<!-- 게시글 -->
<tr>
<td class="td_num2">
<c:out value="${paginationInfo.totalRecordCount+1 - ((searchVO.pageIndex-1) * searchVO.pageUnit + status.count)}" />
</td>
<td class="td_subject" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<%-- <c:if test="${result.replyLc!=0}">
<c:forEach begin="0" end="${result.replyLc}" step="1">
&nbsp;
</c:forEach>
<img src="<c:url value='/images/reply_arrow.gif'/>" alt="reply arrow">
</c:if> --%>
<span class="sp_subject">
<%-- <a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');"> --%>
<c:out value="${result.nttSj}" />
<c:if test="${brdMstrVO.addYn == 'Y' && result.answerCnt != 0}">
<b>[<c:out value="${result.answerCnt}" />]</b>
</c:if>
<!-- </a> -->
</span>
</td>
<c:if test="${brdMstrVO.replyPosblAt == 'Y'}">
<td class="td_answer" style="padding: 7px 10px;">
<c:if test="${result.answerNttId != 0}">
<button class="btn_b03 btn" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.answerNttId}"/>');"
value="답변" style="padding: 6px 12px;">답변</button>
</c:if>
</td>
</c:if>
<c:if test="${brdMstrVO.bbsTyCode == 'BBST03'}">
<td class="td_num2">
<c:out value="${result.reportTyNm}" />
</td>
</c:if>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<td class="td_file">
<c:if test="${result.atchFileCnt > 0}">
<img src="/img/bo_icon_disc.jpg" alt="첨부파일">
</c:if>
</td>
</c:if>
<c:if test="${brdMstrVO.openYn == 'Y' && brdMstrVO.bbsTyCode != 'BBST02' && brdMstrVO.bbsTyCode != 'BBST03'}">
<td class="td_num">
<c:if test="${result.secretAt == 'Y'}">비공개</c:if>
<c:if test="${empty result.secretAt || result.secretAt == 'N'}">공개</c:if>
</td>
</c:if>
<c:if test="${brdMstrVO.regierYn == 'Y'}">
<td class="td_name">
<c:choose>
<c:when test="${not empty result.frstRegisterId}">관리자</c:when>
<c:otherwise>
<c:out value="${result.frstRegisterNm}" />
</c:otherwise>
</c:choose>
</td>
</c:if>
<c:if test="${brdMstrVO.viewsYn == 'Y'}">
<td class="td_num">
<c:out value="${result.inqireCo}" />
</td>
</c:if>
<c:if test="${brdMstrVO.regidayYn == 'Y'}">
<td class="td_datetime">
<c:out value="${result.frstRegisterPnttm}" />
</td>
</c:if>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td colspan="15" style="text-align: center;">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- 기본형 게시판e -->
</c:if>
<c:if test="${brdMstrVO.bbsTyCode == 'BBST05'}">
<!-- 포토형s -->
<div class="gallery_list">
<ul class="gallery_wrap">
<c:forEach var="result" items="${resultList}" varStatus="status">
<li>
<div class="gallery_box">
<a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:choose>
<c:when test="${result.atchFileCnt > 0}">
<div class="img" style="background:url('<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>&isThumbFile=thumbFile') no-repeat center,
url('<c:url value='/img/post/no-img.png'/>') no-repeat center; background-size:100% 100%;"></div>
</c:when>
<c:otherwise>
<div class="img" style="background:url('<c:url value='/img/post/no-img.png'/>') no-repeat center; background-size:100% 100%;"></div>
</c:otherwise>
</c:choose>
<%-- <div class="img" style="background:url('<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>') no-repeat center; background-size:100% 100%;"></div> --%>
<p class="subject">
<c:out value="${result.nttSj}" />
<c:if test="${brdMstrVO.addYn == 'Y' && result.answerCnt != 0}">
<b>[<c:out value="${result.answerCnt}" />]</b>
</c:if>
</p>
<p class="name"><i class="fa fa-user"></i>
<c:choose>
<c:when test="${not empty result.frstRegisterId}">관리자</c:when>
<c:otherwise>
<c:out value="${result.frstRegisterNm}" />
</c:otherwise>
</c:choose>
</p>
<p class="date"><i class="fa fa-clock-o"></i> <c:out value="${result.frstRegisterPnttm}" /></p>
<p class="eye"><i class="fa fa-eye"></i> 조회 수 : <c:out value="${result.inqireCo}" /></p>
</a>
</div>
</li>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<li style="text-align: center; width:100%;">
<div class="gallery_box" style="text-align: center; width:100%; height: 30px; margin-top: 8px;">
<span style="display: block;margin-top: 14px;">
<spring:message code="common.nodata.msg" />
</span>
</div>
</li>
</c:if>
</ul>
</div>
<!-- 포토형e -->
</c:if>
<c:if test="${brdMstrVO.bbsTyCode == 'BBST06' }">
<!-- 웹진형s -->
<div class="webzine_list">
<ul class="webzine_wrap">
<c:forEach var="result" items="${resultList}" varStatus="status">
<li>
<div class="webzine_box">
<a href="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:choose>
<c:when test="${result.atchFileCnt > 0}">
<div class="img" style="background:url('<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.atchFileId}"/>&fileSn=<c:out value="${result.fileSn}"/>&isThumbFile=thumbFile') no-repeat center,
url('<c:url value='/img/post/no-img.png'/>') no-repeat center; background-size:100% 100%;"></div>
</c:when>
<c:otherwise>
<div class="img" style="background:url('<c:url value='/img/post/no-img.png'/>') no-repeat center; background-size:100% 100%;"></div>
</c:otherwise>
</c:choose>
<div class="webzine_right">
<p class="subject">
<c:out value="${result.nttSj}"/>
<c:if test="${brdMstrVO.addYn == 'Y' && result.answerCnt != 0}">
<b> [<c:out value="${result.answerCnt}" />]</b>
</c:if>
</p>
<p class="text"><c:out value='${result.nttCn2}'/></p>
<div class="text_line">
<p class="name"><i class="fa fa-user"></i>
<c:choose>
<c:when test="${not empty result.frstRegisterId}">관리자</c:when>
<c:otherwise>
<c:out value="${result.frstRegisterNm}" />
</c:otherwise>
</c:choose>
</p>
<p class="date"><i class="fa fa-clock-o"></i> <c:out value="${result.frstRegisterPnttm}" /></p>
<p class="eye"><i class="fa fa-eye"></i> 조회 수 : <c:out value="${result.inqireCo}" /></p>
</div>
</div>
</a>
</div>
</li>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<li>
<div class="webzine_box" style="text-align: center; height: 50px;">
<span style="display: block;margin-top: 14px;">
<spring:message code="common.nodata.msg" />
</span>
</div>
</li>
</c:if>
</ul>
</div>
<!-- 웹진형e -->
</c:if>
<!-- 버튼 -->
<ul class="btn_bo_user">
<li>
<c:if test="${brdMstrVO.writeAuth == 'ROLE_ANONYMOUS' }">
<button class="btn_b03 btn" onclick="javascript:fn_egov_addNotice(); return false;" value="글쓰기"><i class="fa fa-pencil" aria-hidden="true"></i> 글쓰기</button>
</c:if>
</li>
</ul>
<!-- 페이징 -->
<div class="board_number">
<nav class="pg_wrap">
<ui:pagination paginationInfo="${paginationInfo}" type="imageWeb" jsFunction="fn_egov_select_noticeList" />
</nav>
</div>
</div>
<!--내용e-->
</section>
</body>

View File

@ -1,823 +0,0 @@
<%--
Class Name : EgovNoticeList.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="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
NiceID.Check.CPClient niceCheck = new NiceID.Check.CPClient();
String sSiteCode = "XC123"; // NICE로부터 부여받은 사이트 코드
String sSitePassword = "000000000000"; // NICE로부터 부여받은 사이트 패스워드
String sRequestNumber = "REQ0000000001"; // 요청 번호, 이는 성공/실패후에 같은 값으로 되돌려주게 되므로
// 업체에서 적절하게 변경하여 쓰거나, 아래와 같이 생성한다.
sRequestNumber = niceCheck.getRequestNO(sSiteCode);
session.setAttribute("REQ_SEQ" , sRequestNumber); // 해킹등의 방지를 위하여 세션을 쓴다면, 세션에 요청번호를 넣는다.
String sAuthType = ""; // 없으면 기본 선택화면, M: 핸드폰, C: 신용카드, X: 공인인증서
String popgubun = "N"; //Y : 취소버튼 있음 / N : 취소버튼 없음
String customize = ""; //없으면 기본 웹페이지 / Mobile : 모바일페이지
String sGender = ""; //없으면 기본 선택 값, 0 : 여자, 1 : 남자
// CheckPlus(본인인증) 처리 후, 결과 데이타를 리턴 받기위해 다음예제와 같이 http부터 입력합니다.
//리턴url은 인증 전 인증페이지를 호출하기 전 url과 동일해야 합니다. ex) 인증 전 url : http://www.~ 리턴 url : http://www.~
String sReturnUrl = "http://www.test.co.kr/checkplus_success.jsp"; // 성공시 이동될 URL
String sErrorUrl = "http://www.test.co.kr/checkplus_fail.jsp"; // 실패시 이동될 URL
// 입력될 plain 데이타를 만든다.
String sPlainData = "7:REQ_SEQ" + sRequestNumber.getBytes().length + ":" + sRequestNumber +
"8:SITECODE" + sSiteCode.getBytes().length + ":" + sSiteCode +
"9:AUTH_TYPE" + sAuthType.getBytes().length + ":" + sAuthType +
"7:RTN_URL" + sReturnUrl.getBytes().length + ":" + sReturnUrl +
"7:ERR_URL" + sErrorUrl.getBytes().length + ":" + sErrorUrl +
"11:POPUP_GUBUN" + popgubun.getBytes().length + ":" + popgubun +
"9:CUSTOMIZE" + customize.getBytes().length + ":" + customize +
"6:GENDER" + sGender.getBytes().length + ":" + sGender;
String sMessage = "";
String sEncData = "";
int iReturn = niceCheck.fnEncode(sSiteCode, sSitePassword, sPlainData);
if( iReturn == 0 )
{
sEncData = niceCheck.getCipherData();
}
else if( iReturn == -1)
{
sMessage = "암호화 시스템 에러입니다.";
}
else if( iReturn == -2)
{
sMessage = "암호화 처리오류입니다.";
}
else if( iReturn == -3)
{
sMessage = "암호화 데이터 오류입니다.";
}
else if( iReturn == -9)
{
sMessage = "입력 데이터 오류입니다.";
}
else
{
sMessage = "알수 없는 에러 입니다. iReturn : " + iReturn;
}
%>
<head>
<!-- lightbox -->
<link type="text/css" rel="stylesheet" href="/css/featherlight.min.css">
<link rel="stylesheet" href="/pb/css/reset.css">
<link rel="stylesheet" href="/pb/css/common.css">
<link rel="stylesheet" href="/pb/css/content.css">
<link rel="stylesheet" href="/pb/css/popup.css">
<script src="/js/featherlight.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
window.name ="Parent_window";
function fnPopup(){
//window.open('', 'popupChk', 'width=500, height=550, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbar=no');
//document.form_chk.action = "https://nice.checkplus.co.kr/CheckPlusSafeModel/checkplus.cb";
//document.form_chk.target = "popupChk";
//document.form_chk.submit();
var mblDn = "";
var userNm = "";
var form = document.frm;
//temp Data
mblDn = "USRCNFRM_00000000320";
userNm = "우영두";
form.mblDn.value = mblDn;
form.ntcrNm.value = userNm;
fn_egov_addNotice();
}
function press(event) {
if (event.keyCode == 13) {
fn_egov_select_noticeList('1');
}
}
function fn_egov_addNotice() {
document.frm.method = "get";
document.frm.action = "<c:url value='/web/cop/bbs/addBoardArticle.do'/>";
document.frm.submit();
}
function fn_egov_select_noticeList(pageNo) {
var searchWrd = $.trim(document.frm.searchWrd.value);
var searchCnd = $.trim(document.frm.searchCnd.value);
// 정기간행물 키워드 검색 시. 년도 제거. 전체 년도 조회
if (_bbsId == "BBSMSTR_000000000006" && searchWrd != "") {
document.frm.searchYear.value = "";
}
document.frm.pageIndex.value = pageNo;
document.frm.method = "get";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>";
<%--<c:if test="${!empty loginId}">
if(""!= document.frm.searchWrd.value){
updateRecentSearch();//최근검색어 등록
}
</c:if>--%>
document.frm.submit();
}
function fn_egov_inqire_notice(bbsId, nttId) {
document.frm.nttId.value = nttId;
document.frm.bbsId.value = bbsId;
document.frm.method = "get";
//document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardArticle.do'/>";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardDetail.do'/>";
document.frm.submit();
}
function fn_egov_pdfView(atchFileId, fileSn){
window.open("/cmm/fms/pdfView.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"");
}
function fn_egov_downFile(atchFileId, fileSn){
window.open("/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"");
}
//이메일 선택 관련 설정 및 옵션 수정
function selectEmail(){
var select =$($("select[name=selectEmailAdres_ins] option:selected")[1]).val();
$($("input[name=emailAdres_ins]")[1]).val(select);
if(select ==""){
$($("input[name=emailAdres_ins]")[1]).attr("readonly",false).attr("disabled",false);
}else{
$($("input[name=emailAdres_ins]")[1]).attr("readonly",true).attr("disabled",false);
}
}
function submit(){ //캡차모듈 등록
var answer = $($("input[name=answer]")[1]).val();
if(!answer){
alert('이미지에 보이는 숫자 또는 스피커를 통해 들리는 숫자를 입력해 주세요.');
}else{
$.ajax({
type:"POST",
url:"/captcha/captchaSubmit.do",
data:{
"answer": answer
},
dataType:'json',
success:function(returnData, status){
if(status == "success") {
alert(returnData.message);
if(returnData.answerYN == "Y") {
$($("input[name=answerYN]")[1]).val('Y');// 자동등록 입력값이 맞으면 Y 틀리면 기본값 N 으로 된다.
}
}else{ alert("ERROR!");return;}
},
error:function(request , status, error){
alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
}
});
}
}
function fn_ajax_noticeInsert(){
if(!$('input:checkbox[id="check"]').is(":checked")){
alert("개인정보수집동의에 동의하여 주세요.");
return;
}
if($($("input[name=userNm_ins]")[1]).val() ==""){
alert("이름을 넣어주세요.");
return ;
};
if(""==$($("input[name=emailId_ins]")[1]).val()){
alert("이메일 주소를 넣어주세요.");
$($("input[name=emailId_ins]")[1]).focus();
return;
}
if(""==$($("input[name=emailAdres_ins]")[1]).val()){
alert("이메일 주소를 넣어주세요.");
$($("input[name=emailAdres_ins]")[1]).focus();
return;
}
var email = $($("input[name=emailId_ins]")[1]).val()+"@"+$($("input[name=emailAdres_ins]")[1]).val();
if(!validateCheck_(email, '이 메일형식이 올바르지 않습니다.')){
return ;
}
var regCall = /^[0-9]+$/;
var msg = '연락처에는 숫자만 입력이 가능합니다.';
if(!validateCheck_($($("input[name=call]")[1]).val(), msg, regCall)){
$($("input[name=call]")[1]).focus();
return;
}
if(!validateCheck_($($("input[name=call_1]")[1]).val(), msg, regCall)){
$($("input[name=call_1]")[1]).focus();
return;
}
if(!validateCheck_($($("input[name=call_2]")[1]).val(), msg, regCall)){
$($("input[name=call_2]")[1]).focus();
return;
}
var callNum = $($("input[name=call]")[1]).val()+"-"+$($("input[name=call_1]")[1]).val()+"-"+$($("input[name=call_2]")[1]).val()
if($($("input[name=zip]")[1]).val() ==""){
alert("주소를 넣어주세요");
$($("input[name=zip]")[1]).focus();
return ;
};
if($($("input[name=detailAdres]")[1]).val() ==""){
alert("상세주소를 넣어주세요");
$($("input[name=detailAdres]")[1]).focus();
return ;
};
var letterForm = document.letterForm;
letterForm.userNm.value = $($("input[name=userNm_ins]")[1]).val() ; // 이름
letterForm.emailAdres.value = $($("input[name=emailId_ins]")[1]).val()+"@"+$($("input[name=emailAdres_ins]")[1]).val();
letterForm.mbtlNum.value = callNum; // 전화번호
letterForm.userZip.value = $($("input[name=zip]")[1]).val(); // 우편번호
letterForm.userAdres.value = $($("input[name=adres]")[1]).val(); // 기본주소
letterForm.userDetailAdres.value = $($("input[name=detailAdres]")[1]).val(); // 상세주소
var params = $(letterForm).serialize();
var url = "<c:url value='/web/cop/bbs/insertSubsrUserAjax.do'/>";
$.ajax({
type:"POST",
"url":url,
data:params,
dataType:'json',
//timeout:(1000*30),
success : function(returnData, status) {
if (returnData.status == "success") {
$('.featherlight-close-icon').trigger("click");
alert("정기간행물을 신청해 주셔서 감사합니다.");
}else if(returnData.status == "dupl"){
$('.featherlight-close-icon').trigger("click");
alert("이미 정기간행물을 신청하시고 계십니다.");
}else if(returnData.status == "authfail"){
$('.featherlight-close-icon').trigger("click");
alert("본인 인증이 필요합니다.");
}else{ alert("ERROR"); return;}
},
error : function(request , status, error) {
alert("정기간행물 저장이 실패되었습니다.");
//alert("code:"+request.status+"\n"+"message:"+request.responseText+"\n"+"error:"+error);
},
complete : function(){
}
});
}
var regExp;
function validateCheck_(checkString, msg, regP) {
regExp = /^[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*@[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*\.[a-zA-Z]{2,3}$/i;
if(regP !== undefined) regExp = regP;
if(regExp.test(checkString)==false){
alert(msg);
return false;
}else{
return true;
}
}
// 년도 선택 처리
function fnSchduleSearch(mode, cnd) {
var searchYear = document.frm.searchYear.value;
var searchDate = new Date(searchYear, "1", "1");
if (mode == "navi") {
if (cnd == 'prev') searchDate.setYear(searchDate.getFullYear()-1);
else if (cnd == 'next') searchDate.setFullYear(searchDate.getFullYear()+1);
} else if (mode == "year") {
searchDate.setFullYear(cnd);
}
if (searchDate.getFullYear() == "2013"
|| searchDate.getFullYear() == "2020") return;
document.frm.searchYear.value = searchDate.getFullYear();
document.frm.searchWrd.value = "";
document.frm.pageIndex.value = 1;
document.frm.method = "get";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>";
document.frm.submit();
}
// 정기간행물 정기구독 신청
function fn_add_periodicals() {
// 인증 체크
authCheckAjax("periodicals", '');
// 원대리 자리
}
// 정기간행물 정기구독 신청 팝업
function fn_pop_periodicals(userNm) {
$.featherlight.close(); // 팝업닫기.
//$.featherlight($("#fla1"), {});
// 접근성을 위한 tabindex 부여
$.featherlight( $("#fla1"), {
afterOpen: function() {
var count = 1;
$( '.featherlight' ).find( 'input, select, textarea, button.continue' ).each( function() {
$( this ).attr( 'tabindex', count++ );
});
},
});
$($("input[name=userNm_ins]")[1]).val(userNm);
}
<%--
// test 본인인증 처리
function testAuth() {
var returnType= "/web/cop/bbsWeb/selectBoardList.do?bbsId=BBSMSTR_000000000006";
document.authFrm.returnType.value = returnType;
document.authFrm.action = "<c:url value='/web/cop/selfauth/authenticationResult.do'/>";
document.authFrm.submit();
}
--%>
var _bbsId = "${boardVO.bbsId}";
var _searchYear = "${boardVO.searchYear}";
$(document).ready(function() {
if($(location).attr('host').indexOf("kcdf.or.kr") != -1){
if($(location).attr('host').indexOf("www") == -1){
var strurl = $(location).attr('href');
strurl = strurl.replace("kcdf.or.kr", "www.kcdf.or.kr");
window.location.replace(strurl);
}
}
// 정기간행물 년도 바 or 사업실명제 년도 바
if (_bbsId == "BBSMSTR_000000000006" || _bbsId == "BBSMSTR_000000000103") {
if (_searchYear == "") {
$("#searchYear").attr("class", "current");
} else {
$("#searchYear_"+_searchYear).attr("class", "current");
}
}
});
</script>
<style>
.td_datetimeNotBold {text-align:center; width:100px; color:#222; line-height:22px;}
.td_datetimeNotBold .month {font-size:23px;}
.td_datetimeNotBold .year_day {font-size:15px;}
.td_list .text .subjectNotBold {color:#000; font-size:18px;}
.gal_thum_text_wrNotBold {padding:10px 20px; overflow:hidden;}
.gal_thum_text_wrNotBold .subject {
font-size:17px; color:#000; margin-bottom:7px; border-bottom:1px solid #ddd; width:100%; padding-bottom:7px;
text-overflow:ellipsis;overflow: hidden;white-space: nowrap;
}
.gal_thum_text_wrNotBold .text_list {font-size:14px; color:#000; line-height:20px;}
.gal_thum_text_wrNotBold .text_list span {font-size:14px; color:#000; margin-right:5px;}
.gal_thum_text_wrNotBold .date_list {float:left; font-size:12px; color:#838383; padding-top:7px;}
.gal_thum_text_wrNotBold .date_list li {float:left; margin-right:10px;}
.gal_thum_text_wrNotBold .date_list span {font-size:12px; color:#000; margin-right:5px;}
.gallery_board_wrNotBold .img, .gal_thum_text_wr {cursor:pointer; }
.gal_thum_text_wrNotBold .more_list {float:right; margin-top:5px; }
.gal_thum_text_wrNotBold .more_list li {float:left; margin-left:5px;}
.td_list .text .con_textNotBold {color:#888; font-size:14px; margin-top:5px;line-height:16px}
</style>
</head>
<body>
<div id="container">
<h3 style="display:inline-block;"><span>${brdMstrVO.bbsNm}</span></h3>
<c:if test="${'Y' eq brdMstrVO.writeYn}">
<button class="plus_btn" type="button" value="등록" onclick="javascript:fnPopup(); return false;" style="display:inline-block;margin-left:81%;margin-top:-20px;" >글쓰기</button>
</c:if>
<!--내용s-->
<div class="con_page">
<!-- 탭 구분s -->
<!-- 채용공고/결과 -->
<c:if test="${boardVO.bbsId eq 'BBSMSTR_000000000124'}">
<ul class="board_tab">
<c:if test="${empty boardVO.seCd or boardVO.seCd eq 'SE01'}"><%-- 채용공고 --%>
<li class="current"><a href="#">채용공고</a></li>
<li><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=BBSMSTR_000000000124&seCd=SE02">채용결과</a></li>
</c:if>
<c:if test="${boardVO.seCd eq 'SE02'}"><%-- 채용결과 --%>
<li><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=BBSMSTR_000000000124&seCd=SE01">채용공고</a></li>
<li class="current"><a href="#">채용결과</a></li>
</c:if>
</ul>
</c:if>
<!-- 사업공모/결과 -->
<c:if test="${boardVO.bbsId eq 'BBSMSTR_000000000119'}">
<ul class="board_tab">
<c:if test="${empty boardVO.seCd or boardVO.seCd eq 'SE01'}"><%-- 사업공모 --%>
<li class="current"><a href="#">사업공모</a></li>
<li><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=BBSMSTR_000000000119&seCd=SE02">공모결과</a></li>
</c:if>
<c:if test="${boardVO.seCd eq 'SE02'}"><%-- 사업공모 --%>
<li><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=BBSMSTR_000000000119&seCd=SE01">사업공모</a></li>
<li class="current"><a href="#">공고결과</a></li>
</c:if>
</ul>
</c:if>
<!-- 탭 구분e -->
<!-- 사업실명제 년도 바s -->
<c:if test="${boardVO.bbsId eq 'BBSMSTR_000000000103'}">
<style lang="text/css">
.tab_wid4 li { width: 20%; }
</style>
<ul class="tab tab_wid4">
<li id="searchYear"><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=${searchVO.bbsId}">전체</a></li>
<li id="searchYear_2019"><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=${searchVO.bbsId}&searchYear=2019">2019</a></li>
<li id="searchYear_2018"><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=${searchVO.bbsId}&searchYear=2018">2018</a></li>
<li id="searchYear_2017"><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=${searchVO.bbsId}&searchYear=2017">2017</a></li>
<li id="searchYear_2016"><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=${searchVO.bbsId}&searchYear=2016">2016</a></li>
<c:forEach var="yearResult" items="${yearResult}" varStatus="status">
<li
<c:if test="${yearResult.code eq searchVO.bbsYear}">
class="current"
</c:if>
><a href="/web/cop/bbsWeb/selectBoardList.do?bbsId=${searchVO.bbsId}&searchYear=2018">2018</a></li>
</c:forEach>
</ul>
</c:if>
<!-- 사업실명제 년도 바e -->
<c:if test="${boardVO.bbsId eq 'BBSMSTR_000000000006'}">
<!-- 정기간행물 구독신청 -->
<div class="news_botton_wr">
<div class="news_botton"><a href="javascript:fn_add_periodicals();">정기간행물 신청하기</a></div>
</div>
</c:if>
<div class="board_search">
<form name="frm" action="<c:url value='/cop/bbs/selectBoardList.do'/>" method="post">
<input type="hidden" name="menuNo" class="hiddenMenuNo" />
<c:if test="${not empty searchVO.seCd}"><%-- 구분값. 공모/결과 탭화면을 위한 --%>
<input type="hidden" name="seCd" value="<c:out value='${searchVO.seCd}'/>" />
</c:if>
<input type="hidden" name="bbsId" value="<c:out value='${boardVO.bbsId}'/>" />
<input type="hidden" name="nttId" value="0" />
<input type="hidden" name="nttIds" value="0" />
<input type="hidden" name="searchYear" value="<c:out value='${boardVO.searchYear}'/>" />
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>" />
<input type="hidden" id= "mblDn" name="mblDn" value=""/>
<input type="hidden" id= "ntcrNm" name="ntcrNm" value=""/>
<c:if test="${brdMstrVO.bbsTyCode == 'BBST05'}">
<!-- 포토형 목록 개수 -->
<%-- <div class="bo_list_num">
<label class="sound_only" for="listNum">목록수</label>
<select name="listNum" id="listNum" >
<option value="1" <c:if test="${searchVO.listNum == '1'}">selected="selected"</c:if>>12개씩 보기</option>
<option value="2" <c:if test="${searchVO.listNum == '2'}">selected="selected"</c:if>>24개씩 보기</option>
<option value="3" <c:if test="${searchVO.listNum == '3'}">selected="selected"</c:if>>48개씩 보기</option>
</select>
</div> --%>
</c:if>
<div class="bo_list_search">
<label class="sound_only" for="searchCnd">검색대상</label>
<c:choose>
<c:when test="${brdMstrVO.bbsTyCode == 'BBST07'}"> <!-- 자료실(포토형)게시판 검색구분 없음. 내용만 검색 -->
<input type="hidden" name="searchCnd" value="1" />
<c:set var="placeholder" value="목차를 검색하세요" />
</c:when>
<c:otherwise>
<c:set var="placeholder" value="검색어를 입력해주세요" />
<select name="searchCnd" title="검색조건 선택">
<option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if>>제목</option>
<option value="1" <c:if test="${searchVO.searchCnd == '1'}">selected="selected"</c:if>>내용</option>
</select>
</c:otherwise>
</c:choose>
<label class="sound_only" for="stx">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="searchWrd" class="sch_input recentSearch" maxlength="200" placeholder="${placeholder}" size="35" value='<c:out value="${searchVO.searchWrd}"/>' onkeypress="press(event);" title="검색어 입력">
<button class="sch_btn" type="button" value="검색" onclick="javascript:fn_egov_select_noticeList('1'); return false;" ><i class="fa fa-search" aria-hidden="true"></i>
</div>
</form>
<!-- 정기간행물 년도 바s -->
<c:if test="${boardVO.bbsId eq 'BBSMSTR_000000000006'}">
<div class="news_botton_wr" style="padding-top: 38px;">
<div id="ss1">
<!-- <div class="news_botton"><a href="javascript:fn_add_periodicals();">정기간행물 신청하기</a></div> -->
<c:import url="/WEB-INF/jsp/web/cop/bbs/EgovPopup.jsp">
<c:param name="TEST" value="정기간행물" />
</c:import>
<!-- 본인인증 안내 및 인증 -->
<c:import url="/WEB-INF/jsp/web/cop/selfauth/authInfo.jsp"></c:import>
<%--
테스트 인증
<form name="authFrm" method="post">
<input type="hidden" name="returnType" value="" /> <label for="nameEn">이름</label>
<select name="nameEn" id="nameEn">
<option value="yu1" selected="selected">홍길동</option>
<option value="yu2">김길동</option>
<option value="yu3">박길동</option>
</select>
<button onclick="javascript:testAuth(); return false;">인증처리</button>
</form>
--%>
</div>
</div>
<div class="year21_wrap">
<c:if test="${not empty boardVO.searchYear}">
<button onclick="fnSchduleSearch('navi', 'next'); return false;" class="pre_year">이전년도</button>
<p class="present_year"><c:out value='${boardVO.searchYear}'/></p>
<button onclick="fnSchduleSearch('navi', 'prev'); return false;" class="next_year">다음년도</button>
</c:if>
<ul class="year21_list">
<a href="#Redirect"><li style="width:16%;" onclick="fnSchduleSearch('year', '2019'); return false;" id="searchYear_2019">2019</li></a>
<a href="#Redirect"><li style="width:16%;" onclick="fnSchduleSearch('year', '2018'); return false;" id="searchYear_2018">2018</li></a>
<a href="#Redirect"><li style="width:16%;" onclick="fnSchduleSearch('year', '2017'); return false;" id="searchYear_2017">2017</li></a>
<a href="#Redirect"><li style="width:16%;" onclick="fnSchduleSearch('year', '2016'); return false;" id="searchYear_2016">2016</li></a>
<a href="#Redirect"><li style="width:16%;" onclick="fnSchduleSearch('year', '2015'); return false;" id="searchYear_2015">2015</li></a>
<a href="#Redirect"><li style="width:16%;" onclick="fnSchduleSearch('year', '2014'); return false;" id="searchYear_2014">2014</li></a>
</ul>
</div>
</c:if>
<!-- 정기간행물 년도 바e -->
<div id="bo_list_total">
총 게시글 <span>${resultCnt}건</span>
</div>
</div>
<c:if test="${brdMstrVO.bbsTyCode eq null or brdMstrVO.bbsTyCode == 'BBST01' or brdMstrVO.bbsTyCode == 'BBST02' or brdMstrVO.bbsTyCode == 'BBST03' or brdMstrVO.bbsTyCode == 'BBST08' }">
<!-- 기본형 게시판s -->
<table class="bo_basic_list">
<caption>게시판 목록</caption>
<c:forEach var="result" items="${notifyList}" varStatus="status">
<!-- 상단공지 -->
<tr>
<td class="td_datetime">
<%-- 월(bold)를 일로 변경함. 게시판 전체 190121 --%>
<div class="month">${fn:substring(result.frstRegisterPnttm,8,10)}</div>
<div class="year_day">${fn:substring(result.frstRegisterPnttm, 0,4)}.${fn:substring(result.frstRegisterPnttm, 5,7)}</div>
</td>
<td class="td_list">
<div class="td_list_wr_notice" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');" >
<div class="text">
<ul>
<li class="number">NO.<c:out value="${paginationInfo.totalRecordCount+1 - ((searchVO.pageIndex-1) * searchVO.pageUnit + status.count)}" /></li>
<li>조회수.<c:out value="${result.inqireCo}" />
<c:if test="${result.atchFileCnt > 0}"><img src="/img/post/atch_file.png"></c:if>
</li>
</ul>
<div class="subject"><c:out value="${result.nttSj}" /></div>
<div class="td_date"></div>
</div>
</div>
</td>
</tr>
</c:forEach>
<c:forEach var="result" items="${resultList}" varStatus="status">
<!-- 게시글 리스트 -->
<tr <c:if test='${result.cookYN == "false"}'>style='font-weight: bold';</c:if>>
<td class="td_datetimeNotBold">
<div class="month">${fn:substring(result.frstRegisterPnttm,8,10)}</div>
<div class="year_day">${fn:substring(result.frstRegisterPnttm, 0,4)}.${fn:substring(result.frstRegisterPnttm, 5,7)}</div>
</td>
<td class="td_list">
<div class="td_list_wr_notice" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');" >
<div class="text">
<ul>
<li class="number">NO.<c:out value="${paginationInfo.totalRecordCount+1 - ((searchVO.pageIndex-1) * searchVO.pageUnit + status.count)}" /></li>
<c:if test="${brdMstrVO.viewsYn == 'Y'}">
<li>조회수.<c:out value="${result.inqireCo}" />
<c:if test="${result.atchFileCnt > 0}"><img src="/img/post/atch_file.png"></c:if>
</li>
</c:if>
</ul>
<div class="subjectNotBold"><c:out value="${result.nttSj}" /></div>
</div>
<!-- 기간 -->
<c:if test="${brdMstrVO.ntceDateYn == 'Y' && not empty result.ntceBgnde && not empty result.ntceEndde
&& fn:length(result.ntceBgnde) == 10 && fn:length(result.ntceEndde) == 10}">
<div class="td_date">
<jsp:useBean id="now" class="java.util.Date" />
<fmt:parseDate value="${result.ntceBgnde}0000" pattern="yyyy-MM-ddHHmm" var="startDate" />
<fmt:parseDate value="${result.ntceEndde}2359" pattern="yyyy-MM-ddHHmm" var="endDate" />
<fmt:formatDate value="${now}" pattern="yyyy.MM.dd" var="nowDate" />
<fmt:formatDate value="${startDate}" pattern="yyyy.MM.dd" var="openDate"/>
<fmt:formatDate value="${endDate}" pattern="yyyy.MM.dd" var="closeDate"/>
<div class="td_date_day"><c:out value="${openDate}" /> ~ <c:out value="${closeDate}" /></div>
<c:choose>
<c:when test="${now > startDate && now < endDate}">
<div class="step02">접수중</div>
</c:when>
<c:when test="${now < startDate}">
<div class="step01">접수예정</div>
</c:when>
<c:otherwise>
<div class="step03">접수마감</div>
</c:otherwise>
</c:choose>
</div>
</c:if>
<!-- 내용줄인것일듯 -->
<%-- <div class="con_text"><c:out value="${result.nttCn2}" /></div> --%>
</div>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0 && fn:length(notifyList) == 0}">
<tr>
<td colspan="10" style="text-align: center;">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</table>
</c:if>
<!-- 기본형 게시판e -->
<c:if test="${brdMstrVO.bbsTyCode == 'BBST05'}">
<!-- 포토형 게시판s -->
<div class="gallery_board_wr">
<ul>
<c:forEach var="result" items="${resultList}" varStatus="status">
<li <c:if test='${result.cookYN == "false"}'>style='font-weight: bold';</c:if>>
<c:choose>
<c:when test="${result.atchFileCnt > 0}">
<div style="background:url('<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value='${result.atchFileId}'/>&fileSn=<c:out value="${result.fileSn}"/>'), url('/ipedu/img/post/no-img.png') no-repeat center;
background-size:contain;" class="img" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');"></div>
</c:when>
<c:otherwise>
<div style="background:url('/ipedu/img/post/no-img.png') no-repeat center; background-size:contain;"
class="img" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');"></div>
</c:otherwise>
</c:choose>
<div class="gal_thum_text_wrNotBold" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<div class="subject"><c:out value="${result.nttSj}" /></div>
<ul class="date_list">
<li><span>게시일 <c:out value="${result.frstRegisterPnttm}" /></span></li>
<li><span>조회수 <c:out value="${result.inqireCo}" /></span></li>
</ul>
</div>
</li>
</c:forEach>
</ul>
<c:if test="${fn:length(resultList) == 0}">
<table class="bo_basic_list">
<tr>
<td colspan="10" style="text-align: center;">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</table>
</c:if>
</div>
<!-- 포토형 게시판e -->
</c:if>
<c:if test="${brdMstrVO.bbsTyCode == 'BBST07'}">
<!-- 자료실(포토형) 게시판s -->
<div class="gallery_board_wr">
<ul>
<c:forEach var="result" items="${resultList}" varStatus="status">
<li>
<c:choose>
<c:when test="${result.thumbAtchFileCnt > 0}">
<div tabindex="0" alt="${result.nttSj} 상세보기" class="img" style="background:url('<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value='${result.thumbAtchFileId}'/>&fileSn=<c:out value='${result.thumbAtchFileSn}'/>') no-repeat center;
background-size:contain;"
href="<c:url value='/web/cop/bbs/selectBoardArticleAjax.do'/>?bbsId=<c:out value="${result.bbsId}"/>&nttId=<c:out value="${result.nttId}"/> #fla3_ajax"
data-featherlight="ajax"></div>
</c:when>
<c:otherwise>
<div tabindex="0" class="img" alt="${result.nttSj} 상세보기" style="background:url('/img/board/gallery_thumnail.jpg') no-repeat center; background-size:100% 100%;"
href="<c:url value='/web/cop/bbs/selectBoardArticleAjax.do'/>?bbsId=<c:out value="${result.bbsId}"/>&nttId=<c:out value="${result.nttId}"/> #fla3_ajax"
data-featherlight="ajax"></div>
</c:otherwise>
</c:choose>
<div class="gal_thum_text_wr">
<div class="subject" href="<c:url value='/web/cop/bbs/selectBoardArticleAjax.do'/>?bbsId=<c:out value="${result.bbsId}"/>&nttId=<c:out value="${result.nttId}"/> #fla3_ajax"
data-featherlight="ajax">
<c:out value="${result.nttSj}" />
</div>
<ul class="date_list">
<li><span>게시일</span> <c:out value="${result.frstRegisterPnttm}" /></li>
<li><span>조회수</span> <c:out value="${result.inqireCo}" /></li>
</ul>
<ul class="more_list">
<li>
<c:choose>
<c:when test="${brdMstrVO.linkUrlYn == 'Y'}"> <!-- 링크 사용 시 해당 링크 -->
<c:if test="${not empty result.linkUrl}">
<a href="<c:out value="${result.linkUrl}" />" target="_blank">
<img src="/img/board/more_search_btn.png" alt="자세히보기"></a>
</c:if>
<c:if test="${empty result.linkUrl}">
<img src="/img/board/more_search_btn.png" alt="자세히보기" style="visibility: hidden;">
</c:if>
</c:when>
<c:otherwise> <!-- 링크 미사용 시 PDF -->
<c:if test="${result.atchFileCnt > 0}">
<a href="javascript:fn_egov_pdfView('<c:out value="${result.atchFileId}" />', '<c:out value="${result.fileSn}" />');">
<img src="/img/board/more_search_btn.png" alt="자세히보기"></a>
</c:if>
<c:if test="${result.atchFileCnt == 0}">
<img src="/img/board/more_search_btn.png" alt="자세히보기" style="visibility: hidden;">
</c:if>
</c:otherwise>
</c:choose>
</li>
<li>
<c:if test="${result.atchFileCnt > 0}">
<a href="javascript:fn_egov_downFile('<c:out value="${result.atchFileId}" />', '<c:out value="${result.fileSn}" />');">
<img src="/img/board/more_down_btn.png" alt="다운하기"></a>
</c:if>
<c:if test="${result.atchFileCnt == 0}">
<img src="/img/board/more_search_btn.png" alt="자세히보기" style="visibility: hidden;">
</c:if>
</li>
</ul>
</div>
</li>
</c:forEach>
</ul>
<c:if test="${fn:length(resultList) == 0}">
<table class="bo_basic_list">
<tr>
<td colspan="10" style="text-align: center;">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</table>
</c:if>
</div>
<!-- 자료실(포토형) 게시판e -->
</c:if>
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty resultList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
<!-- //페이지 네비게이션 끝 -->
</div>
<!--내용e-->
</div>
<form name="letterForm" method="get" >
<input type="hidden" name="userNm" />
<input type="hidden" name="emailAdres" />
<input type="hidden" name="userZip" />
<input type="hidden" name="userAdres" />
<input type="hidden" name="userDetailAdres" />
<input type="hidden" name="mbtlNum" />
<input type="hidden" name="seCd" value="02" />
</form>
<!-- 본인인증 서비스 팝업을 호출하기 위해서는 다음과 같은 form이 필요합니다. -->
<form name="form_chk" method="post">
<input type="hidden" name="m" value="checkplusService"> <!-- 필수 데이타로, 누락하시면 안됩니다. -->
<input type="hidden" name="EncodeData" value="<%= sEncData %>"> <!-- 위에서 업체정보를 암호화 한 데이타입니다. -->
<a href="javascript:fnPopup();"> CheckPlus 안심본인인증 Click</a>
</form>
</body>

View File

@ -0,0 +1,379 @@
<%--
Class Name : EgovNoticeList.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="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<head>
<script type="text/javascript">
$(document).ready(function(){
//$(".btnSearch").keyup(function(e){if(e.keyCode == 13) linkPage('1');});
});
function fn_egov_addNotice(){
document.frm.method = "post";
document.frm.action = "<c:url value='/web/cop/bbs/addBoardArticle.do'/>";
document.frm.submit();
}
function linkPage(pageNo) {
if (pageNo != 1) {
document.frm.searchWrd.value = "";
document.frm.searchCnd.value = "";
}
var searchWrd = $.trim(document.frm.searchWrd.value);
var searchCnd = $.trim(document.frm.searchCnd.value);
document.frm.pageIndex.value = pageNo;
document.frm.method = "post";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>";
document.frm.submit();
}
function fn_egov_inqire_notice(bbsId, nttId) {
document.frm.nttId.value = nttId;
document.frm.bbsId.value = bbsId;
document.frm.method = "post";
document.frm.action = "<c:url value='/web/cop/bbsWeb/selectBoardDetail.do'/>";
document.frm.submit();
}
function fn_egov_pdfView(atchFileId, fileSn){
window.open("/cmm/fms/pdfView.do?atchFileId=" + atchFileId + "&fileSn=" + fileSn);
}
function fn_egov_downFile(atchFileId, fileSn){
window.open("/cmm/fms/FileDown.do?atchFileId=" + atchFileId + "&fileSn=" + fileSn);
}
</script>
</head>
<body>
<!-- content -->
<input type="hidden" name="pageType" id="pageType" value="bbs"/>
<div class="cont_wrap" id="sub">
<div class="cont_tit">
<h2>${brdMstrVO.bbsNm}</h2>
<div class="sns_go">
<button type="button" title="새창열림">
<img src="<c:url value='/visitEdu/usr/publish/images/content/facebook_icon.png' />" alt="페이스북 바로가기">
</button>
<button type="button" title="새창열림">
<img src="<c:url value='/visitEdu/usr/publish/images/content/twitter_icon.png' />" alt="트위터 바로가기">
</button>
</div>
</div>
<form name="frm" action="<c:url value='/web/cop/bbsWeb/selectBoardList.do'/>" method="post">
<input type="hidden" name="menuNo" class="hiddenMenuNo"/>
<c:if test="${not empty searchVO.seCd}">
<!-- 구분값. 공모/결과 탭화면을 위한 -->
<input type="hidden" name="seCd" value="<c:out value='${searchVO.seCd}'/>"/>
</c:if>
<input type="hidden" name="bbsId" value="<c:out value='${boardVO.bbsId}'/>"/>
<input type="hidden" name="nttId" value="0"/>
<input type="hidden" name="nttIds" value="0"/>
<input type="hidden" name="searchYear" value="<c:out value='${boardVO.searchYear}'/>"/>
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
<input type="hidden" id="mblDn" name="mblDn" value=""/>
<!-- 인증체크 후 실패 url -->
<input type="hidden" id="failRtnUrl" name="failRtnUrl" value="<c:out value='${failRtnUrl}'/>"/>
<input type="hidden" id="password" name="password" value=""/>
<div class="list_top">
<div class="list_top_left">
<label for="subSearch" class="label">검색조건 선택</label>
<select name="searchCnd" id="subSearch" class="selType1">
<option value="" <c:if test="${searchVO.searchCnd == ''}">selected="selected"</c:if>>전체</option>
<option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if>>제목</option>
<option value="1" <c:if test="${searchVO.searchCnd == '1'}">selected="selected"</c:if>>내용</option>
</select>
</div>
<div class="btn_wrap">
<label for="subsearchTxt" class="label">검색어 입력</label>
<input type="text" id="subsearchTxt" name="searchWrd" placeholder="검색어를 입력해주세요" title="검색어 입력" size="30" value="<c:out value='${searchVO.searchWrd}'/>">
<button type="button" class="btnType01" onclick="javascript:linkPage('1'); return false;">검색</button>
</div>
</div>
</form>
<div class="tb_list01">
<table>
<caption>공지사항 : 번호, 제목, 첨부, 작성일, 작성자, 조회수 등의 정보제공</caption>
<colgroup>
<col style="width:5%;">
<col style="width:auto;">
<c:choose>
<c:when test="${brdMstrVO.menuNo eq '9620000'}">
<col style="width:10%;"> <!-- 묻고답하기 -->
<col style="width:10%;">
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<col style="width:10%;">
</c:if>
</c:when>
<c:otherwise>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<col style="width:10%;">
</c:if>
<col style="width:10%;">
<col style="width:10%;">
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<col style="width:10%;">
</c:if>
</c:otherwise>
</c:choose>
</colgroup>
<thead>
<tr>
<th scrope="col">번호</th>
<th scrope="col">제목</th>
<c:choose>
<c:when test="${brdMstrVO.menuNo eq '9620000'}">
<th scope="col">작성일</th> <!-- 묻고답하기 -->
<th scope="col">처리현황</th>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<th scope="col">조회수</th>
</c:if>
</c:when>
<c:otherwise>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<th scope="col">첨부</th>
</c:if>
<th scope="col">작성일</th>
<th scope="col">작성자</th>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<th scope="col">조회수</th>
</c:if>
</c:otherwise>
</c:choose>
</tr>
</thead>
<tbody>
<c:if test="${'1' eq searchVO.pageIndex}">
<c:forEach var="result" items="${notifyList}" varStatus="status">
<tr>
<th scope="row" class="has_notice">
<p><span class="list_notice">공지</span></p>
</th>
<td class="t_left">
<a href="#none" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:out value="${result.nttSj}" />
</a>
</td>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<td>
<c:if test="${result.atchFileCnt > 0}">
<img src="<c:url value='/visitEdu/usr/publish/images/content/file_img.png'/>" alt="첨부파일 있음">
</c:if>
</td>
</c:if>
<td><p><c:out value="${result.frstRegisterPnttm}" /></p></td>
<td><p><c:out value="${result.frstRegisterNm}" /></p></td>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<td><p><c:out value="${result.inqireCo}" /></p></td>
</c:if>
</tr>
</c:forEach>
</c:if>
<c:forEach var="result" items="${resultList}" varStatus="status">
<tr>
<th scope="row">
<p><c:out value="${paginationInfo.totalRecordCount+1 - ((searchVO.pageIndex-1) * searchVO.pageUnit + status.count)}" /></p>
</th>
<c:choose>
<c:when test="${brdMstrVO.menuNo eq '9620000'}">
<td class="t_left">
<a href="#none" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:out value="${result.nttSj}" />
</a>
</td>
<td><c:out value="${result.frstRegisterPnttm}" /></td>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<td><c:out value="${result.inqireCo}" /></td>
</c:if>
</c:when>
<c:otherwise>
<td class="t_left">
<a href="#none" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:out value="${result.nttSj}" />
</a>
</td>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<td>
<c:if test="${result.atchFileCnt > 0}">
<img src="<c:url value='/visitEdu/usr/publish/images/content/file_img.png'/>" alt="첨부파일 있음">
</c:if>
</td>
</c:if>
<td><c:out value="${result.frstRegisterPnttm}" /></td>
<td><c:out value="${result.frstRegisterNm}" /></td>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<td><c:out value="${result.inqireCo}" /></td>
</c:if>
</c:otherwise>
</c:choose>
</tr>
</c:forEach>
<c:if test="${empty resultList}">
<tr class="row">
<c:choose>
<c:when test="${brdMstrVO.bbsId eq 'BBSMSTR_000000000721'}">
<td colspan="5">검색된 내용이 없습니다.</td>
</c:when>
<c:otherwise>
<td colspan="6">검색된 내용이 없습니다.</td>
</c:otherwise>
</c:choose>
</tr>
</c:if>
</tbody>
</table>
</div>
<div class="tb_list01_m">
<c:if test="${'1' eq searchVO.pageIndex}">
<c:forEach var="result" items="${notifyList}" varStatus="status">
<ul>
<li>
<span>번호</span>
<span><span class="list_notice">공지</span></span>
</li>
<li>
<span>제목</span>
<span>
<a href="#none" title="현재창 상세이동" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:out value="${result.nttSj}" />
</a>
</span>
</li>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<li>
<span>첨부</span>
<span>
<c:if test="${result.atchFileCnt > 0}">
<img src="<c:url value='/visitEdu/usr/publish/images/content/file_img.png'/>" alt="첨부파일 있음">
</c:if>
</span>
</li>
</c:if>
<li>
<span>작성일</span>
<span><c:out value="${result.frstRegisterPnttm}" /></span>
</li>
<li>
<span>작성자</span>
<span><c:out value="${result.frstRegisterNm}" /></span>
</li>
<li>
<span>조회</span>
<span><c:out value="${result.inqireCo}" /></span>
</li>
</ul>
</c:forEach>
</c:if>
<c:forEach var="result" items="${resultList}" varStatus="status">
<ul>
<li>
<span>번호</span>
<span><c:out value="${paginationInfo.totalRecordCount+1 - ((searchVO.pageIndex-1) * searchVO.pageUnit + status.count)}" /></span>
</li>
<c:choose>
<c:when test="${brdMstrVO.menuNo eq '9620000'}">
<li>
<span>제목</span>
<span>
<a href="#none" title="현재창 상세이동" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:out value="${result.nttSj}" />
</a>
</span>
</li>
<li>
<span>작성일</span>
<span><c:out value="${result.frstRegisterPnttm}" /></span>
</li>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<li>
<span>조회</span>
<span><c:out value="${result.inqireCo}" /></span>
</li>
</c:if>
</c:when>
<c:otherwise>
<li>
<span>제목</span>
<span>
<a href="#none" title="현재창 상세이동" onclick="javascript:fn_egov_inqire_notice('<c:out value="${result.bbsId}"/>', '<c:out value="${result.nttId}"/>');">
<c:out value="${result.nttSj}" />
</a>
</span>
</li>
<c:if test="${brdMstrVO.fileAtchPosblAt == 'Y'}">
<li>
<span>첨부</span>
<span>
<c:if test="${result.atchFileCnt > 0}">
<img src="<c:url value='/visitEdu/usr/publish/images/content/file_img.png'/>" alt="첨부파일 있음">
</c:if>
</span>
</li>
</c:if>
<li>
<span>작성일</span>
<span><c:out value="${result.frstRegisterPnttm}" /></span>
</li>
<li>
<span>작성자</span>
<span><c:out value="${result.frstRegisterNm}" /></span>
</li>
<c:if test="${brdMstrVO.viewsYn ne 'N'}">
<li>
<span>조회수</span>
<span><c:out value="${result.inqireCo}" /></span>
</li>
</c:if>
</c:otherwise>
</c:choose>
</ul>
</c:forEach>
<%-- 게시물이 없을때 --%>
<c:if test="${empty resultList}">
<!-- 모바일 리스트에서도 표시할 게 없다면 필요한 안내를 여기에 넣을 수 있습니다. -->
</c:if>
</div>
<div class="btn_wrap btn_layout01">
<div class="btn_left"></div>
<div class="btn_center"></div>
<div class="btn_right">
<c:if test="${brdMstrVO.menuNo eq '9620000' || brdMstrVO.menuNo eq '9650000' || brdMstrVO.menuNo eq '99923100' || brdMstrVO.menuNo eq '99923700'}">
<button type="button" class="btnType01" onclick="javascript:fn_egov_addNotice(); return false;">글쓰기</button>
</c:if>
</div>
</div>
<c:if test="${!empty resultList}">
<div class="page">
<ui:pagination paginationInfo="${paginationInfo}" type="imageWeb" jsFunction="linkPage"/>
</div>
</c:if>
</div>
<!--// content -->
</body>

View File

@ -3,15 +3,7 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<html lang="ko">
<head>
<<<<<<< HEAD
=======
<!-- css -->
<!-- script -->
<link rel="stylesheet" href="/ipedu/visitEdu/usr/publish/css/main.css">
>>>>>>> branch 'master' of http://tolag3@vcs.iten.co.kr:9999/itnAdmin/koipa_edu_2025-1
<link rel="stylesheet" href="/ipedu/visitEdu/usr/publish/css/swiper.min.css">
<script src="/ipedu/visitEdu/usr/publish/script/swiper.js"></script>
<script type="text/javascript">