<?php
$page_title = "货币兑换";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/sc/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>
						<div class="pleft40 mb10"><?php $this -> echoMessage(); ?></div>
						<form id="acForm" action="" method="post" class="pleft40">
							<p class="mb20">将当前币种兑换成所需的其他币种。</p>
							<div class="clearfix shelfD">
								<div class="dt200"><strong>【1.原始货币】</strong></div>
								<select name="from_currency" id="from_currency" class="px80">
									<?php $this -> dispFromCurrency(); ?>
								</select>
								<strong id="from_balance"></strong>
							</div>
							<div class="clearfix shelfD">
								<div class="dt200"><strong>【2.目标货币】</strong></div>
								<select name="to_currency" id="to_currency" class="px80">
									<?php $this -> dispToCurrency(); ?>
								</select>
								<strong id="to_balance"></strong>
							</div>
							<div class=" shelfD clearfix">
								<div class="dt200"><strong>【3. 金额】</strong></div>
								<div class="clearL"><label><input type="radio" name="amount_type" value="0" <?php $this -> echoAmountType(0); ?>>原始货币</label>&emsp;
								<label><input type="radio" name="amount_type" value="1" <?php $this -> echoAmountType(1); ?>>目标货币</label><br>
								<input type="text" name="amount" value="<?php $this -> echoAmount(); ?>" class="px180 ralign mt10">
								</div>
							</div>
							<div class="dt200 noborder"></div>
							<p class=""><input type="button" id="btnConfirm" value="下一步" class="btn bg-parent px220"></p>

							<input type="hidden" value="" id="type" name="type" />
							<input type="hidden" value="<?php $this -> echoUserAccount(); ?>" id="user_account" />
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/exchange.js"></script>
</body>
</html>
