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'); ...@@ -27,8 +27,8 @@ include_once('template/base_head.php');
<th>Currency</th> <th>Currency</th>
<td> <td>
<div class=""> <div class="">
<select name="currency" id="currency" class="px120 ArrowNone"> <select name="currency" id="APNcurrency" class="px120 ArrowNone">
<option id="select" value="" class="px120">Select </option> <option value="" class="px120">Select </option>
<option value="USD">USD</option> <option value="USD">USD</option>
<option value="EUR">EUR</option> <option value="EUR">EUR</option>
<option value="JPY">JPY</option> <option value="JPY">JPY</option>
...@@ -39,33 +39,37 @@ include_once('template/base_head.php'); ...@@ -39,33 +39,37 @@ include_once('template/base_head.php');
</tr> </tr>
<tr> <tr>
<th>Deposit Amount</th> <th>Deposit Amount</th>
<td id="amount_td1"> <td id="amount_td1">
<div id="damount" class="set_amount"> <div class="depositAmt_cont">
<div class="con" > <ul class="ui-choose" id="uc_01">
<input type="text" value="<?php $this -> echoAmount() ?>" placeholder="" id="depositmoney" name="depositmoney" <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"> onchange="setAmount();" maxlength = "5" class="px200">
</div> </div>
</div> </div>
</td>
</td>
</tr> </tr>
<tr>
<th>Message</th>
<td>
<textarea placeholder="Add some notes here" name="message" class="px200" ><?php echo $this -> message ?></textarea>
</td>
</tr>
</table> </table>
<br> <br>
<strong class="ml20">Note:</strong> <strong class="ml20">Note:</strong>
<ol class="ol_list ml50"> <ol class="ol_list ml50">
<li>A transaction fee, 6% of the deposited amount will be charged to the member.</li> <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>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> </ol>
</div> </div>
<p class="calign nextwbtn" style="margin-top: 40px;"><input type="submit" class="btn bg-grad px180" id="btnCCDSend" value="Next"></p> <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" value="<?php $this -> echoAmount() ?>" name="amount" id="amount"/>
<input type="hidden" name="type" id="type"/> <input type="hidden" name="type" id="type"/>
<input type="hidden" name="token" id="token"/> <input type="hidden" name="token" id="token"/>
...@@ -78,10 +82,16 @@ include_once('template/base_head.php'); ...@@ -78,10 +82,16 @@ include_once('template/base_head.php');
<?php include_once('template/base_foot.php'); ?> <?php include_once('template/base_foot.php'); ?>
</div> </div>
<script src="../js/deposit.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"> <script type="text/javascript">
(function(){ (function(){
var selectedCurrency = "<?php echo $this -> getCurrency(); ?>"; var selectedCurrency = "<?php echo $this -> getCurrency(); ?>";
$("#currency").val(selectedCurrency).trigger("change") $("#APNcurrency").val(selectedCurrency)
setTimeout(function(){
$("#APNcurrency").change()
}, 1200)
})() })()
</script> </script>
</body> </body>
......
<?php <?php
$page_title = "CHANGE ME"; $page_title = "クレジットカード入金";
include_once('./config.php'); include_once('./config.php');
include_once('template/base_head.php'); include_once('template/base_head.php');
?> ?>
<!-- サイド?ー --> <!-- サイド?ー -->
<aside id="colLeft"> <aside id="colLeft">
<h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1> <h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once('template/base_sidebar.php'); ?> <?php include_once('template/base_sidebar.php'); ?>
</aside> </aside>
<!-- /サイド?ー --> <!-- /サイド?ー -->
<!-- メインカラム --> <!-- メインカラム -->
<div id="colMain"> <div id="colMain">
<div class="mainIn"> <div class="mainIn">
...@@ -19,13 +19,11 @@ include_once('template/base_head.php'); ...@@ -19,13 +19,11 @@ include_once('template/base_head.php');
<?php echo $page_title; ?> <?php echo $page_title; ?>
</h2> </h2>
</div> </div>
<div class="parentDiv"> <p class="pleft40 mb20 respM">決済メールをご登録のメールアドレス宛に送信いたしました。ご確認ください。</p>
<div class="reverseFlex"> <div class="pleft40 pt10 mb20 respM">
<!--reverse the column when the width match--> <a href="menu.php" class="btn bg-default calign">ホームページへ戻る</a>
</div>
<!--end a new div-->
</div> <!-- end of reverseFlex -->
</article> </article>
</div> </div>
</div> </div>
...@@ -34,7 +32,7 @@ include_once('template/base_head.php'); ...@@ -34,7 +32,7 @@ include_once('template/base_head.php');
</div> </div>
<?php include_once('template/base_foot.php'); ?> <?php include_once('template/base_foot.php'); ?>
</div> </div>
<script src="../js/deposit_credit_apn_complete.js"></script> <script src="../js/deposit.js"></script>
</body> </body>
</html> </html>
<?php <?php
$page_title = "CHANGE ME"; $page_title = "クレジットカード入金";
include_once('./config.php'); include_once('./config.php');
include_once('template/base_head.php'); include_once('template/base_head.php');
?> ?>
<!-- サイド?ー -->
<aside id="colLeft"> <aside id="colLeft">
<h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1> <h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once('template/base_sidebar.php'); ?> <?php include_once('template/base_sidebar.php'); ?>
</aside> </aside>
<!-- /サイド?ー -->
<!-- メインカラム -->
<div id="colMain"> <div id="colMain">
<div class="mainIn"> <div class="mainIn">
<?php include_once('template/base_nav.php'); ?> <?php include_once('template/base_nav.php'); ?>
...@@ -19,22 +18,69 @@ include_once('template/base_head.php'); ...@@ -19,22 +18,69 @@ include_once('template/base_head.php');
<?php echo $page_title; ?> <?php echo $page_title; ?>
</h2> </h2>
</div> </div>
<div class="parentDiv"> <div class="mb10 pleft40"><?php echo $this -> echoMessage(); ?></div>
<div class="reverseFlex">
<!--reverse the column when the width match--> <div id="confirm_main_content">
<p class="pleft40 mb20 respM">ご記入いただいた申請情報および注意事項をご確認の上、お手続きください。</p>
<!--end a new div--> <div class="pleft40">
</div> <!-- end of reverseFlex -->
<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>
</article> </article>
</div> </div>
</div> </div>
</div> </div>
<!-- /メインカラム -->
</div> </div>
<?php include_once('template/base_foot.php'); ?> <?php include_once('template/base_foot.php'); ?>
</div> </div>
<script src="../js/deposit_credit_apn_confirm.js"></script> <script src="../js/deposit.js"></script>
</body> </body>
</html> </html>
<?php <?php
$page_title = "CHANGE ME"; $page_title = "クレジットカード入金";
include_once('./config.php'); include_once('./config.php');
include_once('template/base_head.php'); include_once('template/base_head.php');
?> ?>
<!-- サイド?ー --> <!-- サイド -->
<aside id="colLeft"> <aside id="colLeft">
<h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1> <h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once('template/base_sidebar.php'); ?> <?php include_once('template/base_sidebar.php'); ?>
</aside> </aside>
<!-- /サイド?ー --> <!-- /サイドー -->
<!-- メインカラム --> <!-- メインカラム -->
<div id="colMain"> <div id="colMain">
<div class="mainIn"> <div class="mainIn">
...@@ -21,11 +21,11 @@ include_once('template/base_head.php'); ...@@ -21,11 +21,11 @@ include_once('template/base_head.php');
</div> </div>
<div class="parentDiv"> <div class="parentDiv">
<div class="reverseFlex"> <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>
</div> <!-- end of reverseFlex --> </div>
</div> </div>
</article> </article>
</div> </div>
...@@ -35,7 +35,7 @@ include_once('template/base_head.php'); ...@@ -35,7 +35,7 @@ include_once('template/base_head.php');
</div> </div>
<?php include_once('template/base_foot.php'); ?> <?php include_once('template/base_foot.php'); ?>
</div> </div>
<script src="../js/deposit_credit_apn_fail.js"></script> <script src="../js/deposit.js"></script>
</body> </body>
</html> </html>
<?php <?php
$page_title = "CHANGE ME"; $page_title = "クレジットカード入金";
include_once('./config.php'); include_once('./config.php');
include_once('template/base_head.php'); include_once('template/base_head.php');
?> ?>
<!-- サイド?ー -->
<aside id="colLeft"> <aside id="colLeft">
<h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1> <h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once('template/base_sidebar.php'); ?> <?php include_once('template/base_sidebar.php'); ?>
</aside> </aside>
<!-- /サイド?ー --> <div id="colMain">
<!-- メインカラム --> <div class="mainIn">
<div id="colMain"> <?php include_once('template/base_nav.php'); ?>
<div class="mainIn"> <article>
<?php include_once('template/base_nav.php'); ?> <div class="article-heading">
<article> <h2>
<div class="article-heading"> <?php echo $page_title; ?>
<h2> </h2>
<?php echo $page_title; ?> </div>
</h2> <div class="mb10 pleft40"><?php echo $this -> echoMessage(); ?></div>
</div> <p class="pleft40 mb20 respM">
<div class="parentDiv"> 入金額を選択してください。<br/>
<div class="reverseFlex"> </p>
<!--reverse the column when the width match--> <form id="acForm" action="" method="post" class="form1">
<div class="pleft40">
<table class="table col bdr default odd fontM summaryT">
<!--end a new div--> <tr>
</div> <!-- end of reverseFlex --> <th>通貨</th>
</article> <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> </div>
</div> </div>
<!-- /メインカラム -->
</div>
<?php include_once('template/base_foot.php'); ?> <?php include_once('template/base_foot.php'); ?>
</div> </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> </body>
</html> </html>
<?php <?php
$page_title = "CHANGE ME"; $page_title = "クレジットカード入金";
include_once('./config.php'); include_once('./config.php');
include_once('template/base_head.php'); include_once('template/base_head.php');
?> ?>
<!-- サイド?ー --> <!-- サイド?ー -->
<aside id="colLeft"> <aside id="colLeft">
<h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1> <h1><a href="/en/menu"><img src="../img/logo.png" alt="iWallet"></a></h1>
<?php include_once('template/base_sidebar.php'); ?> <?php include_once('template/base_sidebar.php'); ?>
</aside> </aside>
<!-- /サイド?ー --> <!-- /サイド?ー -->
<!-- メインカラム --> <!-- メインカラム -->
<div id="colMain"> <div id="colMain">
<div class="mainIn"> <div class="mainIn">
...@@ -21,11 +21,14 @@ include_once('template/base_head.php'); ...@@ -21,11 +21,14 @@ include_once('template/base_head.php');
</div> </div>
<div class="parentDiv"> <div class="parentDiv">
<div class="reverseFlex"> <div class="reverseFlex">
<!--reverse the column when the width match--> <p class="pleft40 mb20 respM">取引は処理中。。。</p>
<form id="acForm" action="" method="POST">
<!--end a new div--> <input type="hidden" id="type" name="type"/>
</div> <!-- end of reverseFlex --> <input type="hidden" id="valid_calc" value="<?php $this -> echoValidCalculation() ?>"/>
</form>
</div>
</div>
</article> </article>
</div> </div>
</div> </div>
...@@ -34,7 +37,21 @@ include_once('template/base_head.php'); ...@@ -34,7 +37,21 @@ include_once('template/base_head.php');
</div> </div>
<?php include_once('template/base_foot.php'); ?> <?php include_once('template/base_foot.php'); ?>
</div> </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> </body>
</html> </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