<?php
$page_title = "Money Request";
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>
						<p class="mb30 respM pleft40">Once the request is accepted by the receiver, the required money will reflected to your iWallet account.<br>
						Please indicate the receiver's iWallet account and email address.</p>
						<div class="pleft40 mb10"><?php $this -> echoMessage(); ?></div>
						<div class="pleft40">
						<form id="acForm" action="" method="post">
							<div class="clearfix shelfD">
								<div class="dt150 font14">Request to</div>
								<?php $this -> echoUserAccount(); ?> <?php $this -> echoName(); ?>
							</div>
							<div class="clearfix shelfD">
								<div class="dt150 font14">Choose Currency</div>
										<select name="currency" class="px80">
											<?php $this -> dispCurrency(); ?>
										</select>
							</div>
							<div class="clearfix shelfD">
								<div class="dt150 font14">Enter Amount</div>
										<input type="text" name="amount" value="<?php $this -> echoAmount(); ?>" class="px180 ralign">
							</div>
							<div class=" shelfD">
								<div class="dt150 font14">Message</div>
										<textarea name="message" rows="5" class="px280"><?php $this -> echoRequestMessage(); ?></textarea>
							</div>
							<input type="hidden" value="" id="type" name="type" />

							<input type="hidden" value="<?php $this -> echoUserAccount(); ?>" id="account" name="account" />
						</form>
							<div class="dt150 noborder"></div>
						<p class="pb30"><input type="button" id="btnConfirm" value="Confirm" class="btn bg-parent px180"></p>
						</div>
					</article>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/request.js"></script>
</body>
</html>
