<?php
$page_title = "口座振替";
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft">
				<h1><a href=""><img src="../img/logo.png" alt="iWallet"></a></h1>
				<div class="aside-heading">
					&nbsp;
				</div>
				&nbsp;
			</aside>
			<!-- /サイドバー -->
			<!-- メインカラム -->
			<div id="colMain">
				<div class="mainIn">
					<?php include_once('template/base_nav.php'); ?>
					<form id="acForm" action="" method="post">
						<article>
							<div class="article-heading">
								<h2><?php echo $page_title; ?></h2>
							</div>
							<?php $this -> echoMessage(); ?>
							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>送金元名義</th>
									<td><?php $this -> echoFromName(); ?></td>
								</tr>
								<tr>
									<th>送金元口座</th>
									<td><?php $this -> echoFrom(); ?></td>
								</tr>
								<tr>
									<th>出金口座通貨</th>
									<td class="clr">
										<?php $this -> dispBalances(); ?>
									</td>
								</tr>
								<tr>
									<th>受取通貨選択</th>
									<td>
										<select id="to_currency" name="to_currency" class="px60">
											<?php $this -> echoCurrencyList(); ?>
										</select>
									</td>
								</tr>
								<tr>
									<th>金額</th>
									<td>
										<label><input type="radio" name="transfer_type" id="transfer_type" value="0" <?php $this -> echoDispTransferType(0); ?>> 出金通貨値</label>&emsp;
										<label><input type="radio" name="transfer_type" id="transfer_type" value="1" <?php $this -> echoDispTransferType(1); ?>> 受取通貨値</label><br />
										<input type="text" name="amount" value="<?php $this -> echoAmount(); ?>" class="px120 ralign">
									</td>
								</tr>
								<tr>
									<th>為替レート</th>
									<td id="rate"></td>
								</tr>
								<tr>
									<th>送金先名</th>
									<td><?php $this -> echoToName(); ?></td>
								</tr>
								<tr>
									<th>送金先口座番号</th>
									<td><?php $this -> echoTo(); ?></td>
								</tr>
								<tr>
									<th>メッセージ</th>
									<td>
										<textarea rows="5" class="w100p" name="message"><?php $this -> echoIMessage(); ?></textarea>
									</td>
								</tr>
							</table>
							<p class="calign">
								<a id="btnCreate" class="btn bg-default">&laquo; 戻る</a>&emsp;
								<input type="button" id="btnConfirm" value="確認する" class="btn bg-grad px100 hi25">
							</p>
							<div class="article-bottom">
							</div>
						</article>
						<input type="hidden" value="" id="type" name="type" />
						<input type="hidden" value="<?php $this -> echoTo(); ?>" id="to" name="to" />
						<input type="hidden" value="<?php $this -> echoFrom(); ?>" id="from" name="from" />
						<input type="hidden" value="<?php $this -> echoFromName(); ?>" id="transfer_from_name" name="transfer_from_name" />
						<input type="hidden" value="<?php $this -> echoToName(); ?>" id="transfer_to_name" name="transfer_to_name" />
						<input type="hidden" value="<?php $this -> echoDebitCurrency(); ?>" id="debit_currency" name="debit_currency" />
						<input type="hidden" value="<?php $this -> echoDebitAmount(); ?>" id="debit_amount" name="debit_amount" />
						<input type="hidden" value="<?php $this -> echoFromFee(); ?>" id="from_fee" name="from_fee" />
						<input type="hidden" value="<?php $this -> echoTransferCurrency(); ?>" id="transfer_currency" name="transfer_currency" />
						<input type="hidden" value="<?php $this -> echoTransferAmount(); ?>" id="transfer_amount" name="transfer_amount" />
						<input type="hidden" value="<?php $this -> echoToFee(); ?>" id="to_fee" name="to_fee" />
						<input type="hidden" value="<?php $this -> echoRate(); ?>" id="rate" name="rate" />
						
						<!-- Language Transition Data (Anton) 04/23/2016 -->
						<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/en/transfer"/>
						<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
						<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
						<!-- /Language Transition Data -->
					</form>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
		<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="js/transfer.js"></script>
</body>
</html>
