Commit 71e69d96 authored by Anthony.Suerte's avatar Anthony.Suerte

CCD Solution [Japanese Form Template Added]

parent 4487b3c2
......@@ -27,8 +27,8 @@ include_once('template/base_head.php');
<th>Currency</th>
<td>
<div class="">
<select name="currency" id="currency" class="px120 ArrowNone">
<option id="select" value="" class="px120">Select </option>
<select name="currency" id="APNcurrency" class="px120 ArrowNone">
<option value="" class="px120">Select </option>
<option value="USD">USD</option>
<option value="EUR">EUR</option>
<option value="JPY">JPY</option>
......@@ -40,32 +40,36 @@ include_once('template/base_head.php');
<tr>
<th>Deposit Amount</th>
<td id="amount_td1">
<div id="damount" class="set_amount">
<div class="con" >
<input type="text" value="<?php $this -> echoAmount() ?>" placeholder="" id="depositmoney" name="depositmoney"
<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>
<tr>
<th>Message</th>
<td>
<textarea placeholder="Add some notes here" name="message" class="px200" ><?php echo $this -> message ?></textarea>
</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 your credit card balance of your iWallet account.</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"/>
......@@ -78,10 +82,16 @@ include_once('template/base_head.php');
<?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(); ?>";
$("#currency").val(selectedCurrency).trigger("change")
$("#APNcurrency").val(selectedCurrency)
setTimeout(function(){
$("#APNcurrency").change()
}, 1200)
})()
</script>
</body>
......
<?php
$page_title = "CHANGE ME";
$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">
......@@ -19,13 +19,11 @@ include_once('template/base_head.php');
<?php echo $page_title; ?>
</h2>
</div>
<div class="parentDiv">
<div class="reverseFlex">
<!--reverse the column when the width match-->
<p class="pleft40 mb20 respM">決済メールをご登録のメールアドレス宛に送信いたしました。ご確認ください。</p>
<div class="pleft40 pt10 mb20 respM">
<a href="menu.php" class="btn bg-default calign">ホームページへ戻る</a>
<!--end a new div-->
</div> <!-- end of reverseFlex -->
</div>
</article>
</div>
</div>
......@@ -34,7 +32,7 @@ include_once('template/base_head.php');
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/deposit_credit_apn_complete.js"></script>
<script src="../js/deposit.js"></script>
</body>
</html>
<?php
$page_title = "CHANGE ME";
$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'); ?>
......@@ -19,22 +18,69 @@ include_once('template/base_head.php');
<?php echo $page_title; ?>
</h2>
</div>
<div class="parentDiv">
<div class="reverseFlex">
<!--reverse the column when the width match-->
<div class="mb10 pleft40"><?php echo $this -> echoMessage(); ?></div>
<div id="confirm_main_content">
<p class="pleft40 mb20 respM">ご記入いただいた申請情報および注意事項をご確認の上、お手続きください。</p>
<div class="pleft40">
<table class="table col bdr default odd fontM summaryT">
<tr>
<th style="width: 180px;" colspan="2">入金詳細</th>
</tr>
<tr>
<th style="width: 180px;">入金額</th>
<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php $this -> echoAmount(); ?></td>
</tr>
<tr>
<th style="width: 180px;">取引手数料</th>
<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php $this -> echoFee(); ?></td>
</tr>
<tr>
<th style="width: 180px;">料金</th>
<td class="ralign"><?php echo $this -> getCurrency();?>&nbsp;<?php $this -> echoDepositAmountNatural(); ?></td>
</tr>
</table>
</div>
<br />
<br />
<div class="container_wi650">
<ul class="pleft40 ul_list">
<li>取引一回につきご入金額の6%の手数料が発生します。</li>
<li>こちらの入金手段は、クレジットカードをお持ちのお客様のみご利用いただけます。</li>
<li>お手続き後、ご入金額は即座にお客様のiWallet口座残高に反映されます。</li>
</ul>
<div style="margin-top:50px" class="red pleft40">※問題がなければ、[次へ] ボタンを押してください。
</div>
</div>
<div class="calign nextwbtn" style=" margin-top: 10px;">
<a id="btnBackCCDInput" class="btn bg-default calign">&laquo; 戻る</a>&emsp;
<a id="btnCCDComplete" class="btn bg-grad px180 mt10">次へ</a>
</div>
</div>
<div style="display:none;" id="trans_loader">
<p class="pleft40 mb20 respM">送信中。。</p>
</div>
<form id="acForm" action="" method="post">
<input type="hidden" name="type" id="type" />
<input type="hidden" name="token" id="token" value="<?php $this -> echoToken() ?>"/>
<input type="hidden" name="amount" value="<?php $this -> echoAmountPure(); ?>" />
<input type="hidden" name="currency" value="<?php echo $this -> getCurrency(); ?>" />
<input type="hidden" name="fee" value="<?php $this -> echoFee() ?>" />
<input type="hidden" name="message" value="<?php echo $this -> message; ?>" />
</form>
<!--end a new div-->
</div> <!-- end of reverseFlex -->
</article>
</div>
</div>
</div>
<!-- /メインカラム -->
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/deposit_credit_apn_confirm.js"></script>
<script src="../js/deposit.js"></script>
</body>
</html>
<?php
$page_title = "CHANGE ME";
$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">
......@@ -21,11 +21,11 @@ include_once('template/base_head.php');
</div>
<div class="parentDiv">
<div class="reverseFlex">
<!--reverse the column when the width match-->
<!--end a new div-->
</div> <!-- end of reverseFlex -->
<p class="pleft40 mb20 respM">無効な入金詳細。やり直してください</p>
<div class="pleft40 pt10 mb20 respM">
<a href="menu.php" class="btn bg-default calign">ホームページへ戻る</a>
</div>
</div>
</div>
</article>
</div>
......@@ -35,7 +35,7 @@ include_once('template/base_head.php');
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/deposit_credit_apn_fail.js"></script>
<script src="../js/deposit.js"></script>
</body>
</html>
<?php
$page_title = "CHANGE ME";
$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 id="colMain">
<div class="mainIn">
<?php include_once('template/base_nav.php'); ?>
<article>
......@@ -19,22 +16,84 @@ include_once('template/base_head.php');
<?php echo $page_title; ?>
</h2>
</div>
<div class="parentDiv">
<div class="reverseFlex">
<!--reverse the column when the width match-->
<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>
<!--end a new div-->
</div> <!-- end of reverseFlex -->
</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>
<!-- /メインカラム -->
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/deposit_credit_apn_input.js"></script>
<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>
<?php
$page_title = "CHANGE ME";
$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">
......@@ -21,11 +21,14 @@ include_once('template/base_head.php');
</div>
<div class="parentDiv">
<div class="reverseFlex">
<!--reverse the column when the width match-->
<p class="pleft40 mb20 respM">取引は処理中。。。</p>
<!--end a new div-->
</div> <!-- end of reverseFlex -->
<form id="acForm" action="" method="POST">
<input type="hidden" id="type" name="type"/>
<input type="hidden" id="valid_calc" value="<?php $this -> echoValidCalculation() ?>"/>
</form>
</div>
</div>
</article>
</div>
</div>
......@@ -34,7 +37,21 @@ include_once('template/base_head.php');
</div>
<?php include_once('template/base_foot.php'); ?>
</div>
<script src="../js/deposit_credit_apn_send.js"></script>
<script src="../js/deposit.js"></script>
<script type="text/javascript">
(function(){
setTimeout(function(){
var validCalculation = $("#valid_calc").val()
if(validCalculation == "valid")
$("#type").val("cc_deposit_complete")
else
$("#type").val("cc_deposit_fail")
submitForm()
}, 500)
})()
</script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment