MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.119.120.59
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/.wp-cli/../loveitchocoiza.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/.wp-cli/../loveitchocoiza.com/product-details.php
<?php
    include_once('admin/config.php');
    $slug_name = $_GET['slug_url'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tbl_services` WHERE `slug_url`='$slug_name'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
 }
?>
<!doctype html>
<html class="no-js" 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
    if (isset($datadt["meta_title"]) && !empty($datadt["meta_title"])) {
        echo $datadt["meta_title"];
    } else { 
        echo $datadt["name"];
    }
    ?>
   </title>
   <meta name="description" content="<?php echo $datadt["meta_desc"];?>">
   <?php include "top-links.php";?>

</head>

<body>
    <?php include "header.php";?>
    
    <div class="breadcrumbs-area position-relative">
        <div class="container">
            <div class="row">
                <div class="col-12 text-center">
                    <div class="breadcrumb-content position-relative section-content">
                        <h1 class="title-3"><?php echo $datadt["name"];?></h1>
                        <ul>
                            <li><a href="<?php echo $wspath;?>">Home</a></li>
                            <li><?php echo $datadt["name"];?></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
        
    <div class="single-product-main-area">
        <div class="container container-default custom-area">
            <div class="row">
                <div class="col-lg-5 offset-lg-0 col-md-8 offset-md-2 col-custom">
                    <div class="product-details-img">
                        <div class="single-product-img swiper-container gallery-top popup-gallery">
                            <div class="swiper-wrapper">
                                <div class="swiper-slide">
                                    <!--<a class="w-100" href="<?php echo $wspath;?>admin/images/property-image/<?php echo $datadt['image'];?>">-->
                                    <img class="w-100" src="<?php echo $wspath;?>admin/images/property-image/<?php echo $datadt['image'];?>" alt="<?php echo $datadt["name"];?>" title="<?php echo $datadt["name"];?>">
                                    <!--</a>-->
                                </div>
                                <?php
                                    $prodid=$datadt['id'];
                                    $sqlgall = "SELECT * FROM `tbl_image` WHERE tour_id=$prodid ORDER BY p_id";
                                    $rungall = mysqli_query($db,$sqlgall) or die("Query Not run");
                                    if(mysqli_num_rows($rungall) > 0){
                                    while($datagall = mysqli_fetch_assoc($rungall)){
                                ?>
                                <div class="swiper-slide">
                                    <!--<a class="w-100" href="<?php echo $wspath;?>admin/images/gallery/<?php echo $datagall['image']?>">-->
                                    <img class="w-100" src="<?php echo $wspath;?>admin/images/gallery/<?php echo $datagall['image']?>" alt="<?php echo $datagall['img_title']?>" title="<?php echo $datagall['img_title']?>">
                                    <!--</a>-->
                                </div>
                                <?php
                                    }
                                } else {
                                }
                                ?>
                            </div>
                        </div>
                        <div class="single-product-thumb swiper-container gallery-thumbs">
                            <div class="swiper-wrapper">
                                <?php
                                    $prodid=$datadt['id'];
                                    $sqlgall = "SELECT * FROM `tbl_image` WHERE tour_id=$prodid ORDER BY p_id";
                                    $rungall = mysqli_query($db,$sqlgall) or die("Query Not run");
                                    if(mysqli_num_rows($rungall) > 0){
                                    while($datagall = mysqli_fetch_assoc($rungall)){
                                ?>
                                <div class="swiper-slide">
                                    <img src="<?php echo $wspath;?>admin/images/gallery/<?php echo $datagall['image']?>" alt="<?php echo $datagall['img_title']?>" title="<?php echo $datagall['img_title']?>">
                                </div>
                                <?php
                                    }
                                } else {
                                }
                                ?>
                            </div>
                            <!-- Add Arrows -->
                            <div class="swiper-button-next swiper-button-white"><i class="lnr lnr-arrow-right"></i></div>
                            <div class="swiper-button-prev swiper-button-white"><i class="lnr lnr-arrow-left"></i></div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-7 col-custom">
                    <div class="product-summery position-relative">
                        <div class="product-head mb-3">
                            <h2 class="product-title"><?php echo $datadt["name"];?></h2>
                        </div>
                        <div class="price-box mb-2">
                            <span class="regular-price">₹<?php echo $datadt["price"];?></span>
                            <span class="old-price"><del>₹<?php echo $datadt["mrp"];?></del></span>
                        </div>
                        <div class="product-rating mb-3">
                            <i class="fa fa-star"></i>
                            <i class="fa fa-star"></i>
                            <i class="fa fa-star"></i>
                            <i class="fa fa-star"></i>
                            <i class="fa fa-star"></i>
                        </div>
                        <!--<p class="desc-content mb-5">-->
                            <?php echo $datadt["desc"];?>
                        <!--</p>-->
                        <div class="quantity-with_btn mb-5">
                            <div class="add-to_cart">
                                <a class="btn flosun-button secondary-btn secondary-border rounded-0" href="<?php echo $wspath;?>enquiry.html">Enquiry Now</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <?php include "home-products1.php";?>
    
    <?php include "footer.php";?>


</body>



</html>

MMCT - 2023