|
Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/rabbithabit.com/public_html/application/views/ |
Upload File : |
<div class="container" style="padding-bottom: 60px;">
<br><br>
<h3><?= ucwords(lang('method'));?></h3>
<hr>
<div class="row">
<div class="col-sm-12">
<sup>*</sup><?= ucwords(lang('clicking'));?>, <br> <?= ucwords(lang('agree'));?> <a href="#myModalTOC" data-toggle="modal" style="color:<?= $primary_colortheme;?>"><?= ucwords(lang('term_condition'));?>.</a>
</div>
</div>
<div id="ge00"><p><?= ucwords(lang('turn_off'));?> <span style="color:red;"><?= ucwords(lang('ucbrowser'));?></span>, <?= ucwords(lang('chrome_firefox'));?>.</p></div>
<script>
jQuery(document).ready(function() {
jQuery('#ge00').hide();
if (navigator.userAgent.indexOf(' UCBrowser/') >= 0) {
//...is uc browser
jQuery('#ge00').show();
}
});
</script>
<?php if(isset($snapToken_cc)) : ?>
<div class="row" style="padding-top: 20px;">
<div class="col-sm-12">
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;">
<strong><?= ucwords(lang('credit_card'));?></strong>
</a>
<a id="credit_card" href="#" class="list-group-item list-group-item-action"><?= ucwords(lang('credit_card'));?> Visa & Mastercard
<span style="float: right;"><img style="width: 100px;" src="<?= base_url('assets/frontend/img/visa-master.jpg'); ?>"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span>
</a>
</div>
</div>
</div>
<?php endif; ?>
<?php if(isset($snapToken_gopay)) : ?>
<div class="row" style="padding-top: 20px;">
<div class="col-sm-12">
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;">
<strong>Go-Pay</strong>
</a>
<a id="gopay" href="#" class="list-group-item list-group-item-action">Go-Pay
<span style="float: right;"><img style="height: auto; width:90px" src="<?= base_url('assets/frontend/img/gopay.png'); ?>"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span>
</a>
</div>
</div>
</div>
<?php endif; ?>
<?php if(isset($snapToken_bniva) || isset($snapToken_permatava) || isset($snapToken_echannel)) : ?>
<div class="row" style="padding-top: 20px;">
<div class="col-sm-12">
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;">
<strong><?= ucwords(lang('virtual'));?></strong><br>
<span><?= ucwords(lang('virtual_text'));?></span>
</a>
<?php if(isset($snapToken_permatava)) : ?>
<a id="permata_va" href="#" class="list-group-item list-group-item-action">Permata
<span style="float: right;"><img style="height: auto; width:120px" src="<?= base_url('assets/frontend/img/permata-bank.jpg'); ?>"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a>
</a>
<?php endif; ?>
<?php if(isset($snapToken_bniva)) : ?>
<a id="bni_va" href="#" class="list-group-item list-group-item-action">BNI
<span style="float: right;"><img style="height: auto; width:80px" src="<?= base_url('assets/frontend/img/bni.jpg'); ?>"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a>
</a>
<?php endif; ?>
<?php if(isset($snapToken_echannel)) : ?>
<a id="mandiri_bill" href="#" class="list-group-item list-group-item-action">MANDIRI BILL PAYMENT
<span style="float: right;"><img style="height: auto; width:80px" src="<?= base_url('assets/frontend/img/banktransfer_mandiri.jpg'); ?>"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a>
</a>
<?php endif; ?>
</div>
</div>
</div>
<?php endif; ?>
<div class="row" style="padding-top: 20px;">
<div class="col-sm-12">
<div class="list-group">
<a href="#" class="list-group-item list-group-item-action active" style="background: #F2F2F2; color:black;">
<strong>Bank Transfer Manual</strong><br>
<span><?= ucwords(lang('bank_transfer'));?></span>
</a>
<?php if($bca_is_active == 1) : ?>
<a href="#myModalBCA" data-toggle="modal" class="list-group-item list-group-item-action">BCA
<span style="float: right;"><img style="height: auto; width:80px" src="<?= base_url('assets/frontend/img/banktransfer_bca.jpg'); ?>"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a>
<?php endif; ?>
<?php if($mandiri_is_active == 1) : ?>
<a href="#myModalMandiri" data-toggle="modal" class="list-group-item list-group-item-action">Mandiri
<span style="float: right;"><img style="height: auto; width:120px" src="<?= base_url('assets/frontend/img/banktransfer_mandiri.jpg'); ?>"> <i style="color:#000; position:relative; top:3px;" class="fa fa-chevron-right"></i></span></a>
<?php endif; ?>
</div>
</div>
</div>
</div>
<script src="<?= $snap_url; ?>" data-client-key="<?= $client_key; ?>"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
<?php if(isset($snapToken_permatava)) : ?>
jQuery('#permata_va').on('click', function(e) {
e.preventDefault();
// SnapToken acquired from previous step
snap.pay('<?= $snapToken_permatava; ?>', {
skipOrderSummary : true,
// Optional
onSuccess: function(result){
/* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>';
},
// Optional
onPending: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>';
},
// Optional
onError: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>';
}
});
});
<?php endif; ?>
<?php if(isset($snapToken_bniva)) : ?>
jQuery('#bni_va').on('click', function(e) {
e.preventDefault();
// SnapToken acquired from previous step
snap.pay('<?= $snapToken_bniva; ?>', {
skipOrderSummary : true,
// Optional
onSuccess: function(result){
/* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>';
},
// Optional
onPending: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>';
},
// Optional
onError: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>';
}
});
});
<?php endif; ?>
<?php if(isset($snapToken_echannel)) : ?>
jQuery('#mandiri_bill').on('click', function(e) {
e.preventDefault();
// SnapToken acquired from previous step
snap.pay('<?= $snapToken_echannel; ?>', {
skipOrderSummary : true,
// Optional
onSuccess: function(result){
/* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>';
},
// Optional
onPending: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>';
},
// Optional
onError: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>';
}
});
});
<?php endif; ?>
<?php if(isset($snapToken_cc)) : ?>
jQuery('#credit_card').on('click', function(e) {
e.preventDefault();
// SnapToken acquired from previous step
snap.pay('<?= $snapToken_cc; ?>', {
skipOrderSummary : true,
// Optional
onSuccess: function(result){
/* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>';
},
// Optional
onPending: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>';
},
// Optional
onError: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>';
}
});
});
<?php endif; ?>
<?php if(isset($snapToken_gopay)) : ?>
jQuery('#gopay').on('click', function(e) {
e.preventDefault();
// SnapToken acquired from previous step
snap.pay('<?= $snapToken_gopay; ?>', {
skipOrderSummary : true,
// Optional
onSuccess: function(result){
/* You may add your own js here, this is just example *document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_success'); ?>';
},
// Optional
onPending: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_pending'); ?>';
},
// Optional
onError: function(result){
/* You may add your own js here, this is just example document.getElementById('result-json').innerHTML += JSON.stringify(result, null, 2); */
window.location.href = '<?= base_url('midtrans/veritrans_payment_error'); ?>';
}
});
});
<?php endif; ?>
});
</script>
<?php if($bca_is_active == 1) : ?>
<!-- Modal BCA -->
<div class="modal fade" id="myModalBCA" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content PayMent">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle"><?= ucwords(lang('bca'));?></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p><?= ucwords(lang('continue_bca'));?> ?
</div>
<div class="modal-footer" style="align-items: center;display: flex;text-align: center;">
<button type="button" class="btn btn-primary" data-dismiss="modal" style="margin: 0;margin-left: 4px;width:50%; background-color:grey !important; color:white;"><?= ucwords(lang('no'));?></button>
<a class="btn btn-secondary" style="width:50%; background-color:<?= $primary_colortheme;?> !important; color:white;margin: 0;" href="<?= base_url() . 'payment/bank_transfer_processing/bca/' . $order_id; ?>"><?= ucwords(lang('yes'));?></a>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php if($mandiri_is_active == 1) : ?>
<!-- Modal Mandiri -->
<div class="modal fade" id="myModalMandiri" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content PayMent">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle"><?= ucwords(lang('mandiri'));?></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p><?= ucwords(lang('continue_mandiri'));?> ?
</div>
<div class="modal-footer" style="align-items: center;display: flex;text-align: center;">
<button type="button" class="btn btn-primary" data-dismiss="modal" style="margin: 0;width:50%; background-color:grey !important; color:white;"><?= ucwords(lang('no'));?></button>
<a class="btn btn-secondary" style="margin: 0;width:50%; background-color:<?= $primary_colortheme;?> !important; color:white;" href="<?= base_url() . 'payment/bank_transfer_processing/mandiri/' . $order_id; ?>"><?= ucwords(lang('yes'));?></a>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div class="modal fade" id="myModalTOC" role="dialog" style="display: none;">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"><?= ucwords(lang('term_condition'));?></h4>
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<?php
$this->db->select('toc')->from('toc')->where('id_toc', 1);
$toc = $this->db->get()->row()->toc;
echo $toc;
?>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" style="color:white;"><?= ucwords(lang('close'));?></button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>