Server IP : 51.89.169.208 / Your IP : 216.73.216.57 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 : |
<?php $path = $_SERVER['DOCUMENT_ROOT']; include_once $path . '/connect_db.php'; include 'accesscontrol.php'; header('Content-Type: text/html; charset=utf-8'); // 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=UTF-8"> <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"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>YellowLeaf UK</title> <style> section { padding: 64px 0; } .section-title { font-size: 36px; font-weight: 600; text-align: center; } .section-description { text-align: center; font-size: 18px; } .text-center { text-align: center; } header { padding: 64px 0; background-image: url(/img/postbusiness7-bg.jpg); position: relative; } header::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, .5); } header::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 300px; background-color: var(--white); } header .container { position: relative; z-index: 10; } header h1 { font-size: 40px; text-align: center; font-weight: 600; color: #fff; } header h2 { font-size: 24px; text-align: center; font-weight: 400; margin-bottom: 48px; color: #fff; } .features-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; } .features-wrapper > * { padding: 20px; border-radius: 6px; box-shadow: 0 4px 8px rgba(0, 0, 0, .07); background-color: var(--white); border: 1px solid var(--gray); } .features-item { display: flex; align-items: center; margin-bottom: 24px; } .features-item img { margin-right: 16px; width: 32px; flex-shrink: 0; } .features-item h3 { font-size: 18px; font-weight: 500; } .features-item p { font-size: 14px; } .payment-wrapper { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; gap: 24px; } .payment-wrapper > * { padding: 20px; background-color: var(--gray); border-radius: 6px; } .payment-price { background-color: var(--yellow); padding: 8px 16px; text-align: center; font-size: 20px; box-shadow: -20px 0 0 var(--yellow), 20px 0 0 var(--yellow); position: relative; } .payment-price span { font-weight: 600; } .payment-wrapper > :first-child .payment-price::before { content: ''; position: absolute; width: 20px; height: 20px; left: -30px; top: -10px; transform: rotateZ(45deg); background-color: var(--black); z-index: -1; } .payment-wrapper > :first-child .payment-price::after { content: ''; position: absolute; width: 40px; height: 100%; transform: skewX(18deg); left: -27px; top: 0; background-color: var(--yellow); } .payment-wrapper > :last-child .payment-price::before { content: ''; position: absolute; width: 20px; height: 20px; right: -30px; top: -10px; transform: rotateZ(45deg); background-color: var(--black); z-index: -1; } .payment-wrapper > :last-child .payment-price::after { content: ''; position: absolute; width: 40px; height: 100%; transform: skewX(-18deg); right: -27px; top: 0; background-color: var(--yellow); } .payment-feature-list { margin: 24px 0; } .payment-feature-list > * { display: flex; align-items: center; margin-bottom: 16px; } .payment-feature-list > * img { width: 18px; margin-right: 12px; flex-shrink: 0; } .popup-title { display: flex; align-items: center; justify-content: space-between; } .popup-title h2 { font-size: 18px; font-weight: 500; } .popup-close { border: 1px solid var(--gray); width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 18px; cursor: pointer; outline: none; background-color: transparent; } @media screen and (max-width: 767px) { .payment-wrapper, .features-wrapper { grid-template-columns: 1fr; } .payment-price::after, .payment-price::before { display: none; } } </style> </head> <body> <?php include_once $path . '/header-footer/header.php'; ?> <header> <div class="container"> <h1>Get New Customers To Your Business</h1> <h2>Advertise Your Business in <span id="js_change"></span></h2> <div class="features-wrapper"> <div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>LASTS FOREVER</h3> <p>Your business listing on YellowLeaf will never expire.</p> </div> </div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>INSTANT CHANGES</h3> <p>Instantly change your business advert on YellowLeaf without any hassle or confusion.</p> </div> </div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>BUSINESS PROFILE</h3> <p>Become more known and build your reputation on the web.</p> </div> </div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>PHOTO UPLOAD</h3> <p>YellowLeaf provides you the opportunity to promote your business with photos.</p> </div> </div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>SEARCH ENGINE OPTIMISED</h3> <p>Get found on search engines, your business advert will be search engine optimised.</p> </div> </div> </div> <div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>LINK TO YOUR WEBSITE</h3> <p>If you have a website, promote it free. Get a free link to your website, increase exposure to your website.</p> </div> </div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>SOCIAL LINKS</h3> <p>Increase your business popularity by promoting all of your major social links of your business from Facebook, Twittier and many more.</p> </div> </div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>PROMOTIONS FACILITY</h3> <p>Does your business have promotions to offer to your customers? Add UNLIMITED amount of promotions.</p> </div> </div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>BOOST YOUR SALES</h3> <p>Advertise with YellowLeaf and increase your exposure and boost your sales.</p> </div> </div> <div class="features-item"> <img src="/img/tick_medium.png" alt=""> <div> <h3>LOCALLY TARGETED ADS</h3> <p>Your advert will be targeted to particular users that are located near you.</p> </div> </div> </div> </div> </div> </header> <section> <div class="container"> <h2 class="section-title">Advertise Your Business</h2> <p class="section-description">One-off payment - Lasts a lifetime</p> <div class="payment-wrapper"> <div> <div class="payment-price"><span>£0</span> /Free Submission</div> <ul class="payment-feature-list"> <li> <img src="/img/tick_medium.png" alt=""> <p>Get Full Listing Page</p> </li> <li> <img src="/img/tick_medium.png" alt=""> <p>Plain advert</p> </li> <li> <img src="/img/tick_medium.png" alt=""> <p>Appears below premium listings in search</p> </li> <li> <img src="/img/tick_medium.png" alt=""> <p>Approval rate: low</p> </li> <li> <img src="/img/tick_medium.png" alt=""> <p>Approval time: Indefinite</p> </li> </ul> <div class="text-center"> <a href="/members/" class="btn btn-yellow">Submit Business</a> </div> </div> <div> <div class="payment-price"><span>£14.95</span> /Express Submission</div> <ul class="payment-feature-list"> <li> <img src="/img/tick_medium.png" alt=""> <p>Get Full Listing Page</p> </li> <li> <img src="/img/tick_medium.png" alt=""> <p>Distinct gold advert</p> </li> <li> <img src="/img/tick_medium.png" alt=""> <p>Always appear above standard listings</p> </li> <li> <img src="/img/tick_medium.png" alt=""> <p>Approval rate: 100%</p> </li> <li> <img src="/img/tick_medium.png" alt=""> <p>Approval time: Instant</p> </li> </ul> <div class="text-center"> <button type="button" onclick="package(<?= $price ?>);return false;" class="btn btn-yellow">Advertise My Business</button> </div> </div> </div> </div> </section> <div class="popup" id="popup"> <div class="popup-dialog"> <div class="popup-content"> <div class="popup-title"> <h2>Checkout</h2> <button class="popup-close" id="popup-close">×</button> </div> <div id="paypal-button" style="width:250px;margin:24px auto;"></div> </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" /> <?php include_once $path . '/header-footer/footer.php'; ?> <!-- 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> <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); }; el('popup-close').onclick = function() { el('popup').style.display = "none"; } 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> </body> </html>