<?php
$page_title = "カードチャージ";
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_iwallet_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>
						<div class="pleft40 mb10"><?php $this -> echoMessage(); ?></div>
						<form id="acForm" action="" method="post">
							<table class="table col bdr default odd cardloadT fontM mb30 ma90sp">
								<tr>
									<th>チャージするカード</th>
									<td>**** **** **** <?php $this -> echoCardNumber(); ?></td>
								</tr>
								<tr>
									<th>出金額</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispDebitAmount(); ?></td>
								</tr>
								<tr>
									<th>為替レート</th>
									<td><?php $this -> echoRate(); ?></td>
								</tr>
								<tr>
									<th>チャージ手数料</th>
									<td><?php $this -> echoDebitCurrency(); ?> <?php $this -> dispFeeAmount(); ?></td>
								</tr>
								<tr>
									<th>カードへチャージされる金額</th>
									<td>USD <?php $this -> dispToAmount(); ?></td>
								</tr>
							</table>

							<input type="hidden" value="complete" id="type" name="type" />

							<input type="hidden" value="<?php $this -> echoCardHolderId(); ?>" id="card_holder_id" name="card_holder_id" />
							<input type="hidden" value="<?php $this -> echoTransferType(); ?>" id="transfer_type" name="transfer_type" />
							<input type="hidden" value="<?php $this -> echoDebitCurrency(); ?>" id="debit_currency" name="debit_currency" />
							<input type="hidden" value="<?php $this -> echoDebitAmount(); ?>" id="debit_amount" name="debit_amount" />
							<input type="hidden" value="<?php $this -> echoAmount(); ?>" id="amount" name="amount" />
							<input type="hidden" value="<?php $this -> echoToAmount(); ?>" id="to_amount" name="to_amount" />
							<input type="hidden" value="<?php $this -> echoFeeAmount(); ?>" id="fee" name="fee" />
							<input type="hidden" value="<?php $this -> echoRate(); ?>" id="rate" name="rate" />
						</form>
						<p class="">
							<a href="#" id="btnCardInput" class="btn bg-default calign">&laquo; 戻る</a>&emsp;
							<input type="button" id="btnCardComplete" name="btnCardComplete" value="上記内容で実行" class="btn bg-grad px150 calign">
						</p>
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/card.js"></script>
</body>
</html>
