<?php
$page_title = "Credit Card Deposit Solution";
include_once('./config.php');
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="mb10 pleft40"><?php echo $this -> echoMessage(); ?></div>
				<p class="pleft40 mb20 respM">
					Please enter the amount you want to deposit.<br/>
				</p>
				<form id="acForm" action="" method="post" class="form1">
                    <div class="pleft40">
						<table class="table col bdr default odd  fontM summaryT">
							<tr>
								<th>Currency</th>
								<td>
									<div class="">
		                            	<select name="currency" id="APNcurrency" class="px120 ArrowNone">
		                            		<option value="" class="px120">Select </option>
		                            		<?php $this -> echoEPLCurrencyDropdownOptions() ?>
		                            	</select>
		                            </div>
								</td>
	                        </tr>
                         	<tr>
	                            <th>Deposit Amount</th>
	                           	<td id="amount_td1"> 
	                           		<div class="depositAmt_cont">
		                           		<ul class="ui-choose" id="uc_01">
	                                 		<li onClick="clicknum(li05)" id="li05">100</li>
	                                        <li onClick="clicknum(li02)" id="li02">500</li>
	                                        <li onClick="clicknum(li03)" id="li03">1000</li>
	                                        <li onClick="clicknum(li04)" id="li04">3000</li>
	                                        <li onClick="clicknum(li01)" id="li01">5000</li>
	                                        <li onClick="clickothers()">others</li>
	                                    </ul>
	                           		</div>
                                        <div id="damount" class="hidediv">
                                            <div class="con">
                                                <input type="text" value="0.00" placeholder="" id="depositmoney" name="depositmoney" 
												onchange="setAmount();" maxlength = "5" class="px200">
                                            </div>
                                        </div>
                                 		
                                </td>
                         	</tr>

                 		</table>
                        <br>
            			<strong class="ml20">Note:</strong>
            			<ol class="ol_list ml50">
			                <li>A transaction fee, 6% of the deposited amount will be charged to the member.</li>
			                <li>This option is only available for members with Credit Card.</li>
			                <li>The deposited amount will be instantly credited into the balance of your iWallet account.</li>
            			</ol>
            		</div>
                    <p class="calign nextwbtn" style="margin-top: 40px;"><input type="submit" class="btn bg-grad px180" id="btnCCDSend" value="Next"></p>
                    <input type="hidden" value="<?php $this -> echoAmount() ?>" name="amount" id="amount"/>
		            <input type="hidden" name="type" id="type"/>
		            <input type="hidden" name="token" id="token"/>
				</form>
			</article>
		</div>
	</div>
</div>
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/deposit.js"></script>
<!-- <script src="../js/deposit_APN.js"></script> -->
<script src="../js/ui-choose-bind-APN.js"></script>
<script type="text/javascript">
(function(){
	var selectedCurrency = "<?php echo $this -> getCurrency(); ?>";
	$("#APNcurrency").val(selectedCurrency)

	setTimeout(function(){
   		$("#APNcurrency").change()
	}, 1200)
})()
</script>
</body>
</html>

