Files
sake/src/main/webapp/WEB-INF/views/mngr/bbs/gnrlsctt/GnrlBbscttDtlPopupR.jsp

706 lines
41 KiB
Plaintext

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page import="java.util.Date" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui" %>
<%@ taglib prefix="f" uri="/WEB-INF/tlds/f.tld" %>
<%@ page import="java.util.Date" %>
<%--
Class Name : GnrlBbscttDtlPopupR.jsp
Description : 일반 게시글 상세 조회 화면
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2023-12-08 김혜지 최초 생성
--%>
<head>
<script>
$(document).ready(function () {
console.log('urlval 태그' + $('.urlVal').length);
const popup = document.getElementById('board-list-detail');
let urlVal = '';
const bbscttInnb = popup.querySelector('[name="script_bbscttInnb"]')?.value || "";
const bbsId = popup.querySelector('[name="bbsId"]')?.value || "";
const bbsTyCd = popup.querySelector('[name="bbsTyCd"]')?.value || "";
const sopmalCd = popup.querySelector('[name="sopmalCd"]')?.value || "";
const bbsUseAt = popup.querySelector('[name="bbsUseAt"]')?.value || "";
const npayBbscttSnb = popup.querySelector('[name="npayBbscttSnb"]')?.value || "";
console.log("bbscttInnb:", bbscttInnb);
console.log("bbsId:", bbsId);
console.log("bbsTyCd:", bbsTyCd);
console.log("sopmalCd:", sopmalCd);
if (bbsUseAt === 'Y' && !npayBbscttSnb) {
if (bbsId === 'largeLMS_event') {
urlVal = '/' + sopmalCd + '/extra/bbs/selectSMSEventPage?bbscttInnb=' + bbscttInnb;
} else {
urlVal = '/sopmal/csc/selectBbscttAuth?authDv=CM&reqUrl=detail&bbsTyCd='
+ encodeURIComponent(bbsTyCd)
+ '&bbsId=' + encodeURIComponent(bbsId)
+ '&bbscttInnb=' + encodeURIComponent(bbscttInnb);
}
}
console.log(' urlVal 실행됨: ' + urlVal);
popup.querySelector('.urlVal').value = urlVal;
});
</script>
</head>
<div id="board-list-detail" class="modal" style="max-width: 1400px;">
<div class="modal-header">
<h4>게시글 보기</h4>
</div>
<div class="modal-content">
<%--게시글 정보--%>
<c:set value="${resultMap.bbscttInfo.dataMap}" var="bbscttInfo"/>
<%--게시글 vo--%>
<c:set value="${resultMap.bbsctt}" var="bbscttVO"/>
<%--추가문항답변--%>
<c:set value="${resultMap.bbscttInfo.qesitmAnswList}" var="qesitmAnswList"/>
<%--게시글 파일정보--%>
<c:set value="${resultMap.bbscttInfo.fileInfo}" var="fileInfo"/>
<c:set value="${resultMap.bbscttInfo.fileInfoGson}" var="fileInfoGson"/>
<%--게시판 설정 --%>
<c:set value="${resultMap.bbsInfo}" var="bbsInfo"/>
<%--게시글 연관상품--%>
<c:set value="${resultMap.goodsList.goodsList}" var="goodsList"/>
<spring:eval expression="@environment.getProperty('mngrfo.common.fileupload.cdnurl')" var="cdnurl"/>
<%--상세에서 작업 후 목록 조회 유무--%>
<input type="hidden" id="${dtlPop}" value="<c:out value='${dtlPop}'/>"/>
<input type="hidden" id="useAt" value="<c:out value="${bbscttInfo.useAt}"/>"/>
<c:out value="${bbscttInfo.cnScript}" escapeXml="false"/>
<input type="hidden" name="script_bbscttInnb" value="${bbscttInfo.bbscttInnb }"/>
<input type="hidden" id="bbsTyCd" name="bbsTyCd" value="<c:out value='${bbsInfo.bbsTyCd}' />" />
<input type="hidden" id="sopmalCd" name="sopmalCd" value="<c:out value='${bbscttVO.sopmalCd}' />" />
<input type="hidden" id="bbsUseAt" name="bbsUseAt" value="<c:out value='${bbscttInfo.useAt}' />" />
<input type="hidden" id="npayBbscttSnb" name="npayBbscttSnb" value="<c:out value='${bbscttInfo.npayBbscttSnb}' />" />
<input type="hidden" id="bbsId" name="bbsId" value="<c:out value='${bbsInfo.bbsId}' />" />
<div class="form-control-container mb-10">
<div class="left">
<c:if test="${bbscttInfo.useAt eq 'Y' && empty bbscttInfo.npayBbscttSnb}">
<div class="input-container inline-block mr-5">
<label class="visually-hidden" for="url">사용자 페이지 URL</label>
<input type="text" id="url" class="input-text urlVal" readonly style="width: 500px;"/>
</div>
<button type="button" class="btn xsm primary" onclick="fn_copy_url();">URL 복사</button>
</c:if>
</div>
<div class="center">
</div>
<div class="right">
<c:if test="${bbscttInfo.useAt eq 'Y' && empty bbscttInfo.npayBbscttSnb}">
<button type="button" class="btn xsm primary outline" onclick="fn_select_bbsctt_update_pop('<c:out
value="${ bbscttInfo.bbscttInnb }"/>','dtlPop');"><spring:message
code="button.update"/></button>
<c:if test="${bbsInfo.answRegist eq 'Y'}">
<c:choose>
<c:when test="${not empty bbscttInfo.answBbscttInnb}">
<button type="button" id="dtlAnswUpdtBtn" class="btn xsm primary outline"
onclick="fn_select_answ_update_pop('<c:out value="${bbscttInfo.bbscttInnb}"/>','<c:out value="${bbscttInfo.answBbscttInnb}"/>','dtlPop');">
답변 <spring:message code="button.update"/>
</button>
</c:when>
<c:otherwise>
<button type="button" id="dtlAnswRegBtn" class="btn xsm primary"
onclick="fn_select_answ_regist_pop('<c:out value="${bbscttInfo.bbscttInnb}"/>','dtlPop');">
답변 <spring:message code="button.insert"/>
</button>
</c:otherwise>
</c:choose>
</c:if>
<button type="button" class="btn xsm dark"
onclick="fn_delete_bbsctt('<c:out value="${ bbscttInfo.bbscttInnb }"/>'
,''
,''
<c:if test="${bbsInfo.bbsTyCd eq '05' || bbsInfo.bbsTyCd eq '12'}">
,'Y'
</c:if>);">
<spring:message code="button.delete"/></button>
</c:if>
</div>
</div>
<div class="table-wrapper mb-40">
<table class="table">
<caption>해당 테이블에 대한 설명</caption>
<colgroup>
<col style="width: 15%;">
<col style="width: 35%;">
<col style="width: 15%;">
<col style="width: 35%;">
</colgroup>
<tbody>
<c:if test="${bbsInfo.goodsChoice eq 'Y' }">
<c:if test="${not empty goodsList}">
<tr>
<th>상품정보</th>
<td colspan="3">
<div class="product-search-box__product parentGoodsContainer">
<c:forEach var="goods" items="${goodsList}">
<div class="product-group__item">
<a onclick = "fn_move_goods_dtl_common(<c:out value="${goods.goodsInnb}"/>,'sopmal');" style="cursor:pointer;">
<img src="<c:out value ="${cdnurl}${goods.img}"/>"
onerror="this.src='<c:url value="/mngr/images/image_placeholder.png"/>'"
alt="상품이미지" width="64">
</a>
<a onclick="fn_move_goods_dtl_common(<c:out value="${goods.goodsInnb}"/>,
'sopmal',
<c:out value="${goods.goodsKndCd}"/>);"
style="cursor:pointer;">
</a>
<div class="product-group__description">
<p><c:out value="${goods.goodsNm}"/></p>
<p class="product-group__description-price"><fmt:formatNumber
value="${goods.slepric}" pattern="#,###"/>원</p>
</div>
<c:if test="${bbsInfo.bbsTyCd eq '05'}">
<input hidden id="goodsInnb" value="${goods.goodsInnb}"/>
</c:if>
</div>
</c:forEach>
</div>
</td>
</tr>
</c:if>
</c:if>
<tr>
<c:if test="${bbsInfo.notice eq 'Y' }">
<th>공지 기간 제한<br><span class="fs-13">(공지글 여부)</span></th>
<td>
<div class="td-inner">
<span id="dtlNtc">
<c:choose>
<c:when test="${bbscttInfo.ntcAt eq 'Y' && bbscttInfo.ntcPdSetupAt eq 'Y'}">
<c:choose>
<c:when test="${bbscttInfo.ntcPdAt eq 'Y'}">
${ bbscttInfo.ntceBgnDe }~${ bbscttInfo.ntceEndDe }[종료]
</c:when>
<c:otherwise>
${ bbscttInfo.ntceBgnDe }~${ bbscttInfo.ntceEndDe }
</c:otherwise>
</c:choose>
</c:when>
<c:when test="${bbscttInfo.ntcAt eq 'Y' && bbscttInfo.ntcPdSetupAt eq 'N'}">
상시 공지
</c:when>
<c:when test="${bbscttInfo.ntcAt eq 'N'}">
공지 안함
</c:when>
</c:choose>
</span>
</div>
</td>
</c:if>
<c:choose>
<c:when test="${bbsInfo.bbsTyCd ne '04'}">
<th>노출 기간 제한<br><span>(노출 여부)</span></th>
</c:when>
<c:otherwise>
<th>노출 여부</th>
</c:otherwise>
</c:choose>
<td>
<div class="td-inner">
<span id="dtlNtce">
<c:choose>
<c:when test="${bbscttInfo.expsrAt eq 'Y' && bbscttInfo.ntcePdSetupAt eq 'Y'}">
<c:choose>
<c:when test="${bbscttInfo.ntcePdAt eq 'Y'}">
${ bbscttInfo.ntceBgnDe }~${ bbscttInfo.ntceEndDe }[종료]
</c:when>
<c:otherwise>
${ bbscttInfo.ntceBgnDe }~${ bbscttInfo.ntceEndDe }
</c:otherwise>
</c:choose>
</c:when>
<c:when test="${bbscttInfo.expsrAt eq 'Y' && bbscttInfo.ntcePdSetupAt eq 'N'}">
상시 노출
</c:when>
<c:when test="${bbscttInfo.expsrAt eq 'N' && bbscttInfo.ntcePdSetupAt eq 'N'}">
노출 안함
</c:when>
</c:choose>
</span>
</div>
</td>
</tr>
<tr>
<th>등록일</th>
<td>
<div class="td-inner" id="dtlRegistDt">
${ bbscttInfo.registDt }
</div>
</td>
<th>조회수</th>
<td>
<div class="td-inner" id="dtlInqireCnt">
${bbscttInfo.inqireCnt }
</div>
</td>
</tr>
<tr>
<c:if test="${bbsInfo.onoffline eq 'Y' }">
<th>온/오프라인</th>
<td>
<div class="td-inner" id="onoflneAt">
<c:choose>
<c:when test="${bbscttInfo.onlineAt eq 'Y' && bbscttInfo.oflneAt eq 'N'}">온라인</c:when>
<c:when test="${bbscttInfo.onlineAt eq 'N' && bbscttInfo.oflneAt eq 'Y'}">오프라인</c:when>
<c:when test="${bbscttInfo.onlineAt eq 'Y' && bbscttInfo.oflneAt eq 'Y'}">온/오프라인</c:when>
</c:choose>
</div>
</td>
</c:if>
<c:if test="${bbsInfo.reprsntImg eq 'Y' }">
<c:if test="${not empty bbscttInfo.reprsntImgOrginlFilNm}">
<th>대표이미지</th>
<td>
<div class="td-inner">
<ul class="file-list">
<li id="<c:out value = '${bbscttInfo.bbscttInnb}'/>">
<a href="#" class="file-list__item" id = "<c:out value="${bbscttInfo.reprsntImgOrginlFilNm}"/>"
onclick="downloadFile(this,'<c:out value="${bbscttVO.sopmalCd}"/>','BDIG', 1);"><%--TODO::추후 쇼핑몰코드 SET해야함--%>
<i class="icon icon_file-list mr-2"></i>
<span class="file-list__item-title">
<c:out value="${bbscttInfo.reprsntImgOrginlFilNm}"/>
</span>
</a>
</li>
</ul>
</div>
</td>
</c:if>
</c:if>
</tr>
<c:if test="${not empty qesitmAnswList}"> <%--2문항 답변 출력시 다음 tr에 문항 답변 출력--%>
<c:forEach items="${qesitmAnswList}" var="answ" varStatus="status">
<c:choose>
<c:when test="${status.index % 2 == 0}">
<tr>
<th><c:out value="${answ.qesitmNm}"/></th>
<td>
<c:choose>
<c:when test="${not empty answ.answCn}">
<c:out value="${answ.answCn}"/>
</c:when>
<c:otherwise>
(없음)
</c:otherwise>
</c:choose>
</td>
<c:if test="${bbsInfo.mainExpsr eq 'Y'}">
<th>메인노출</th>
<td>
<div class="td-inner">
<c:out value="${bbscttInfo.mainExpsrAt}"/>
</div>
</td>
</c:if>
</c:when>
<c:when test="${status.index % 2 != 0}">
<th><c:out value="${answ.qesitmNm}"/></th>
<td>
<c:choose>
<c:when test="${not empty answ.answCn}">
<c:out value="${answ.answCn}"/>
</c:when>
<c:otherwise>
(없음)
</c:otherwise>
</c:choose>
</td>
<c:if test="${bbsInfo.mainExpsr eq 'Y'}">
<th>메인노출</th>
<td>
<div class="td-inner">
<c:out value="${bbscttInfo.mainExpsrAt}"/>
</div>
</td>
</c:if>
</tr>
</c:when>
</c:choose>
</c:forEach>
</c:if>
<tr>
<th>작성자</th>
<td>
<div>
<c:choose>
<%--회원--%>
<c:when test="${bbscttInfo.regusrDvCd eq '01'}">
<button type="button"
class="crmBtn"
data-info="info01"
onclick="fn_select_crm_mini_info(this,
'<c:out value='${bbscttInfo.regusr}'/>'
,'<c:out value='${bbscttInfo.mbrDvCd}'/>'
,'#modalDiv');">
<span class="gray-12">
<c:out value="${bbscttInfo.regusrNm}"/>
</span><br>
(<c:choose>
<c:when test="${bbscttInfo.joinMthCd eq 'kakao'}"><%--kakao--%>
<i class="icon icon_word-badge_kakao"></i>
</c:when>
<c:when test="${bbscttInfo.joinMthCd eq 'naver'}"><%--naver--%>
<i class="icon icon_word-badge_naver"></i>
</c:when>
<c:when test="${bbscttInfo.joinMthCd eq 'pos'}"><%--pos--%>
<i class="icon icon_word-badge_pos"></i>
<span class="fw-500 blue-7">
<c:out value="${bbscttInfo.regusrId}"/>
</span>
</c:when>
<c:otherwise>
<span class="fw-500 blue-7"><c:out
value="${bbscttInfo.regusrId}"/></span>
</c:otherwise>
</c:choose>/
<span class="fw-500 green-8">
<c:out value="${bbscttInfo.mbrGradNm}"/>
</span>)
</button>
</c:when>
<%--관리자1--%>
<c:when test="${bbscttInfo.regusrDvCd eq '02'}">
<c:out value="${ bbscttInfo.mngrNm}"/>(<c:out
value="${bbscttInfo.maskingRegusrId}"/>)
</c:when>
<%--네이버페이--%>
<c:when test="${bbscttInfo.regusrDvCd eq '03'}">
<c:out value="${ bbsctt.regusrNm}"/>
</c:when>
<%--입점사--%>
<c:when test="${bbscttInfo.regusrDvCd eq '04'}">
입점사
</c:when>
<%--비회원--%>
<c:when test="${bbscttInfo.regusrDvCd eq '99'}">
<c:out value="${bbscttInfo.maskingRegusrNm}"/>[비회원]
</c:when>
</c:choose>
</div>
</td>
</tr>
<c:if test="${bbsInfo.bbsTyCd eq '12'}">
<tr>
<th>주문번호</th>
<td colspan="3">
<div class="td-inner"><a style="cursor:pointer; text-decoration: underline;" onclick="fn_comm_go_ordr_dtl('<c:out value="${bbscttInfo.ordrInnb}" />');return false;"><c:out value="${bbscttInfo.ordrInnb}"/></a></div>
</td>
</tr>
</c:if>
<c:if test="${not empty resultMap.bbscttInfo.fileInfo}">
<c:choose>
<c:when test = "${bbscttInfo.regusrDvCd ne '02'}"><%--상품qna 사진 미리보기--%>
<tr>
<th>등록된 이미지<br></th>
<td colspan="3">
<div class="td-inner">
<c:forEach items="${resultMap.bbscttInfo.fileInfo}" var="file" varStatus="status">
<div class="file-preview__container">
<div class="file-preview">
<span class="file-preview__number"></span>
<div class="file-preview__image" style="max-width: 200px; max-height: 100%; overflow: hidden;">
<a href="<c:out value="${cdnurl}${file.filCours}${file.sysFilNm}"/>" target="_blank">
<img src="<c:out value="${cdnurl}${file.filCours}${file.sysFilNm}"/>" onerror="this.src='/mngr/images/image_placeholder.png'" alt="" style="width: 100%; height:100%;">
</a>
</div>
</div>
</div>
</c:forEach>
</div>
</td>
</tr>
</c:when>
<c:otherwise><%--상품qna제외한 파일 정보(텍스트)--%>
<tr>
<th>파일</th>
<td colspan="3">
<div class="td-inner">
<ul class="file-list">
<c:if test = "${not empty resultMap.bbscttInfo.fileInfo}">
<c:forEach var="file" items="${resultMap.bbscttInfo.fileInfo}">
<li id="<c:out value = '${file.bbscttAtchmnfilInnb}'/>">
<a href="#" class="file-list__item" id = '<c:out value="${file.orginlFilNm}"/>'
onclick="downloadFile(this,'<c:out value="${bbscttVO.sopmalCd}"/>','BDFL', 1);">
<i class="icon icon_file-list mr-2"></i>
<span class="file-list__item-title">
<c:out value="${file.orginlFilNm}"/>
</span>
</a>
</li>
</c:forEach>
</c:if>
</ul>
</div>
</td>
</tr>
</c:otherwise>
</c:choose>
</c:if>
<tr>
<th><c:out value="${bbsInfo.questionSj}"/></th>
<td colspan="3">
<div class="td-inner">
<div>
<c:choose>
<c:when test="${bbscttInfo.useAt eq 'Y'}">
<c:out value="${bbscttInfo.sj}"/>
</c:when>
<c:otherwise>
<span class="stone-6">삭제된 게시글입니다.</span>
</c:otherwise>
</c:choose>
</div>
<c:if test="${bbscttInfo.newAt eq 'Y'}">
<i class="icon icon_new-badge"></i>
</c:if>
<c:if test="${bbscttInfo.popularAt eq 'Y'}">
<i class="icon icon_hot-badge"></i>
</c:if>
<c:if test="${ bbscttInfo.secretBbscttAt eq 'Y' }">
<i class="icon icon_lock"></i>
</c:if>
</div>
</td>
</tr>
<tr>
<th><c:out value="${bbsInfo.awswCn}"/></th>
<td colspan="3">
<div id="cnDiv" class="ck-content" style="white-space: pre-wrap">
<c:if test="${bbscttInfo.useAt eq 'N'}">
<span class="stone-6">삭제된 게시글입니다.</span>
</c:if>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<%--게시글 상세내용 END--%>
<%--게시글 답변내용 START--%>
<c:if test="${bbsInfo.answRegist eq 'Y'}">
<c:if test="${not empty bbscttInfo.answBbscttInnb}">
<div class="form-control-container mb-10 dtlAnswDiv">
<div class="left">
<span class="fs-16 fw-500">답변</span>
</div>
<div class="center">
</div>
<div class="right">
</div>
</div>
<div class="table-wrapper mb-40 dtlAnswDiv">
<table class="table">
<caption>해당 테이블에 대한 설명</caption>
<colgroup>
<col style="width: 15%;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th>작성자</th>
<td>
<div class="td-inner">
<span class="comment-id">
<i class="icon icon_comment-user"></i>
<span class="comment-id__name" id="dtlMbrNmRe">
<c:out value="${bbscttInfo.maskingRegusrId}"/><c:out value="${bbscttInfo.mngrNm}"/>
</span>
</span>
</div>
</td>
</tr>
<tr>
<th>제목</th>
<td>
<div class="td-inner" id="dtlSjRe">
<c:out value="${bbscttInfo.answSj}"/>
</div>
</td>
</tr>
<tr>
<th>내용</th>
<td class="ck-content"><c:out value="${bbscttInfo.answCn}" escapeXml="false"/></td>
</tr>
</tbody>
</table>
</div>
</c:if>
</c:if>
<%--게시글 답변내용 END--%>
<%-- 게시글 댓글 START --%>
<c:if test="${bbsInfo.cmRegist eq 'Y' }">
<c:if test="${bbscttInfo.cmUseAt eq 'Y' }">
<div id="cm"></div>
<%-- 게시글 댓글 등록 START --%>
<form class="cmFormTr dtlCmDiv" id="cmInputClass">
<input type="hidden" name="bbscttInnb" value="${bbscttInfo.bbscttInnb }" id="bbscttInnb"/>
<input type="hidden" name="bbsId" value="${ bbsInfo.bbsId }"/>
<input type="hidden" name="cmInnb"/>
<div class="comment-write-container mb-40">
<span class="comment-id">
<i class="icon icon_comment-user"></i>
<span class="comment-id__name"><c:out value="${bbscttVO.regusrNm }"/></span>
<span class="comment-id__id">( <c:out value="${bbscttVO.regusrId}"/> )</span>
<span class="comment-id__ip">(IP: <c:out value="${ip}"/>)</span>
</span>
<div class="comment-write">
<div class="comment-write__textarea-container">
<textarea class="comment-write__textarea" id="cmInputCn" rows="5"
placeholder="댓글을 입력하세요." title="댓글 입력" name="cn"></textarea>
</div>
<button type="button" id="btnCmReg" class="comment-write__button"
onclick="fn_regist_cm('c', this);"><spring:message
code="button.insert"/></button>
</div>
<div class="b-checkbox-container">
<label class="b-checkbox checkbox">
<input type="checkbox" name="secretBbscttAt" value="Y"
onclick="fn_check_secret_cm(this);">
<span class="check"></span>
<span class="control-label">비밀 댓글</span>
</label>
</div>
</div>
</form>
</c:if>
</c:if>
<%-- 게시글 댓글 등록 END --%>
<%-- 게시글 댓글 END --%>
<%-- 이전글/다음글 START --%>
<c:if test="${bbsInfo.prevNext eq 'Y'}">
<div class="prev-next">
<c:if test="${not empty bbscttInfo.beforeInnb}">
<div class="prev-next__item prev">
<div class="prev-next__item-title">이전글</div>
<div class="prev-next__item-content">
<button type="button" class="moveDetil"
regusr-dv="02"
bbs-id="<c:out value ='${bbsInfo.bbsId}'/>"
bbsctt-innb="<c:out value ='${ bbscttInfo.beforeInnb }'/>">
<c:choose>
<c:when test="${bbscttInfo.beforeUseAt eq 'Y'}">
<c:out value="${bbscttInfo.beforeSj}"/>
</c:when>
<c:otherwise>
<span class="stone-6">삭제된 게시글입니다.</span>
</c:otherwise>
</c:choose>
</button>
</div>
<div class="prev-next__item-info">
<span class="prev-next__item-info__author"
regusrDv="<c:out value="${ bbscttInfo.beforeRegusrDvCd}"/>">
<c:choose>
<%--회원--%>
<c:when test="${bbscttInfo.beforeRegusrDvCd eq '01'}">
<span class="gray-12">
<c:out value="${bbscttInfo.beforeRegusrNm}"/>
</span><br>
(<span class="fw-500 blue-7"><c:out value="${bbscttInfo.beforeRegusrId}"/></span>/
<span class="fw-500 green-8"><c:out
value="${bbscttInfo.beforeMbrGradNm}"/></span>)
</c:when>
<%--관리자--%>
<c:when test="${bbscttInfo.beforeRegusrDvCd eq '02'}">
<c:out value="${ bbscttInfo.mngrNm}"/>(<c:out
value="${ bbscttInfo.maskingBeforeRegusrId}"/>)
</c:when>
<%--네이버페이--%>
<c:when test="${bbscttInfo.beforeRegusrDvCd eq '03'}">
naverpay
</c:when>
<%--입점사--%>
<c:when test="${bbscttInfo.beforeRegusrDvCd eq '04'}">
입점사
</c:when>
<%--비회원--%>
<c:when test="${bbscttInfo.beforeRegusrDvCd eq '99'}">
<c:out value="${ bbscttInfo.maskingBeforeRegusrNm}"/>[비회원]
</c:when>
</c:choose>
</span>
<span class="prev-next__item-info__dat e" id="dtlPrevDt">
<c:out value="${ bbscttInfo.beforeRegistDt}"/>
</span>
</div>
</div>
</c:if>
<c:if test="${not empty bbscttInfo.afterInnb}">
<div class="prev-next__item next">
<div class="prev-next__item-title">다음글</div>
<div class="prev-next__item-content">
<button type="button" class="moveDetil"
regusr-dv="02"
bbs-id="<c:out value ='${bbsInfo.bbsId}'/>"
bbsctt-innb="<c:out value ='${ bbscttInfo.afterInnb }'/>">
<c:choose>
<c:when test="${bbscttInfo.afterUseAt eq 'Y'}">
<c:out value="${bbscttInfo.afterSj}"/>
</c:when>
<c:otherwise>
<span class="stone-6">삭제된 게시글입니다.</span>
</c:otherwise>
</c:choose>
</button>
</div>
<div class="prev-next__item-info">
<span class="prev-next__item-info__author"
regusrDv="<c:out value="${ bbscttInfo.afterRegusrDvCd}"/>">
<c:choose>
<%--회원--%>
<c:when test="${bbscttInfo.afterRegusrDvCd eq '01'}">
<span class="gray-12">
<c:out value="${bbscttInfo.afterRegusrNm}"/>
</span><br>
(<span class="fw-500 blue-7"><c:out value="${bbscttInfo.afterRegusrId}"/></span>/
<span class="fw-500 green-8"><c:out
value="${bbscttInfo.afterMbrGradNm}"/></span>)
</c:when>
<%--관리자--%>
<c:when test="${bbscttInfo.afterRegusrDvCd eq '02'}">
<c:out value="${ bbscttInfo.mngrNm}"/>(<c:out
value="${ bbscttInfo.maskingAfterRegusrId}"/>)
</c:when>
<%--네이버페이--%>
<c:when test="${bbscttInfo.afterRegusrDvCd eq '03'}">
naverpay
</c:when>
<%--입점사--%>
<c:when test="${bbscttInfo.afterRegusrDvCd eq '04'}">
입점사
</c:when>
<%--비회원--%>
<c:when test="${bbscttInfo.afterRegusrDvCd eq '99'}">
<c:out value="${ bbscttInfo.maskingAfterRegusrNm}"/>[비회원]
</c:when>
</c:choose>
</span>
<span class="prev-next__item-info__date" id="dtlPrevDt">
<c:out value="${ bbscttInfo.afterRegistDt}"/>
</span>
</div>
</div>
</c:if>
</div>
<!-- 이전글/다음글 END -->
</c:if>
</div>
<div class="modal-footer">
<a id="btnCloseModal" rel="modal:close" class="btn primary" style="cursor:pointer">확인</a>
</div>
</div>