<?php
$page_title = "Login for payments";
include_once('./config.php');
include_once('template/base_head.php');
?>
			<!-- サイドバー -->
			<aside id="colLeft" class="login">
				<h1><a href="/"><img src="../img/logo.png" alt="iWallet"></a></h1>
				<h2></h2>
				<div class="sideLogin"></div>
			</aside>
			<!-- /サイドバー -->
			<!-- メインカラム -->
			<div id="colMain" class="nonav">
				<div class="mainIn">
<?php include_once('template/base_nav_logout.php'); ?>

					<div id="login">
						<h2>Masuk untuk Pembayaran</h2>
						<?php $this -> echoMessage(); ?>
						<form action="" method="post" id="acForm">
						<div class="col-3">
							<table>
								<tr>
									<th>Alamat Email Anda</th>
									<td><input type="text" name="user_name" id="user_name" value="" class="w100p"></td>
								</tr>
								<tr>
									<th>Kata Sandi</th>
									<td><input type="password" name="password" id="password" autocomplete="off" value="" class="w100p"></td>
								</tr>
							</table>
						</div>
							<div class="col-1">
		                        <div class="sign-up-container">
		                        	<!-- Daftar untuk akun baru sekarang!
		                        	 -->
		                        
		                            <div>Baru mengenal iWallet?<br><a href="<?php echo $this -> getAgentCodeURL(); ?>" target="_blank">Daftar</a> untuk akun<br> baru sekarang!</div>   
		                        </div>
		           		 	</div>
							<input type="hidden" value="input" id="type" name="type" />

							<input type="hidden" value="<?php $this -> echoSignature(); ?>" id="signature" name="signature" />
							<input type="hidden" value="<?php $this -> echoToAccount(); ?>" id="user_account" name="user_account" />
							<input type="hidden" value="<?php $this -> echoCurrency(); ?>" id="currency" name="currency" />
							<input type="hidden" value="<?php $this -> echoAmount(); ?>" id="amount" name="amount" />
							<input type="hidden" value="<?php $this -> echoTitle(); ?>" id="title" name="title" />

							<input type="hidden" value="<?php $this -> echoSuccessUrl(); ?>" name="success_url" />
							<input type="hidden" value="<?php $this -> echoFailUrl(); ?>" name="fail_url" />
							<input type="hidden" value="<?php $this -> echoCancelUrl(); ?>" name="cancel_url" />
							<input type="hidden" value="<?php $this -> echoReturnUrl(); ?>" name="return_url" />
							<input type="hidden" value="<?php $this -> echoPNum(); ?>" name="p_num" />

							<?php $this -> echoParams(); ?>
						</form>
						<input type="button" id="btnLogin" name="" value="Masuk" class="btn bg-grad px80">
					</div>
				</div>
			</div>
			<!-- /メインカラム -->
		</div>
<?php include_once('template/base_foot.php'); ?>
	</div>
	<script src="../js/settlement.js"></script>
</body>
</html>
