<?php
$page_title = "Request-received";
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>
						<div class="pleft40 mb10"><?php $this -> echoMessage(); ?></div>
						<form id="acForm" action="" method="post">
							<table class="table col bdr default odd requestT fontM mb20">
								<tr>
									<th>Processing Date</th>
									<td><?php $this -> echoCreateTime(); ?></td>
								</tr>
								<tr>
									<th>Requester</th>
									<td><?php $this -> echoToAccount(); ?> <?php $this -> echoName(); ?></td>
								</tr>
								<tr>
									<th>Required Amount</th>
									<td><?php $this -> echoCurrency(); ?> <?php $this -> dispAmount	(); ?></td>
								</tr>
								<tr>
									<th>Message</th>
									<td><?php echo nl2br($this -> getRequestMessage()); ?></td>
								</tr>
								<tr>
									<th>Select Debit Currency</th>
									<td class="clr selectC">
										<?php $this -> dispBalances(); ?>
									</td>
								</tr>
								<tr>
									<th>Message</th>
									<td><textarea name="send_message" rows="5" class="w100p"><?php $this -> echoSendMessage(); ?></textarea></td>
								</tr>
							</table>

							<input type="hidden" id="type" name="type" value="" />
							<input type="hidden" value="apply" name="action" />
							<input type="hidden" value="<?php $this -> echoRId(); ?>" id="r_id" name="r_id" />
							<input type="hidden" value="" id="status" name="status" />
						</form>
						<p class="requestT calign">
							<input type="button" id="btn2faSubmit" value="Accept" class="btn bg-grad px130" onclick="create2fa('received','getbtnSave','en','<?php echo $page_title;?>','','');">&emsp;
							<input type="button" id="btnRollBack" value="Reject" class="btn bg-red px130">&emsp;
							<input type="button" id="btnListApply" value="Back" class="btn bg-default px120">
						</p>
					</article>
					<div class="" id="secondAuth"></div>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/request.js"></script>
</body>
</html>
