<?php
$page_title = "Edit User Details";
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>Affiliated WL</th>
									<td><select name="wl_id"><?php $this -> dispWLName(); ?></select></td>
								</tr>
								<tr>
									<th>Username</th>
									<td><?php $this -> echoUserName(); ?></td>
								</tr>
								<tr>
									<th>Account Number</th>
									<td><?php $this -> echoAccountNumber(); ?></td>
								</tr>
								<tr>
									<th>Currencies</th>
									<td>
										<ul class="disc">
											<?php $this -> dispBalances(); ?>
										</ul>
									</td>
								</tr>
								<tr>
									<th>Name</th>
									<td>
										<input type="text" id="last_name" name="last_name" value="<?php $this -> echoLastName(); ?>" class="w30p" placeholder="Last Name">
										<input type="text" id="first_name" name="first_name" value="<?php $this -> echoFirstName(); ?>" class="w30p" placeholder="First Name">
									</td>
								</tr>
								<tr>
									<th>Date of Birth</th>
									<td>
										<select name="birth_year"><?php $this -> dispBirthYear(); ?></select> Year&nbsp;
										<select name="birth_month"><?php $this -> dispBirthMonth(); ?></select> Month&nbsp;
										<select name="birth_day"><?php $this -> dispBirthDay(); ?></select> Date
									</td>
								</tr>
								<tr>
									<th>Date of Registration</th>
									<td><?php $this -> echoCreateTime(); ?></td>
								</tr>
								<tr>
									<th>Account Type</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>Account Status</th>
									<td><select id="status" name="status"><?php $this -> echoStatus(); ?></select></td>
								</tr>
								<tr>
									<th>Account Category</th>
									<td><?php  $this -> dispTestAccountFlg(); ?></td>
								</tr>
								<tr>
									<th>Country</th>
									<td><select name="country"><?php $this -> dispCountry(); ?></select></td>
								</tr>
								<tr>
									<th>State</th>
									<td><input type="text" id="state" name="state" value="<?php $this -> echoState(); ?>" class="w30p"></td>
								</tr>
								<tr>
									<th>City</th>
									<td><input type="text" id="city" name="city" value="<?php $this -> echoCity(); ?>" class="w50p"></td>
								</tr>
								<tr>
									<th>Address</th>
									<td><input type="text" id="address" name="address" value="<?php $this -> echoAddress(); ?>" class="w80p"></td>
								</tr>
								<tr>
									<th>Post Code</th>
									<td><input type="text" id="zip_code" name="zip_code" value="<?php $this -> echoZipCode(); ?>" class="w20p"></td>
								</tr>
								<tr>
									<th>Phone Number</th>
									<td><input type="text" id="tel" name="tel" value="<?php $this -> echoTel(); ?>" class="w30p"></td>
								</tr>
								<tr>
									<th>Email Address</th>
									<td><input type="text" id="mail" name="mail" value="<?php $this -> echoMail(); ?>" class="w50p"></td>
								</tr>
								<tr>
									<th>Agent Code</th>
									<td>
										<select name="agent_code">
											<option value="">Select Agent Code</option>
											<?php $this -> dispAgentCode(); ?>
										</select>
									</td>
								</tr>
								<?php $this -> echo2facontrol(""); ?>
								<tr>
									<th>Batch Transfer</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 Deposit Methods</th>
									<td><?php $this -> dispGPSKindOfPayment(); ?></td>
								</tr>
								<tr>
									<th>GPaySafe Account Type</th>
									<td><?php $this -> dispGPSAccountFlg(); ?></td>
								</tr>
									<tr><!-- Mikko 2019: 3501-->
									<th>Risk Level</th> 
									<td><?php $this -> dispRiskLevels(); ?></td>
								</tr>
								<tr>
									<th>Tier Level</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="/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; Back</a>&emsp;
							<input type="button" id="btnComplete" value="Save" 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>
