<?php
$page_title = "Internal  Transfer";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href="/en/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">Please specify your Debit currency<br><span class="note_s font11">(※Which currency do you want to withdraw from?)</span></div>
								<select name="from_currency" class="px80">
										<?php $this -> echoFromCurrencyList(); ?>
									</select>
							</div>
							<div class="clearfix shelfD">
								<div class="dt250 font14">Please specify beneficiary's currency<br><span class="note_s font11">(※Which currency do you want your beneficiary to receive?)</span></div>
									<select name="to_currency" class="px80">
										<?php $this -> echoToCurrencyList(); ?>
									</select>
							</div>
							<div class="clearfix shelfD">
								<div class="dt250 font14">Amount</div>
									<p>
										<label><input type="radio" name="transfer_type" value="0" <?php $this -> echoTransferTypeChecked(0); ?>> Debit Amount</label>&emsp;
										<label><input type="radio" name="transfer_type" value="1" <?php $this -> echoTransferTypeChecked(1); ?>> Beneficiary Amount</label>
									</p>
									<input type="text" name="amount" value="<?php $this -> echoAmount(); ?>" class="px180 ralign mt10">
							</div>
							<div class=" shelfD">
								<div class="dt250 font14">Message</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="Confirm" 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>
