SkidSec WebShell

Server Address : 2a02:4780:a:760:0:37cc:13e2:3

Web Server : LiteSpeed

Uname : Linux uk-fast-web660.main-hosting.eu 5.14.0-570.55.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 21 05:27:51 EDT 2025 x86_64

PHP Version : 7.4.33



Current Path : /home/u936121314/domains/acoverseas.com/public_html/includes/



Current File : /home/u936121314/domains/acoverseas.com/public_html/includes/popular.php
<?php
// expects $popularObj instantiated in header (we will include class there)
if(!isset($popularObj)){
    include_once __DIR__."/../backend/classes/Popular.php";
    $popularObj = new Popular();
}
$popularItems = $popularObj->getActivePopular(3);
?>
<div class="popular-product">
    <div class="container">
        <div class="row">
            <?php if($popularItems){ while($item = mysqli_fetch_assoc($popularItems)){ ?>
            <div class="col-12 col-md-6 col-lg-4 mb-4 mb-lg-0">
                <div class="product-item-sm d-flex">
                    <div class="thumbnail">
                        <img src="<?php echo 'images/others/'.htmlspecialchars($item['image'], ENT_QUOTES);?>" alt="Image" class="img-fluid">
                    </div>
                    <div class="pt-3">
                        <h3><?php echo htmlspecialchars($item['title'], ENT_QUOTES);?></h3>
                        <p><?php echo htmlspecialchars($item['description'], ENT_QUOTES);?></p>
                        <?php if(!empty($item['link'])){ ?>
                        <p><a href="<?php echo htmlspecialchars($item['link'], ENT_QUOTES);?>">Read More</a></p>
                        <?php } ?>
                    </div>
                </div>
            </div>
            <?php } } ?>
        </div>
    </div>
</div>