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/  Your IP : 216.73.217.98   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux in-mum-web1275.main-hosting.eu 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64
User : u215115003 ( 215115003)
PHP Version : 8.1.34
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u215115003/domains/luxurymotorz.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/u215115003/domains/luxurymotorz.com/public_html/bike-brands.php
<?php

require_once ('config/config.inc.php');



$sql = "SELECT * FROM bike_brands WHERE bike_brand_status=:status";

$product_st = $DB->prepare($sql);

$product_st->bindValue(":status", 'Active');

$product_st->execute();

$brand_rs = $product_st->fetch();

if (empty($brand_rs)) {

    header('Location:' . MAIN_DIR . "404/");

}

include "include/header.inc.php" ?>

<link rel="stylesheet" href="<?= MAIN_DIR ?>assets/css/product.css">

<div class="inner-page-banner">

    <div class="banner-wrapper">

        <div class="container-fluid">

            <div class="banner-main-content-wrap">

            </div>

        </div>

    </div>

</div>



<?php

$varient_filter_sql = "SELECT v.*, v.bike_model_name AS bike_model_name, b.bike_brand_name AS bike_brand_name FROM bike_brands as b INNER JOIN bike_varients as v ON v.bike_brand_id = b.bike_brand_id WHERE v.bike_varient_status='Active'";

$varient_filter_stmt = $DB->prepare($varient_filter_sql);

$varient_filter_stmt->execute();

$varient_filter_rs = $varient_filter_stmt->fetchAll();

?>

<?php if (!empty($varient_filter_rs)) { ?>

    <section class="most-search-area mb-100">

        <div class="container">

            <div class="row">
                <div class="col-lg-12">
                    <div class="section-title mb-25 pt-20">

                        <h2 style="color:white;text-align: center;text-shadow: 2px 4px black;">Motorcycles</h2>

                    </div>

                    <div class="row g-4">

                        <?php foreach ($varient_filter_rs as $varient) { ?>

                            <div class="col-xl-4 col-lg-4 col-md-6 col-sm-12 wow fadeInUp">

                                <div class="listing-item new-arrival">
                                    <button class="fav1 compare-button" data-product-id="<?= $varient['bike_varient_id'] ?>">

                                        <i class="bi bi-heart-fill"></i>

                                    </button>
                                    <a href="<?= MAIN_DIR ?>bike-description/<?= $varient['bike_varient_id'] ?>/<?= $varient['slug'] ?>">
                                        <li class="product-card1">
                                            <span class="item-inner">

                                                <div class="slider-group">
                                                    <?php if ($varient['booked'] === "YES") { ?>

                                                        <div class="booked-img"><img
                                                                src="<?= MAIN_DIR ?>img/book-removebg-preview (1).png" alt="">

                                                        </div>

                                                    <?php } ?>

                                                    <div class="img-grpslider">

                                                        <div class="img-grp">
                                                            <img src="<?= MAIN_DIR ?>static/<?= $varient['bike_varient_image'] ?>"
                                                                alt="<?= $varient['bike_varient_name'] ?>">

                                                        </div>

                                                    </div>

                                                </div>

                                                <span class="cntnt-grp p-0">

                                                    <h6>

                                                        <?= $varient['bike_brand_name'] ?>

                                                        <?= $varient['bike_model_name'] ?>

                                                        <?= $varient['bike_varient_name'] ?>

                                                    </h6>

                                                    <span class="price-modelname">

                                                        <div class="price-latest">

                                                            <span class="total_price"
                                                            sellamount="<?= $varient['discounted_price'] ?>">

                                                                <?= '₹' . formatInr($varient['discounted_price']) ?>

                                                            </span>

                                                            <del>

                                                                <?= '₹' . formatInr($varient['original_price']) ?>

                                                            </del>

                                                        </div>

                                                        <span class="emiprice"><u>EMI STARTS @</u>
                                                        <span> <?= emi_amount($varient['discounted_price']) ?></span></span>

                                                    </span>

                                                    <ul class="list-items">

                                                        <li class="model s10">

                                                            <span class="li-innr button">

                                                                <span class="lbl"><img src="<?= MAIN_DIR ?>img/p5.png"
                                                                        style="width:20px;"></span>

                                                                <span class="val">

                                                                    <?= substr($varient['year'], 0, 4) ?>

                                                                </span>

                                                            </span>

                                                        </li>

                                                        <li class="kms s10">

                                                            <span class="li-innr button">

                                                                <span class="lbl"><img src="<?= MAIN_DIR ?>img/p6.jpg"
                                                                        style="width:20px;"></span>

                                                                <span class="val">

                                                                    <?= formatInr($varient['milage']) ?>

                                                                </span>

                                                            </span>

                                                        </li>

                                                        <li class="fueltype s10">

                                                            <span class="li-innr button">

                                                                <span class="lbl"><img src="<?= MAIN_DIR ?>img/p7.png"
                                                                        style="width:20px;"></span>

                                                                <span class="val">

                                                                    <?= $varient['fuel_type'] ?>

                                                                </span>

                                                            </span>

                                                        </li>

                                                        <li class="fueltype s10">

                                                            <span class="li-innr button owner">

                                                                <span class="lbl"><img src="<?= MAIN_DIR ?>img/p8.png"
                                                                        style="width:20px;"></span>

                                                                <span class="val">

                                                                    <?= $varient['no_of_owners'] ?>

                                                                </span>

                                                            </span>

                                                        </li>

                                                        <li class="fueltype s10">

                                                            <span class="li-innr button">

                                                                <span class="lbl"><img src="<?= MAIN_DIR ?>img/n6.png"
                                                                        style="width:20px;"></span>

                                                                <span class="val">

                                                                    <?= $varient['insurance'] ?>

                                                                </span>

                                                            </span>

                                                        </li>

                                                    </ul>

                                                </span>

                                            </span>
                                        </li>
                                    </a>
                                </div>

                            </div>

                        <?php } ?>

                    </div>
                </div>
            </div>

        </div>

    </section>

<?php } else { ?>

    <div class="error-page error-page1">

        <div class="container">

            <div class="row">

                <div class="col-lg-12">

                    <div class="error-wrapper">

                        <div class="error-content-area text-center">

                            <h1>Coming Soon</h1>

                        </div>

                    </div>

                </div>

            </div>

        </div>

    </div>

<?php } ?>

