<?php
$page_title = "Mastercard Direct";
include_once('template/base_head.php');

?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/ja/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once('template/base_sidebar.php'); ?>
			</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>
						<form id="acForm" action="" method="post">
						<!--<form id="acForm" action="https://<?php echo SITE_DOMAIN; ?>/api/cashflow_callpayment.php" method="post">-->
							<p class="pleft40 mb20 respM">Please confirm the information below.</p>

							<div class="pleft40">
							<table class="table col bdr default odd transferT fontM mb40 ma90sp">
								<tr>
									<th colspan="2">Account Details</th>
								</tr>
								<tr>
									<th style="width: 180px;">Account Number</th>
									<td class="ralign"><?php echo $this -> getUserData(PARAM_USER_ACCOUNT); ?></td>
								</tr>
	                            <tr>
	                            	<th>Date of Birth</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_BIRTH_STRING); ?></td>
	                            </tr>
	                            <tr><th>First Name</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_FIRST_NAME); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>Last Name</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_LAST_NAME); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>Email Address</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_MAIL); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>Country</th>
	                            	<td class="ralign"><?php $this -> echoCountryName(); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>State</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_STATE); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>City </th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_CITY); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>Address</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_ADDRESS); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>Zip Code</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_ZIP_CODE); ?></td>
	                            </tr>
	                            <tr>
	                            	<th>Phone Number</th>
	                            	<td class="ralign"><?php $this -> echoUserData(PARAM_TEL); ?></td></tr>
							</table>
							</div>
							<div class="pleft40" style="margin-top:30px;">
								<table class="table col bdr default odd transferT fontM mb40 ma90sp">
	        						<tr>
	        							<th colspan="2">Deposit Details</th>
	        						</tr>
		                            <tr>
		                            	<th style="width: 180px;">Debit Amount </th>
		                            	<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php $this -> echoDepositAmountNatural(); ?></td>
		                            </tr>
		                            <tr>
		                            	<th>Credit Amount</th>
		                            	<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php $this -> echoAmount(); ?></td>
		                            </tr>
		                            <tr>
		                            	<th>Transaction fee</th>
		                            	<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php echo $this -> getFeeEx(); ?></td>
		                            </tr>
		                            <tr>
		                            	<th>Message</th>
		                            	<td class="ralign"><?php echo $this -> message; ?></td>
		                            </tr>
		                        </table>
							</div>
							<p class="red pleft40">
								※Please check the information above and click "Next" to move forward to card payment settlement page.<br/>
							</p><br>

							<p class="transferButton mb30">
								<a id="btnBackCashFlowInput" class="btn bg-default calign">&laquo; Back</a>&emsp;
								<input type="button" id="btnComplete" value="Next" class="btn bg-grad px180 calign">
							</p>
							
							<input type="hidden" value="send" id="type" name="type" />
							<input type="hidden" value="<?php echo CASHFLOW_DEPOSIT_SEND; ?>" id="method" name="method" />
							
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/deposit.js"></script>
</body>
</html>
