109 lines
4.8 KiB
Plaintext
109 lines
4.8 KiB
Plaintext
<%@ 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="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"%>
|
|
<%--
|
|
Class Name : RejectAuthR.jsp
|
|
Description : 게시글 사용 권한 없을 시 권한 거부 페이지
|
|
Modification Information
|
|
|
|
수정일 수정자 수정내용
|
|
------- -------- ---------------------------
|
|
2024-05-29 김혜인 최초 생성
|
|
--%>
|
|
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<c:if test = "${bbscttVO.reqDv ne 'goodsDtl'}">
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title></title>
|
|
<%-- 공통 include --%>
|
|
<jsp:include page="/WEB-INF/views/comm/mobile/Include.jsp"/>
|
|
</head>
|
|
<body>
|
|
<div class="screen-wrap">
|
|
<!-- 헤더 영역 -->
|
|
<header class="header header--sub">
|
|
<jsp:include page="/WEB-INF/views/comm/mobile/Header.jsp"/>
|
|
</header>
|
|
<!-- 하단 탭바 -->
|
|
<jsp:include page="/WEB-INF/views/comm/mobile/TabBar.jsp"/>
|
|
|
|
<!-- 메인 컨텐츠 -->
|
|
<div class="content-wrap">
|
|
<main class="main">
|
|
<div class="sub-page">
|
|
<div class="sub-box">
|
|
</div>
|
|
</div>
|
|
<!-- Top 버튼 -->
|
|
<div class="quick-menu__to-top">
|
|
<button><i class="icon icon_quick-to-top"></i>
|
|
<span class="visually-hidden">위로 가기</span>
|
|
</button>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</c:if>
|
|
<div class="microModal microAlert" id="authPop" aria-hidden="true">
|
|
<div class="microModal__overlay" tabindex="-1">
|
|
<div class="microModal__container" role="dialog" aria-modal="true">
|
|
<div class="microModal__body">
|
|
<div class="microModal__top">
|
|
<c:choose>
|
|
<c:when test = "${bbscttVO.authResult eq 'N'}">
|
|
<c:choose>
|
|
<c:when test = "${bbscttVO.authDv eq 'REDNG'}">
|
|
<c:out value="${bbscttVO.bbsNm}"/>을(를) 읽을 권한이 없습니다.
|
|
<br>고객센터에 문의해주세요.
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:out value="${bbscttVO.bbsNm}"/>을(를) 등록할 권한이 없습니다.
|
|
<br>고객센터에 문의해주세요.
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:choose>
|
|
<c:when test = "${bbscttVO.authDv eq 'REDNG'}">
|
|
<c:choose>
|
|
<c:when test = "${fn:length(bbscttVO.bbsNm) > 0}">
|
|
<c:out value="${bbscttVO.bbsNm}"/>은(는) 현재 사용하지 않는 게시판입니다.
|
|
</c:when>
|
|
<c:otherwise>
|
|
현재 사용하지 않는 게시판입니다.
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:out value="${bbscttVO.bbsNm}"/>등록 기능은 현재 사용하지 않습니다.
|
|
<br>고객센터에 문의해주세요.
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</div>
|
|
</div>
|
|
<div class="microModal__btnContainer">
|
|
<button class="microModal__btn" id = "closeBtn"><spring:message code="button.ok"/></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
//goodsDtl 상품 등록 팝업 아닐 시 모달 오픈
|
|
if($("#reqDv").val() !== 'goodsDtl'){
|
|
openModal("authPop");
|
|
}
|
|
//모달 닫으면서 뒤로가기
|
|
$("#closeBtn").on("click",function(){
|
|
closeModal("authPop");
|
|
});
|
|
</script>
|
|
<input type="hidden" value = "<c:out value="${bbscttVO.reqDv}"/>" id = 'reqDv'/>
|
|
</html> |