<!-- END - Listing Posts Section -->

<?php include "include/footer.inc.php" ?>

<script>
    document.addEventListener("DOMContentLoaded", () => {
        const compareButtons = document.querySelectorAll('.fav1.compare-button');
        const compareCountElement = document.getElementById('compare-count');
        const comparePageButton = document.getElementById('compare-page-button');

        // Initialize compared products from cookies
        let comparedProducts = getCookie('comparedProducts');
        try {
            comparedProducts = comparedProducts ? JSON.parse(decodeURIComponent(comparedProducts)) : [];
        } catch (e) {
            console.error('Error parsing comparedProducts cookie:', e);
            comparedProducts = [];
        }

        if (!Array.isArray(comparedProducts)) {
            comparedProducts = [];
        }

        console.log('comparedProducts:', comparedProducts);

        // Update initial compare count and button state on page load
        updateCompareButtonState();

        compareButtons.forEach(button => {
            const productId = button.dataset.productId;

            // Check if the product is already in the compare list
            if (comparedProducts.includes(productId)) {
                button.querySelector('i').style.color = 'red';
            }

            button.addEventListener('click', () => {
                if (button.querySelector('i').style.color === 'red') {
                    // Button is already selected, remove from compare
                    button.querySelector('i').style.color = 'white';

                    // Remove product from compare list
                    comparedProducts = comparedProducts.filter(id => id !== productId);
                } else {
                    // Button is not selected, add to compare
                    if (comparedProducts.length >= 3) {
                        alert('You can compare up to 3 products.');
                        return;
                    }
                    button.querySelector('i').style.color = 'red';

                    // Add product to compare list
                    comparedProducts.push(productId);
                }

                // Save compared products to cookies
                setCookie('comparedProducts', JSON.stringify(comparedProducts), 30); // 30 days expiration

                // Update compare count and button state in header
                updateCompareButtonState();
            });
        });

        function updateCompareButtonState() {
            compareCountElement.textContent = comparedProducts.length;

            // Enable or disable the compare button based on the number of products in the compare list
            if (comparedProducts.length >= 2) {
                comparePageButton.parentElement.setAttribute('href', '<?= MAIN_DIR ?>compare.php');
                comparePageButton.removeAttribute('disabled');
            } else {
                comparePageButton.parentElement.removeAttribute('href');
                comparePageButton.setAttribute('disabled', 'disabled');
            }
        }

        // Function to set a cookie
        function setCookie(name, value, days) {
            let expires = '';
            if (days) {
                let date = new Date();
                date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
                expires = "; expires=" + date.toUTCString();
            }
            document.cookie = name + "=" + (value || "") + expires + "; path=/";
        }

        // Function to get a cookie by name
        function getCookie(name) {
            let nameEQ = name + "=";
            let ca = document.cookie.split(';');
            for (let i = 0; i < ca.length; i++) {
                let c = ca[i];
                while (c.charAt(0) === ' ') {
                    c = c.substring(1, c.length);
                }
                if (c.indexOf(nameEQ) === 0) {
                    return c.substring(nameEQ.length, c.length);
                }
            }
            return null;
        }
    });
</script>

Anon7 - 2022
AnonSec Team