JezK
Edit File: temp-payment.php
<?php get_header(); $gateway = @$_GET['gateway']; $invoice = @$_GET['id']; $redirect = @$_GET['redirect']; $t = $oketheme['translate']; // If payment gateway Tripay if ($gateway == 'tripay') { include('functions/inc/tripay/tripay.php'); } // If payment gateway Paypal else if ($gateway == 'paypal') { include('functions/inc/paypal/paypal.php'); } // Else direct to homepage else { ?> <meta http-equiv="Refresh" content="5;url=<?php echo home_url(); ?>"> <div id="headback"> <div class="titleheader"> <?php if ($t == 'id') { echo '<h1>Opsss... Maaf!</h1><p>Seharusnya Anda tidak berada di halaman ini...</p>'; } else { echo '<h1>Opsss... Sorry!</h1><p>You should not be on this page...</p>'; } ?> </div> </div> <div id="conwrap"> <?php if ($t == 'id') { ?> <div class="wrap-post" style="text-align:center"> <h2>Anda akan diarahkan ke halaman beranda dalam beberapa detik...</h2> <img src="<?php echo get_template_directory_uri(); ?>/images/loading.gif"><br/> Apabila tidak berhasil diarahkan, silahkan <a href="<?php echo home_url(); ?>">klik disini</a> </div> <p align="center" style="margin-top:40px"> Bila ada pertanyaan, silahkan hubungi <a href="#kontak" data-fancybox="kontak" class="pop">layanan pelanggan</a> kami. </p> <?php } else { ?> <div class="wrap-post" style="text-align:center"> <h2>You'll be redirected to the home page in a few seconds...</h2> <img src="<?php echo get_template_directory_uri(); ?>/images/loading.gif"><br/> If it is not successfully directed, please <a href="<?php echo home_url(); ?>">click here</a> </div> <p align="center" style="margin-top:40px"> If you have any questions, please <a href="#kontak" data-fancybox="kontak" class="pop">contact</a> our customer service. </p> <?php } ?> </div> <?php } get_footer(); ?>