<?php
$page_title = "Card Application 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 id="acForm" action="" method="post">
							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>Date of Application</th>
									<td><?php $this -> echoCreateTime(); ?></td>
								</tr>
								<tr>
									<th>Account Name</th>
									<td><?php $this -> echoUserName(); ?></td>
								</tr>
								<tr>
									<th>Account Number</th>
									<td><?php $this -> echoUserAccount(); ?></td>
								</tr>
								<tr>
									<th>Name</th>
									<td><?php $this -> echoFirstName() ?> <?php $this -> echoLastName() ?></td>
								</tr>
								<tr>
									<th>Country of Receiving Address</th>
									<td><?php $this -> dispCountry(); ?></td>
								</tr>
								<tr>
									<th>State of Receiving Address</th>
									<td><?php $this -> echoState(); ?></td>
								</tr>
								<tr>
									<th>City of Receiving Address</th>
									<td><?php $this -> echoCity(); ?></td>
								</tr>
								<tr>
									<th>Receiving Address</th>
									<td><?php $this -> echoAddress(); ?></td>
								</tr>
								<tr>
									<th>Post Code</th>
									<td><?php $this -> echoZipCode(); ?></td>
								</tr>
								<tr>
									<th>Phone Number</th>
									<td><?php $this -> echoTel(); ?></td>
								</tr>
								<tr>
									<th>Card Type</th>
									<td>
										<select id="card_type" name="card_type">
											<option value="">Select Card Type</option>
											<?php $this -> dispHTMLCardType(); ?>
										</select>

									</td>
								</tr>
								<tr>
									<th>Card Number</th>
									<td><input type="text" id="card_number" name="card_number" value="<?php $this -> echoCardNumber(); ?>" /></td>
								</tr>
								<tr>
									<th>CHID</th>
									<td><input type="text" id="card_holder_id" name="card_holder_id" value="<?php $this -> echoChid(); ?>" /></td>
								</tr>
								<tr>
									<th>PIN</th>
									<td><input type="text" id="pin" name="pin" value="<?php $this -> dispPin(); ?>" /></td>
								</tr>
								<tr>
									<th>Status</th>
									<td>
										<select id="status" name="status">
											<?php $this -> dispHTMLStatus(); ?>
										</select>

									</td>
								</tr>
								<tr>
									<th>Date of Last Process</th>
									<td><?php $this -> echoUpdateTime(); ?></td>
								</tr>
								<tr>
									<th>Administrator</th>
									<td><?php $this -> echoProcessUserFirstName(); ?> <?php $this -> echoProcessUserLastName(); ?></td>
								</tr>
							</table>
							<p class="calign mb20"><a href="#" id="btnSave" name="btnSave" class="btn bg-grad">Save</a></p>
							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<tr>
									<th>
										Administrator Note&emsp;
										<input type="button" id="btnUpdate" value="Save" class="btn bg-default font12 hi22 px80">
									</th>
								</tr>
								<tr>
									<td>
										<textarea name="comment" rows="10" class="w100p"><?php $this -> echoComment(); ?></textarea>
									</td>
								</tr>
							</table>
							<input type="hidden" value="" id="type" name="type" />
							<input type="hidden" value="deposit" name="action" />
							<input type="hidden" id="a_id" name="a_id" value="<?php $this -> echoAId(); ?>" />
							<input type="hidden" id="user_account" name="user_account" value="<?php $this -> echoUserAccount(); ?>" />
							
							<!-- Language Transition Data (Anton) 04/22/2016 -->
							<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/card_apply"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_type" value="detail"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
							<!-- /Language Transition Data -->
						</form>
						<p class="calign"><a href="" class="btn bg-grad">Return to List</a></p>
						<div class="article-bottom">
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/card_apply.js"></script>
</body>
</html>
