<?php
$page_title = " 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 select 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>
	                                    </ul>
	                           		</div>
                                    <div id="damount" class="hidediv">
                                        <div class="con">
                                            <input type="text" placeholder="0.00" id="depositmoney" name="depositmoney" 
										onchange="setAmount();" maxlength="10" class="px200">
                                        </div>
                                    </div>
                                    <br/>
                                 	<span class="red" style="display:none;" id="ccdInputNotice">※Please enter an amount not exceeding the <b>{amount} {currency}</b> limit per transaction</span>
                                </td>
                         	</tr>

                 		</table>
                        <br>
            			<strong class="ml20">Note:</strong>
            			<ol class="ol_list ml50">
			                <li>A transaction fee, 7% of the deposited amount will be charged to the member.</li>
			                <li>This option is only available for Executive-account members with 3DS-enabled Visa or MasterCard Credit/Debit/Prepaid Card.</li>
			                <li>The deposited amount will be credited into the balance of your iWallet account upon successful completion of transaction.</li>
			                <li>Daily limits are set to 1000 USD total, for a maximum of 5 transactions. This limit resets 24 hours from your last successful payment.</li>
            			</ol>
            			<div style="margin-top:30px" class="red pleft40">
        			 		※<span style="font-size:16.5px;">
        			 			<b>Important Reminder:</b> 
        			 			Please be advised that you will be billed on your Card Statement as "ALTPAY*NOSAKA CHIBA" for usage of this solution
        			 		</span> 
        		 		</div>
            		</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(){
	setTimeout(function(){
   		$("#APNcurrency option[value=USD]").prop("selected", true)
   		$("#APNcurrency").change()
	}, 800)
})()
</script>
</body>
</html>

