<?php
$page_title = "同行轉帳";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/tc/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" class="pleft40">
						<div class="pleft40 mb10"><?php $this -> echoMessage(); ?></div>
							<div class="clearfix shelfD">
								<div class="dt250 font14">請選擇您的支出幣種<br><span class="note_s font11">（※您希望以哪個幣種的餘額來支付該筆交易。）</span></div>
								<select name="from_currency" class="px80">
										<?php $this -> echoFromCurrencyList(); ?>
									</select>
							</div>
							<div class="clearfix shelfD">
								<div class="dt250 font14">請選擇到帳幣種<br><span class="note_s font11">(※您希望收款方收到的幣種。)</span></div>
									<select name="to_currency" class="px80">
										<?php $this -> echoToCurrencyList(); ?>
									</select>
							</div>
							<div class="clearfix shelfD">
								<div class="dt250 font14">請填寫金額</div>
									<p>
										<label><input type="radio" name="transfer_type" value="0" <?php $this -> echoTransferTypeChecked(0); ?>> 支出金額</label>&emsp;
										<label><input type="radio" name="transfer_type" value="1" <?php $this -> echoTransferTypeChecked(1); ?>> 到帳金額</label>
									</p>
									<input type="text" name="amount" value="<?php $this -> echoAmount(); ?>" class="px180 ralign mt10">
							</div>
							<div class=" shelfD">
								<div class="dt250 font14">備註</div>
									<textarea name="message" rows="5" class="px280"><?php $this -> echoTMessage(); ?></textarea>
							</div>
							<div class="dt250 noborder"></div>
						<p class=""><input type="button" id="btnConfirm" value="下一步" class="btn bg-parent px180"></p>
						<input type="hidden" value="<?php $this -> echoAccountNumber(); ?>" id="transfer_to_account" name="transfer_to_account" />
						<input type="hidden" value="<?php $this -> echoName(); ?>" id="name" name="name" />
						<input type="hidden" value="" id="type" name="type" />
						</form>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/transfer.js"></script>
</body>
</html>
