mjon_git/src/main/webapp/WEB-INF/jsp/web/msgsent/MsgSentDetailPopAjax.jsp
2023-06-12 11:15:02 +09:00

60 lines
2.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="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page import="itn.com.cmm.LoginVO" %>
<% pageContext.setAttribute("newLineChar", "\n"); %>
<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" value = "${resultMsgDetail.sentDate}" /></span><br />
<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="deny_receipt">(광고) 무료거부 080-888-8282</p> -->
<p class="rev_cont">
${fn:replace(resultMsgDetail.smsTxt, newLineChar, "<br/>")}
</p>
</div>
</div>
</div>