MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.15.31.27
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/yugayurvedaold.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/yugayurvedaold.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 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">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="author" content="">
    <meta name="keywords" content="">
    <meta name="description" content="">
     <?php include "top-links.php";?>
    <title><?php echo $datadt["meta_title"];?></title>
    <meta name="description" content="<?php echo $datadt["meta_desc"];?>">

   

</head>

<body>
    <div class="ps-page">
        <?php include "header.php";?>
        
      <div class="bread">
            <div class="container"> 
            <div class="title">
                <h1><?php echo $datadt['name']?></h1>
                <ul class="breadcrumb">
                  <li><a href="#">Home</a></li>
                  <li><?php echo $datadt['name']?></li>
                </ul>
            </div>
        </div>
      </div>
        
        
        <div class="container mt-3 mb-2">
            <div class="ps-page--product ps-page--product1">
            <div class="container">
                <div class="ps-page__content">
                    <div class="row">
                        <div class="col-12 ">
                            <div class="ps-product--detail">
                                <div class="row">
                                    <div class="col-12 col-xl-7">
                                        <div class="ps-product--gallery">
                                            <div class="ps-product__thumbnail">
                                                    <?php
                                                        $service_id = $datadt['id'];
                                                        $sqltimg = "SELECT * FROM tbl_image WHERE tour_id=$service_id";
                                                        $runtimg = mysqli_query($db,$sqltimg) or die("Query Not run");
                                                        while($datatimg = mysqli_fetch_assoc($runtimg)){
                                                    ?>
                                                <div class="slide"><img src="<?php echo $wspath?>admin/images/gallery/<?php echo $datatimg['image'];?>" alt="alt" /></div>
                                               <?php }?>
                                            </div>
                                            <div class="ps-gallery--image">
                                                      <?php
                                                        $service_id = $datadt['id'];
                                                        $sqltimg = "SELECT * FROM tbl_image WHERE tour_id=$service_id";
                                                        $runtimg = mysqli_query($db,$sqltimg) or die("Query Not run");
                                                        while($datatimg = mysqli_fetch_assoc($runtimg)){
                                                    ?>
                                                <div class="slide">
                                                    <div class="ps-gallery__item"><img src="<?php echo $wspath?>admin/images/gallery/<?php echo $datatimg['image'];?>" alt="alt" /></div>
                                                </div>
                                                <?php }?>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-12 col-xl-5">
                                        <div class="ps-product__info">
                                            <div class="ps-product__badge"><span class="ps-badge ps-badge--outstock">OUT OF STOCK</span>
                                            </div>
                                            <!--<div class="ps-product__branch"><a href="#">HeartRate</a></div>-->
                                            <div class="ps-product__title"><a href="#"><?php echo $datadt['name']?></a></div>
                                            <div class="ps-product__rating">
                                                <select class="ps-rating" data-read-only="true">
                                                    <option value="1">1</option>
                                                    <option value="2">2</option>
                                                    <option value="3">3</option>
                                                    <option value="4" selected="selected">4</option>
                                                    <option value="5">5</option>
                                                </select><span class="ps-product__review">(5 Reviews)</span>
                                            </div>
                                            <div class="ps-product__desc">
                                                <?php echo $datadt['short_desc']?>
                                            </div>
                                            <div class="ps-product__meta"><span class="ps-product__price sale">₹<?php echo $datadt['price'];?></span><span class="ps-product__del">₹<?php echo $datadt['mrp'];?></span></div>
                                            
                                           <div class="ps-promo">
                                                <a class="ps-promo__btn" href="<?php echo $wspath?>enquiry.html">Enquire Now</a>
                                                   <a class="ps-promo__btn" href="tel:<?php echo $data1["phone"];?>">Call Now</a>
                                           </div>
                                           
                                            <div class="ps-product__social">
                                                <ul class="ps-social ps-social--color">
                                                    <li><a class="ps-social__link facebook" href="#"><i class="fa fa-facebook"> </i><span class="ps-tooltip">Facebook</span></a></li>
                                                    <li><a class="ps-social__link twitter" href="#"><i class="fa fa-twitter"></i><span class="ps-tooltip">Twitter</span></a></li>
                                                    <li><a class="ps-social__link pinterest" href="#"><i class="fa fa-pinterest-p"></i><span class="ps-tooltip">Pinterest</span></a></li>
                                                    <li class="ps-social__linkedin"><a class="ps-social__link linkedin" href="#"><i class="fa fa-linkedin"></i><span class="ps-tooltip">Linkedin</span></a></li>
                                                    <li class="ps-social__reddit"><a class="ps-social__link reddit-alien" href="#"><i class="fa fa-reddit-alien"></i><span class="ps-tooltip">Reddit Alien</span></a></li>
                                                    <li class="ps-social__email"><a class="ps-social__link envelope" href="#"><i class="fa fa-envelope-o"></i><span class="ps-tooltip">Email</span></a></li>
                                                    <li class="ps-social__whatsapp"><a class="ps-social__link whatsapp" href="#"><i class="fa fa-whatsapp"></i><span class="ps-tooltip">WhatsApp</span></a></li>
                                                </ul>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                
                                
                                <!--long desc-->
                                <!--<div class="row row-reverse">-->
                                <!--                    <div class="col-12 col-md-6"><img class="ps-thumbnail" src="<?php echo $wspath?>admin/images/property-image/<?php echo $datadt['image'];?>" alt></div>-->
                                <!--                    <div class="col-12 col-md-6">-->
                                <!--                        <?php echo $datadt['desc']?>-->
                                <!--                    </div>-->
                                <!--                </div>-->
                                <!--long desc-->
                                
                                
                                
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </div>
        

        <?php include "footer.php";?>
    </div>
   
</body>


</html>

MMCT - 2023