<?php include_once('../../../../spider.inc.php'); ?>
{charset:UTF-8}
{template:admin_default.tpl}
{module:member.member.Load}
{module:member.member.reject.Execute}
{preset:page_title MEMBER_PERSONAL_LABEL . '管理 > ' . member.member.point.memberObject->'view_name' . 'さんのメール拒否設定'}

	<div class="panc">
		<a href="../../../">管理パネルトップ</a>
		&gt; <a href="../../">{write:MEMBER_PERSONAL_LABEL}情報一覧</a>
		{if:strlen(member.member.memberObject->'member_number')>0}
		&gt; <a href="../detail.php?mi={write:member.member.memberObject->'member_id'}">{write:member.member.memberObject->'view_name'}さんの詳細情報</a>
		&gt; メール拒否設定完了
		{/if}
	</div>

	<h1>
		{write:MEMBER_PERSONAL_LABEL}管理
		{if:strlen(member.member.memberObject->'member_number')>0}
		&gt; {write:member.member.memberObject->'view_name'}さんの詳細情報
		&gt; メール拒否設定完了
		{/if}
	</h1>

{if:IS_ERROR}
	<ul class="error">
	{foreach:errors error}
		<li>{write:error}</li>
	{/foreach}
	</ul>
{else}
	<p style="margin:0 auto;width:100%;margin-top:1em;margin-bottom:1em;">
		以下のメール拒否設定を登録しました。
	</p>
	
	<p>
	{foreach:member.mail.reject.data_array rejectListObject}
		<span style="white-space:nowrap;"><input type="checkbox" name="rejectListIdArray[]" value="{write:rejectListObject->'list_id'}"
			{if:in_array(rejectListObject->'list_id',member.member.reject.memberObject->'rejectListIdArray')} checked{/if}
			disabled="disabled"
			/>{write:rejectListObject->'list_name'}</span>
	{/foreach}
	</p>

{/if}
	<hr style="width:96%;margin:0 auto;margin-top:1em;" />
	<div style="width:96%;margin:0 auto;text-align:right;">
		{if:strlen(member.member.memberObject->'member_number')>0}
		<a href="../detail.php?mi={write:member.member.memberObject->'member_id'}">&gt;&gt; {write:member.member.memberObject->'view_name'}さんの詳細へ戻る</a>
		&nbsp;&nbsp;
		{/if}
		<a href="../../">&gt;&gt; {write:MEMBER_PERSONAL_LABEL}一覧へ戻る</a>
	</div>