<?php include_once( "../../../../spider.inc.php" ); ?>
{charset:UTF-8}
{template:admin_default.tpl}
{module:member.member.point.Form}
{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}

	<form name="mform" action="./confirm.php?mi={write:member.member.point.memberObject->'member_id'}" method="post" onsubmit="document.mform.zip_code.value=document.mform.zip_code_pre.value+'-'+document.mform.zip_code_pst.value;">
	<table class="detail" style="width:96%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="width:14em;white-space: nowrap;">増減ポイント数<span class="required">※</span></th>
		<td>
			<input type="text" name="action_point" size="10" value="{write:member.member.point.memberObject->'action_point'}" style="ime-mode:inactive;" /> Pt.
			<br />
			<span style="color:#ff3000;font-size:x-small;">※増やす場合は数字をそのまま、減らす場合は-(マイナス)から入力してください。</span>
		</td>
	</tr>
	<tr>
		<th style="width:14em;white-space: nowrap;">ポイント変動<br />コメント<span class="required">※</span></th>
		<td>
			<input type="text" name="action_label" size="70" value="{write:member.member.point.memberObject->'action_label'}" />
			<br />
			<span style="color:#ff3000;font-size:x-small;">※ポイント変動する理由などのコメントを簡潔に入力してください。</span>
		</td>
	</tr>
	<tr>
		<th style="width:14em;white-space: nowrap;">詳細コメント</th>
		<td>
			<textarea name="action_detail" cols="50" rows="3">{write:member.member.point.memberObject->'action_detail'}</textarea>
			<br />
			<span style="color:#ff3000;font-size:x-small;">※ポイント変動する理由などのコメントを詳細に記録できます。</span>
		</td>
	</tr>
	</tbody>
	</table>
	
	<p style="text-align:center;">
		<input type="button" value="履歴に戻る" onclick="window.location.href='../../history/point.php?mi={write:member.member.point.memberObject->'member_id'}'"
		/><input type="submit" value="入力確認"
		/>
	</p>
	
	</form>

{/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>