<?php
$page_title = "ユーザー詳細編集";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="img/logo.png" alt="iWallet"></a></h1>
				<div class="aside-heading">
					&nbsp;
				</div>
				&nbsp;
			</aside>
			<!-- /サイドバー -->
			<!-- メインカラム -->
			<div id="colMain">
				<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
					<article>
						<div class="article-heading">
							<h2><?php echo $page_title; ?></h2>
						</div>
						<?php $this -> echoMessage(); ?>
						<form action="" method="post" id="acForm">
							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>所属WL</th>
									<td><select name="wl_id"><?php $this -> dispWLName(); ?></select></td>
								</tr>
								<tr>
									<th>ユーザー名</th>
									<td><?php $this -> echoUserName(); ?></td>
								</tr>
								<tr>
									<th>口座番号</th>
									<td><?php $this -> echoAccountNumber(); ?></td>
								</tr>
								<tr>
									<th>通貨</th>
									<td>
										<ul class="disc">
											<?php $this -> dispBalances(); ?>
										</ul>
									</td>
								</tr>
								<tr>
									<th>氏名</th>
									<td>
										<input type="text" id="last_name" name="last_name" value="<?php $this -> echoLastName(); ?>" class="w30p" placeholder="姓">
										<input type="text" id="first_name" name="first_name" value="<?php $this -> echoFirstName(); ?>" class="w30p" placeholder="名">
									</td>
								</tr>
								<tr>
									<th>生年月日</th>
									<td>
										<select name="birth_year"><?php $this -> dispBirthYear(); ?></select>年&nbsp;
										<select name="birth_month"><?php $this -> dispBirthMonth(); ?></select>月&nbsp;
										<select name="birth_day"><?php $this -> dispBirthDay(); ?></select>日
									</td>
								</tr>
								<tr>
									<th>登録日時</th>
									<td><?php $this -> echoCreateTime(); ?></td>
								</tr>
								<tr>
									<th>口座種別</th>
									<td><select name="account_type"><?php $this -> dispAccountType(); ?></select></td>
								</tr>
								<tr>
									<th>CRM ID</th>
									<td><input type="text" name="crm_id" value="<?php $this -> echoCrmId(); ?>" class="w30p"></td>
								</tr>
								<tr>
									<th>ステータス</th>
									<td><select id="status" name="status"><?php $this -> echoStatus(); ?></select></td>
								</tr>
								<tr>
									<th>口座カテゴリー</th>
									<td><?php  $this -> dispTestAccountFlg(); ?></td>
								</tr>
								<tr>
									<th>国名</th>
									<td><select name="country"><?php $this -> dispCountry(); ?></select></td>
								</tr>
								<tr>
									<th>都道府県</th>
									<td><input type="text" id="state" name="state" value="<?php $this -> echoState(); ?>" class="w30p"></td>
								</tr>
								<tr>
									<th>市町村</th>
									<td><input type="text" id="city" name="city" value="<?php $this -> echoCity(); ?>" class="w50p"></td>
								</tr>
								<tr>
									<th>住所</th>
									<td><input type="text" id="address" name="address" value="<?php $this -> echoAddress(); ?>" class="w80p"></td>
								</tr>
								<tr>
									<th>郵便番号</th>
									<td><input type="text" id="zip_code" name="zip_code" value="<?php $this -> echoZipCode(); ?>" class="w20p"></td>
								</tr>
								<tr>
									<th>電話番号</th>
									<td><input type="text" id="tel" name="tel" value="<?php $this -> echoTel(); ?>" class="w30p"></td>
								</tr>
								<tr>
									<th>メールアドレス</th>
									<td><input type="text" id="mail" name="mail" value="<?php $this -> echoMail(); ?>" class="w50p"></td>
								</tr>
								<tr>
									<th>エージェントコード</th>
									<td>
										<select name="agent_code">
											<option value="">エージェントコードを選択して下さい</option>
											<?php $this -> dispAgentCode(); ?>
										</select>
									</td>
								</tr>
								<?php $this -> echo2facontrol(""); ?>
								<tr>
									<th>一括バッチ送金</th>
									<td><?php $this -> dispTransferBatchFlg(); ?></td>
								</tr>
							</table>

							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>GPaySafe利用決済種別</th>
									<td><?php $this -> dispGPSKindOfPayment(); ?></td>
								</tr>
								<tr>
									<th>GPaySafe口座</th>
									<td><?php $this -> dispGPSAccountFlg(); ?></td>
								</tr>
								<tr><!-- Mikko 2019: 3501-->
									<th>Risk Level</th> 
									<td><?php $this -> dispRiskLevels(); ?></td>
								</tr>
								<tr>
									<th>ティアレベル</th>
									<td><?php $this -> dispTierLevels(); ?></td>
								</tr>
								<tr>
									<th>Receive User-Initiated Internal Transfer</th>
									<td><?php  $this -> dispTransferFlg(); ?></td>
								</tr>
							</table>

							<?php $this -> dispCorporationInput(); ?>
							<input type="hidden" value="<?php echo $this -> getDetailAccount(); ?>" name="detail_account" />
							<input type="hidden" value="<?php $this -> echoReferer(); ?>" id="action" name="action" />
							<input type="hidden" value="" id="type" name="type" />
							<input type="hidden" value="<?php echo $this -> getStatus(); ?>" id="old_status" name="old_status" />
							<input type="hidden" value="<?php $this -> echoUId(); ?>" id="u_id" name="u_id" />
							
							<!-- Language Transition Data (Anton) 04/22/2016 -->
							<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/en/account_edit?detail_account=<?php $this -> echoAccountNumber(); ?>"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
							<!-- /Language Transition Data -->
						</form>
						<p class="calign">
							<a href="javascript:actionBack();" class="btn bg-default">&laquo; 戻る</a>&emsp;
							<input type="button" id="btnComplete" value="保存する" class="btn bg-grad px80 hi25">
						</p>
						<div class="article-bottom">
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="js/account_edit.js"></script>
</body>
</html>
