<?php
$page_title = "Penukaran Mata Uang";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/id/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">Mohon konfirmasi informasi di bawah ini.</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>Akun Mata Uang Debit</th>
									<td><?php $this -> echoFromCurrency(); ?></td>
								</tr>
								<tr>
									<th>Saldo Mata Uang Saat Ini</th>
									<td><?php $this -> echoFromCurrency(); ?> <?php $this -> echoFromBalance(); ?></td>
								</tr>
								<tr>
									<th>Jumlah Debit</th>
									<td><?php $this -> echoFromCurrency(); ?> <?php $this -> dispFromAmount(); ?></td>
								</tr>
								<tr>
									<th>Pembaruan Saldo</th>
									<td><?php $this -> echoFromCurrency(); ?> <?php $this -> echoExFromBalance(); ?></td>
								</tr>
							</table>
							<p class="mb10 red bolded fontM ma90sp">Nilai Tukar：<?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>Akun Mata Uang Deposit</th>
									<td><?php $this -> echoToCurrency(); ?></td>
								</tr>
								<tr>
									<th>Saldo Mata Uang Saat Ini</th>
									<td><?php $this -> echoToCurrency(); ?> <?php $this -> echoToBalance(); ?></td>
								</tr>
								<tr>
									<th>Jumlah Deposit</th>
									<td><?php $this -> echoToCurrency(); ?> <?php $this -> dispToAmount(); ?></td>
								</tr>
								<tr>
									<th>Pembaruan Saldo</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">
							<a class="btn bg-default" id="btnBackInput" >&laquo; Kembali</a>&emsp;
							<input type="button" id="btnComplete" value="Kirim" 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>
