<?php include_once( "../../../../spider.inc.php" ); ?>
{charset:UTF-8}
{template:admin_default.tpl}
{module:database2.Transaction}
{module:member.member.point.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:!is_null(member.member.point.memberObject) && strlen(member.member.point.memberObject->'member_number')>0}
		&gt; <a href="../../history/point.php">ポイント履歴検索</a>
		&gt; <a href="../../history/point.php?mi={write:member.member.point.memberObject->'member_id'}">{write:member.member.point.memberObject->'view_name'}さんのポイント履歴</a>
		&gt; ポイント操作 完了
		{/if}
	</div>

	<h1>
		{write:MEMBER_PERSONAL_LABEL}管理
		{if:!is_null(member.member.point.memberObject) && strlen(member.member.point.memberObject->'member_number')>0}
		&gt; {write:member.member.point.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>
	
	<table class="detail" style="width:96%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="width:14em;white-space: nowrap;">増減ポイント数<span class="required">※</span></th>
		<td>
			{write:number_format(member.member.point.memberObject::action_point)} Pt.
		</td>
	</tr>
	<tr>
		<th style="width:14em;white-space: nowrap;">コメント<span class="required">※</span></th>
		<td>
			{write:member.member.point.memberObject->'action_label' nl2br}
		</td>
	</tr>
	<tr>
		<th style="width:14em;white-space: nowrap;">詳細コメント</th>
		<td>
			{write:member.member.point.memberObject->'action_detail' nl2br}
		</td>
	</tr>
	</tbody>
	</table>
{/if}

	<hr style="width:96%;margin:0 auto;margin-top:1em;" />
	<div style="width:96%;margin:0 auto;text-align:right;">
		{if:!is_null(member.member.point.memberObject) && strlen(member.member.point.memberObject->'member_number')>0}
		{write:member.member.point.memberObject->'view_name'}さんの
		&nbsp;&nbsp;
		&gt;&gt; <a href="../detail.php?mi={write:member.member.point.memberObject->'member_id'}">詳細情報</a>
		&nbsp;
		&gt;&gt; <a href="../../history/point.php?mi={write:member.member.point.memberObject->'member_id'}">ポイント履歴</a>
		&nbsp;
		&gt;&gt; <a href="../../history/login.php?mi={write:member.member.point.memberObject->'member_id'}">ログイン履歴</a>
		&nbsp;
		&gt;&gt; <a href="../../history/correspond.php?mi={write:member.member.point.memberObject->'member_id'}">対応履歴</a>
		<br />
		&gt;&gt; <a href="../form.php?mi={write:member.member.point.memberObject->'member_id'}">情報編集</a>
		&nbsp;
		&gt;&gt; <a href="../reject/form.php?mi={write:member.member.point.memberObject->'member_id'}">メール拒否設定</a>
		<br /><br />
		{/if}
		&gt;&gt; <a href="../../">{write:MEMBER_PERSONAL_LABEL}一覧へ戻る</a>
	</div>