PHP Classes

File: views/spay/success.php

Recommend this page to a friend!
  Classes of jimie josh   Spay   views/spay/success.php   Download  
File: views/spay/success.php
Role: Auxiliary script
Content type: text/plain
Description: success view file
Class: Spay
Process SimplePay payments with CodeIgniter
Author: By
Last change:
Date: 8 years ago
Size: 413 bytes
 

Contents

Class file image Download
<?php

<h2>Transaction Successfully</h2>
<
p>You will be redirected in <span id="counter">10</span> second(s).</p>
<
script type="text/javascript">
function
countdown() {
    var
i = document.getElementById('counter');
    if (
parseInt(i.innerHTML)<=0) {
       
location.href = '<?php echo base_url(); ?>';
    }
   
i.innerHTML = parseInt(i.innerHTML)-1;
}
setInterval(function(){ countdown(); },1000);
</
script>