<?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_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>
						<p class="mb10 pleft40">以下の内容で実行します。</p>
						<form id="acForm" action="" method="post" class="pleft40">
							<table class="table col bdr default odd w50p fontM mb25 mt25 ma90sp">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>引落口座</th>
									<td><?php $this -> echoFromCurrency(); ?></td>
								</tr>
								<tr>
									<th>現在の残高</th>
									<td><?php $this -> echoFromCurrency(); ?> <?php $this -> echoFromBalance(); ?></td>
								</tr>
								<tr>
									<th>引落金額</th>
									<td><?php $this -> echoFromCurrency(); ?> <?php $this -> dispFromAmount(); ?></td>
								</tr>
								<tr>
									<th>引落後の残高</th>
									<td><?php $this -> echoFromCurrency(); ?> <?php $this -> echoExFromBalance(); ?></td>
								</tr>
							</table>
							<p class="mb10 red bolded fontM ma90sp">為替レート：<?php $this -> echoExFromCurrency(); ?> 1 = <?php $this -> echoExToCurrency(); ?> <?php $this -> echoRate(); ?></p>
							<table class="table col bdr default odd w50p fontM mb25 mt25 ma90sp">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>入金口座</th>
									<td><?php $this -> echoToCurrency(); ?></td>
								</tr>
								<tr>
									<th>現在の残高</th>
									<td><?php $this -> echoToCurrency(); ?> <?php $this -> echoToBalance(); ?></td>
								</tr>
								<tr>
									<th>入金額</th>
									<td><?php $this -> echoToCurrency(); ?> <?php $this -> dispToAmount(); ?></td>
								</tr>
								<tr>
									<th>入金後の残高</th>
									<td><?php $this -> echoToCurrency(); ?> <?php $this -> echoExToBalance(); ?></td>
								</tr>
							</table>

							<input type="hidden" value="" id="type" name="type" />
							<input type="hidden" value="<?php $this -> echoFromCurrency(); ?>" id="" name="from_currency" />
							<input type="hidden" value="<?php $this -> echoToCurrency(); ?>" id="" name="to_currency" />
							<input type="hidden" value="<?php $this -> echoFromAmount(); ?>" id="" name="from_amount" />
							<input type="hidden" value="<?php $this -> echoToAmount(); ?>" id="" name="to_amount" />
							<input type="hidden" value="<?php $this -> echoCAmountType(); ?>" id="" name="amount_type" />
							<input type="hidden" value="<?php $this -> echoExAmount(); ?>" id="" name="ex_amount" />
							<input type="hidden" value="<?php $this -> echoAmount(); ?>" id="" name="amount" />
							<input type="hidden" value="<?php $this -> echoRate(); ?>" id="" name="rate" />
							<input type="hidden" value="<?php $this -> echoOriginalAmount(); ?>" id="" name="original_amount" />
						</form>
						<p class="mb40 pleft40 mt40 w50pButton">
							<a class="btn bg-default" id="btnBackInput" >&laquo; 戻る</a>&emsp;
							<input type="button" id="btnComplete" value="上記内容で実行" class="btn bg-grad px150">
						</p>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/exchange.js"></script>
</body>
</html>
