<%@ 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 prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page import="itn.com.cmm.LoginVO" %>

<script type="text/javascript">
</script>
	    <div class="rev_pop_in">
        <%-- <label for="subject" class="label">발송된 문자 제목</label>
        <input type="text" id="subject" name="subject" placeholder="${resultMsgDetail.subject}" value="${resultMsgDetail.subject}" readonly> --%>
        <%-- <div class="rev_pop_middle clearfix">
            <span>발송일시  :  <fmt:formatDate pattern = "yyyy-MM-dd hh:mm:ss" value = "${resultMsgDetail.sentDate}" /></span>
            <c:choose>
            	<c:when test="${resultMsgDetail.msgType == '4'}">
            		<span class="msg_com msg_short">SMS</span>		
            	</c:when>
            	<c:otherwise>
            		<c:choose>
            			<c:when test="${resultMsgDetail.fileCnt == '0'}">
            				<span class="msg_com msg_long">LMS</span>
            			</c:when>
            			<c:otherwise>
            				<span class="msg_com msg_photo">MMS</span>
            			</c:otherwise>
            		</c:choose>
            	</c:otherwise>
            </c:choose>
        </div> --%>
        <div class="rev_pop_txt">
        	<c:if test="${resultMsgDetail.fileCnt != '0'}">
        	<ul>
            	<c:if test="${not empty resultMsgDetail.filePath1}">
            	<li>
            		<img src="<c:url value='/cmm/fms/getImage2.do'/>?atchFileId=<c:out value="${atchFileId1}"/>&fileSn=<c:out value="${fileSn1}"/>" alt="발송된 그림문자 미리보기" style="width: 100%">
            	</li>
            	</c:if>
            	<c:if test="${not empty resultMsgDetail.filePath2}">
            	<li>
            		<img src="<c:url value='/cmm/fms/getImage2.do'/>?atchFileId=<c:out value="${atchFileId2}"/>&fileSn=<c:out value="${fileSn2}"/>" alt="발송된 그림문자 미리보기" style="width: 100%">
            	</li>
            	</c:if>
            	<c:if test="${not empty resultMsgDetail.filePath3}">
            	<li>
            		<img src="<c:url value='/cmm/fms/getImage2.do'/>?atchFileId=<c:out value="${atchFileId3}"/>&fileSn=<c:out value="${fileSn3}"/>" alt="발송된 그림문자 미리보기" style="width: 100%">
            	</li>
            	</c:if>
           	</ul>
            </c:if>
            <div>
                <p class="rev_cont">
                	${resultMsgDetail.smsTxt}
                </p>
            </div>
        </div>
	</div>
