<?php
$page_title = "クレジットカード入金";
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">
					入金額を選択してください。<br/>
				</p>
				<form id="acForm" action="" method="post" class="form1">
                    <div class="pleft40">
						<table class="table col bdr default odd  fontM summaryT">
							<tr>
								<th>通貨</th>
								<td>
									<div class="">
		                            	<select name="currency" id="APNcurrency" class="px120 ArrowNone">
		                            		<option value="" class="px120">選択 </option>
		                            		<option value="USD">USD</option>
		                            		<option value="EUR">EUR</option>
		                            		<option value="JPY">JPY</option>
		                            		<option value="PHP">PHP</option>
		                            	</select>
		                            </div>
								</td>
	                        </tr>
                         	<tr>
	                            <th>入金額</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()">他の金額</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">注意:</strong>
            			<ol class="ol_list ml50">
			                <li>取引一回につきご入金額の6%の手数料が発生します。</li>
			                <li>こちらの入金手段は、クレジットカードをお持ちのお客様のみご利用いただけます。</li>
			                <li>お手続き後、ご入金額は即座にお客様のiWallet口座残高に反映されます。</li>
            			</ol>
            		</div>
                    <p class="calign nextwbtn" style="margin-top: 40px;"><input type="submit" class="btn bg-grad px180" id="btnCCDSend" value="次へ"></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>

