mailSendResultDetail.html 2.85 KB
Newer Older
Kim Gyeongeun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
#set($title = "メール送信履歴")
#set($menukubun = "2")
#parse( "/WEB-INF/view/common/header_admin.vm" )
<SCRIPT language="JavaScript">
<!--
 function report(){

	location.href="#q('/admin/mail/mailSendResult/errorReport/')";

    }
    
function ReturnPage(){
	location.href = "#q('/admin/mail/mailSendResult/searchResult/')" + $!{prePageNo};
}

// -->
</SCRIPT>
<div id="contents">
<div id="contents_main">
<div id="breadcrumbsWrap">

</div><!--[ /breadcrumbsWrap ]-->
<div id="main" class="clearfix">


<h2 class="contents_title">メール送信履歴</h2>

<div id="right_contents">


##<div class="btn_area2">
##<img src="/em/images/enq_01_btn_03_off.jpg" width="100" height="35" alt="検索" />
##</div>

<h3 class="table_title">メール送信履歴一覧</h3>
#if($!mail.type != 0)<p class="mgb10">アンケート名:$!{enqueteName}</p>#end
<p class="mgb10">■該当件数&nbsp;&nbsp;$!mailResultForm.pagingMap.paging.totalCnt件&nbsp;&nbsp;$!{mailResultForm.pagingMap.paging.firstIndex}~$!{mailResultForm.pagingMap.paging.lastIndex}件</p>
<table border="0" cellpadding="0" cellspacing="0" class="stripe" style="word-wrap:break-word;word-break:break-all;">
<thead>
<tr>
#if($!mailResultForm.type == 0)
<th class="w100 t_center">会員ID</th>
<th class="w100 t_center">氏名</th>
<th class="w200 t_center">メールアドレス</th>
<th class="w100 t_center">送信結果</th>
<th class="w200 t_center">エラー内容</th>
#else
<th class="w200 t_center">メールアドレス</th>
<th class="w100 t_center">送信結果</th>
<th class="w400 t_center">エラー内容</th>
#end

</tr>
</thead>

<tbody>

#foreach($mail in $mailResultMember)
<tr  #if($velocityCount % 2 == 0) class="white dot_line" #else class="gray" #end>
#if($!mailResultForm.type == 0)
<td>$!mail.memberId</td>
<td>$!escape.html($!mail.member.firstName) $!escape.html($!mail.member.lastName)</td>
#end
<td>$!mail.email</td>
<td class="t_center">#if ($!mail.sendResultCd == '0')正常
	#else異常
	#end
</td>
<td>
#if ($!mail.sendResultCd == '999')
	#if ($!mail.statusCd == "9.9.9")
		$!mail.sendResult
	#else
		$!mail.status
	#end
#else
	$!mail.sendResult
#end

</td>
</tr>
#end
</tbody>
</table>

<!--▼ページング▼-->
<ul class="pageNav01">
#makeLink("#q('/admin/mail/mailSendResult/mailSendDetail/')",$mailResultForm.pagingMap.paging)
<div class="btn_area2" style="width:840px;">
		<button class="button" onClick="javascript:ReturnPage(); return false;">戻る</button>&nbsp;&nbsp;&nbsp;
		<a href="#" onclick="report(); return false;"><button class="button">エラーリスト出力</button></a>&nbsp;&nbsp;&nbsp;
</div>
</ul>
<!--▲ページング▲-->
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>

</div>
</div>
<div id="contents_bottom">
<img src="/em/images/bg_contents_bottom.jpg" width="1036" height="15" /> </div> </div>
</div>
</div>
</div>

#parse( "/WEB-INF/view/common/footer_admin.vm" )