<%
/**
 * <pre>
 * @Class Name : getMemberQrcodeForm.jsp
 * 
 * @Description : 회원증 
 * 
 * 
 * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
 *
 * </pre>
 *
 * @ ------------    --------    ---------------------------
 * @ 수정일                     수정자             수정내용
 * @ ------------    --------    ---------------------------
 * @ 2021. 10. 7.    KNKIM       최초 생성
 *
 * 
 * @author 이씨플라자 * DIGITALSHIP KNKIM
 * @since 2021. 10. 7.
 * @version 1.0
 *
 */
 %>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ 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" %>

<fmt:parseDate value="${loginVO.birthday}" var="dateFmt" pattern="yyyyMMdd"/>
<fmt:formatDate value="${dateFmt}" var="dateStr" pattern="yyyy-MM-dd"/>
    
<c:set var="pageTitle">회원증</c:set>


    <!-- 회원증 팝업  -->
        <div class="inner">
            <div class="row Title">
                <h3>회원증</h3>
            </div>
            <div class="row card">
                <div class="title">
                    <p class="name">${loginVO.name}</p>
                    <p class="date">${dateStr}</p>
                </div>
                <div class="qr">
                    <p>QR코드를 리더기에 스캔하세요.</p>
                    <img src="${pageContext.request.contextPath}/userInfo/getMemberQrcode.do" alt="QR코드 이미지">
                </div>
                <div class="code">
                    <div class="num">
                        <div class="na">회원코드</div>
                        <div class="co">${loginVO.mbInfoId}</div>
                    </div>
                </div>
            </div>
            <div class="text">
                <p>※ 캡쳐한 회원증을 통한 자료대출 및 열람을 불허합니다.</p>
            </div>
            <button type="button" class="member-close" onclick="fn_closeLayerPopup()"></button>
            <div class="innerbg"></div>
        </div>
        <div class="Bg"></div>
    