<?php include_once( "../../../spider.inc.php" ); ?>
{charset:UTF-8}
{template:admin_default.tpl}
{module:member.member.Load}
{preset:page_title MEMBER_PERSONAL_LABEL . '管理 > ' . member.member.memberObject->'view_name' . 'さんの詳細情報'}

	<div class="panc">
		<a href="../../">管理パネルトップ</a>
		&gt; <a href="../">{write:MEMBER_PERSONAL_LABEL}情報一覧</a>
		&gt; {write:member.member.memberObject->'view_name'}さんの詳細情報
	</div>

	<h1>{write:member.member.memberObject->'view_name'}さんの詳細情報</h1>
	
{if:IS_ERROR}

	<ul class="error">
	{foreach:errors error}
		<li>{write:error}</li>
	{/foreach}
	</ul>
	<p style="text-align:center;">
		<input type="button" value="戻る"
			onclick="history.back();"
		/>
	</p>
	<br />
{else}

	<h2 class="global">基本情報</h2>
	<table class="detail" style="width:96%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">{write:MEMBER_PERSONAL_LABEL}ID</th>
		<td>
			{write:member.member.memberObject->'member_id'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">ニックネーム</th>
		<td>
			{write:member.member.memberObject->'view_name'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">姓名</th>
		<td>
			{write:member.member.memberObject->'family_name'}
			{write:member.member.memberObject->'first_name'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">姓名フリガナ</th>
		<td>
			{write:member.member.memberObject->'family_kana'}
			{write:member.member.memberObject->'first_kana'}
		</td>
	</tr>
	</tbody>
	</table><br />	
	
	<h2 class="global">ログイン情報</h2>
	
	<table class="detail" style="width:96%;margin:0 auto;">
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">種別</th>
		<td>
			{write:MEMBER_MEMBER_CLASS_HASH[member.member.memberObject->'member_class']}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">ログインID</th>
		<td>{write:member.member.memberObject->'login_id'}</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">パスワード</th>
		<td>{write:member.member.memberObject->decodePassword( request, member.member.memberObject->'login_password' )}</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">メールアドレス</th>
		<td>{write:member.member.memberObject->'pc_mail'}</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">携帯メールアドレス</th>
		<td>{write:member.member.memberObject->'mb_mail'}</td>
	</tr>
	{if:strlen(member.member.memberObject->'member_number')>0}
	{else}
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">ポイント</th>
		<td>
			初期ポイント：{write:member.member.memberObject->'point'} Pt.
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">ポイント増減メモ</th>
		<td>
			{write:member.member.memberObject->'action_label' nl2br}
		</td>
	</tr>
	{/if}
	</tbody>
	</table><br />	

	<h2 class="global">住所１</h2>
	
	<table class="detail" style="width:96%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">国名</th>
		<td>
			{write:member.member.memberObject->'country_name'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">都道府県</th>
		<td>
			{if:strlen(member.member.memberObject->'prefecture_number')>0}{write:PREFECTURE_HASH[member.member.memberObject->'prefecture_number']}{/if}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">郵便番号</th>
		<td>
			{write:member.member.memberObject->'zip_code'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">住所・番地</th>
		<td>
			{write:member.member.memberObject->'address'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">建物名・部屋番号</th>
		<td>
			{write:member.member.memberObject->'building'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">電話番号</th>
		<td>
			{write:member.member.memberObject->'telephone_number'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">FAX番号</th>
		<td>
			{write:member.member.memberObject->'faximili_number'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">携帯電話番号</th>
		<td>
			{write:member.member.memberObject->'mobile_number'}
		</td>
	</tr>
	</tbody>
	</table><br />	
	
	<h2 class="global">住所２</h2>
	
	<table class="detail" style="width:96%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">都道府県</th>
		<td>
			{if:strlen(member.member.memberObject->'prefecture_number2')>0}{write:PREFECTURE_HASH[member.member.memberObject->'prefecture_number2']}{/if}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">郵便番号</th>
		<td>
			{write:member.member.memberObject->'zip_code2'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">住所・番地</th>
		<td>
			{write:member.member.memberObject->'address2'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">建物名・部屋番号</th>
		<td>
			{write:member.member.memberObject->'building2'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">電話番号</th>
		<td>
			{write:member.member.memberObject->'telephone_number2'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">FAX番号</th>
		<td>
			{write:member.member.memberObject->'faximili_number2'}
		</td>
	</tr>
	</tbody>
	</table><br />	
	
	<h2 class="global">所属</h2>
	
	<table class="detail" style="width:96%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">ホームページ</th>
		<td>
			<a href="{write:member.member.memberObject->'url'}" target="_blank">{write:member.member.memberObject->'url'}</a>
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">会社名</th>
		<td>
			{write:member.member.memberObject->'company_name'}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">部署名</th>
		<td>
			{write:member.member.memberObject->'section_name'}
		</td>
	</tr>
	</tbody>
	</table><br />	
	
	<h2 class="global">付加情報</h2>
	
	<table class="detail" style="width:96%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">性別</th>
		<td>
			{write:MEMBER_MEMBER_SEX_HASH[member.member.memberObject->'sex']}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">生年月日</th>
		<td>
			{if:strlen(member.member.memberObject->'birth_year')>0}
			西暦 {write:member.member.memberObject->'birth_year'}年
			{/if}
			{if:strlen(member.member.memberObject->'birth_month')>0}
				{write:member.member.memberObject->'birth_month'}月
			{/if}
			{if:strlen(member.member.memberObject->'birth_day')>0}
				{write:member.member.memberObject->'birth_day'}日
			{/if}
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">血液型</th>
		<td>
			{write:MEMBER_MEMBER_BLOOD_TYPE_HASH[member.member.memberObject->'blood_type']}型
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">身長</th>
		<td>
			{write:member.member.memberObject->'height'/10} cm
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">体重</th>
		<td>
			{write:member.member.memberObject->'weight'/10} kg
		</td>
	</tr>
	<tr>
		<th style="font-size:0.8em;width:14em;white-space: nowrap;">バスト / ウエスト / ヒップ</th>
		<td>
			{write:member.member.memberObject->'bust'} cm
			 / {write:member.member.memberObject->'waist'} cm
			 / {write:member.member.memberObject->'hip'} cm
		</td>
	</tr>
	</table>
	
	<br />
{/if}
	{if:strlen(member.member.memberObject->'member_number')>0}
		<h2>{write:member.member.memberObject->'view_name'}さんの情報の操作</h2>
		<div style="width:95%;margin:0 auto;border:dotted 1px #808080;padding:8px;">
			<span style="white-space:nowrap;">&gt;&gt; <a href="./form.php?mn={write:member.member.memberObject->'member_number'}">情報編集</a></span>
			&nbsp;&nbsp;
			<span style="white-space:nowrap;">&gt;&gt; <a href="./bank/form.php?mi={write:member.member.memberObject->'member_id'}">銀行口座設定</a></span>
			&nbsp;&nbsp;
			<span style="white-space:nowrap;">&gt;&gt; <a href="../history/correspond.php?mi={write:member.member.memberObject->'member_id'}">対応履歴</a></span>
			&nbsp;&nbsp;
			<span style="white-space:nowrap;">&gt;&gt; <a href="../history/point.php?mi={write:member.member.memberObject->'member_id'}">ポイント履歴</a></span>
			&nbsp;&nbsp;
			<span style="white-space:nowrap;">&gt;&gt; <a href="../history/login.php?mi={write:member.member.memberObject->'member_id'}">ログイン履歴</a></span>
			&nbsp;&nbsp;
			<span style="white-space:nowrap;">&gt;&gt; <a href="./reject/form.php?mi={write:member.member.memberObject->'member_id'}">メール拒否設定</a></span>
			{foreach:member.existsConnectorHash connectorObject}
				{set:linkArray connectorObject->getMemberLinkArray( request, member.member.memberObject )}
				{foreach:linkArray linkStr}
					&nbsp;&nbsp;
					<span style="white-space:nowrap;">&gt;&gt; {write:linkStr noescape}</span>
				{/foreach}
			{/foreach}
		</div>
	{/if}
	<hr style="width:96%;margin:0 auto;margin-top:1em;" />
	<div style="width:96%;margin:0 auto;text-align:right;">
		&gt;&gt; <a href="../">{write:MEMBER_PERSONAL_LABEL}一覧へ戻る</a>
	</div>