MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 13.58.201.240
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/biocareaqua.org/../sainicraneservice.in/../leetcoaching.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/biocareaqua.org/../sainicraneservice.in/../leetcoaching.co.in/service-details.php
<?php
    include_once('site-main-query.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);
//  }
   $slug_name = $_REQUEST['slug_url'];
   $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="zxx">

<meta http-equiv="content-type" content="text/html;charset=UTF-8" />

<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <title><?= str_replace("LOCATION",$location,$datadt["meta_title"]);?></title>
    <meta name="description" content="<?= str_replace("LOCATION",$location,$datadt["meta_desc"]);?>">
    <?php include "top-link.php" ?>
    <style>
    table p{
        border:1px solid black;
        padding:4px 4px !important;
        /*padding-bottom:0px !important;*/
         border-collapse: separate;
    }
    table span{
        /*border:1px solid black;*/
        padding:4px 4px !important;
        /*padding-bottom:0px !important;*/
         border-collapse: separate;
    }
        #sidebarContainer {
    position: sticky !important;
    top: 20px; /* Adjust as needed */
}
.it-evn-details-text p span{
    line-height:1.5px !important;
}
table th{
    background: #000080;
}
table th p span span {
    color: #fefefe;
}
    </style>
</head>

<body>

    <?php include "header.php" ?>

    <main>
        <div class="it-breadcrumb-area it-breadcrumb-bg" data-background="<?php echo $wspath?>assets/img/breadcrumb/breadcrumb.jpg">
            <div class="container">
                <div class="row ">
                    <div class="col-md-12">
                        <div class="it-breadcrumb-content z-index-3 text-center">
                            <div class="it-breadcrumb-title-box">
                                <h1 class="it-breadcrumb-title"><?php echo $datadt['name'];?></h1>
                            </div>
                            <div class="it-breadcrumb-list-wrap">
                                <div class="it-breadcrumb-list">
                                    <span><a href="<?php echo $wspath?>">home</a></span>
                                    <span class="dvdr">//</span>
                                    <span><?php echo $datadt['name'];?></span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>


        <div class="it-course-details-area pt-120 pb-100">
           
            <div class="container">
                <div class="row" style="overflow-x: auto !important;">
                    <div class="col-xl-12 col-lg-12">
                        <div class="it-course-details-wrap">
                            <div class="it-evn-details-thumb mb-35">
                                <img src="<?php echo $wspath?>admin/images/property-image/<?php echo $datadt['image'];?>" alt="<?php echo $datadt['name'];?>" title="<?php echo $datadt['name'];?>">
                            </div>
                            <div class="it-evn-details-rate mb-15">
                                Justdial
                                <span>
                                    <i class="fa-sharp fa-solid fa-star"></i>
                                    <i class="fa-sharp fa-solid fa-star"></i>
                                    <i class="fa-sharp fa-solid fa-star"></i>
                                    <i class="fa-sharp fa-solid fa-star"></i>
                                    <i class="fa-regular fa-star"></i>
                                    (4.9)
                                </span><br>
                                 <!--/-->
                                 Google
                                <span>
                                    <i class="fa-sharp fa-solid fa-star"></i>
                                    <i class="fa-sharp fa-solid fa-star"></i>
                                    <i class="fa-sharp fa-solid fa-star"></i>
                                    <i class="fa-sharp fa-solid fa-star"></i>
                                    <i class="fa-regular fa-star"></i>
                                    (4.8)
                                </span>
                            </div>
                            <div>
                            <h4 class="it-evn-details-title mb-0 pb-5"><?php echo $datadt['name'];?> </h4>
                             <a href="<?php echo $wspath?>enroll-now.html" class="it-btn  text-center mb-10">
                                     <span>
                                         Enroll Now
                                         <svg width="17" height="14" viewBox="0 0 17 14" fill="none" xmlns="http://www.w3.org/2000/svg">
                                             <path d="M11 1.24023L16 7.24023L11 13.2402" stroke="currentcolor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path>
                                             <path d="M1 7.24023H16" stroke="currentcolor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path>
                                         </svg>
                                     </span>
                                 </a>
                               
                            <div class="postbox__meta">
                                <!--<span><i class="fa-light fa-file-invoice"></i>Lesson 10+</span>-->
                                <span><i class="fa-light fa-clock"></i>Mon - Sat</span>
                                <!--<span><i class="fa-light fa-user"></i>Students 6 Only</span>-->
                            </div>
                            <div class="it-course-details-nav pb-60">
                                <nav>
                                    <div class="nav nav-tab" id="nav-tab" role="tablist">
                                        <button class="nav-link active" id="nav-home-tab" data-bs-toggle="tab" data-bs-target="#nav-home" type="button" role="tab" aria-controls="nav-home" aria-selected="true">Overview</button>
                                        <button class="nav-link" id="nav-contact-tab" data-bs-toggle="tab" data-bs-target="#nav-contact" type="button" role="tab" aria-controls="nav-contact" aria-selected="false">Instructor</button>
                                        <button class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" data-bs-target="#nav-profile" type="button" role="tab" aria-controls="nav-profile" aria-selected="false">Curriculum</button>
                                        <button class="nav-link" id="nav-profile-tab" data-bs-toggle="tab" data-bs-target="#nav-video" type="button" role="tab" aria-controls="nav-video" aria-selected="false">Video</button>
                                    </div>
                                </nav>
                            </div>
                            <div class="it-course-details-content">
                                <div class="tab-content" id="nav-tabContent">
                                    <!--overview-->
                                    <div class="tab-pane fade show active" id="nav-home" role="tabpanel" aria-labelledby="nav-home-tab">
                                        <div class="it-course-details-wrapper">
                                            <div class="it-evn-details-text mb-40">
                                                <h6 class="it-evn-details-title-sm pb-5">Course Description</h6>
                                                <!--<p>-->
                                                    <?php echo $datadt['desc'];?>
                                                <!--</p>-->
                                            </div>
                                        </div>
                                    </div>
                                    <!--Curriculum-->
                                    <div class="tab-pane fade" id="nav-profile" role="tabpanel" aria-labelledby="nav-profile-tab">
                                        <div class="it-course-details-wrapper">
                                            <div class="it-faq-area p-relative ">
                                                <div class="container">
                                                    <div class="row">
                                                        <div class="col-12">
                                                            <div class="it-faq-wrap">
                                                                <div class="it-custom-accordion it-custom-accordion-style-3">
                                                                    <div class="accordion" id="accordionExample">
                                                                        <?php
                                                                            $id = $datadt['id'];
                                                                            $sqlfaq = "SELECT * FROM `tbl_faqs` WHERE t_id='$id'";
                                                                            $runfaq = mysqli_query($db, $sqlfaq) or die("Query Not run");
                                                                            $count=0;
                                                                            while($datafaq = mysqli_fetch_assoc($runfaq)){
                                                                            $count++;
                                                                        ?>
                                                                        <!--<div class="accordion-items tp-faq-active">-->
                                                                        <div class="accordion-items">
                                                                            <h2 class="accordion-header" id="heading<?php echo $count;?>">
                                                                                <button class="accordion-buttons collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse<?php echo $count;?>" aria-expanded="false" aria-controls="collapse<?php echo $count;?>">
                                                                                    <?php echo $datafaq['question'];?>
                                                                                </button>
                                                                            </h2>
                                                                            <div id="collapse<?php echo $count;?>" class="accordion-collapse collapse" aria-labelledby="heading<?php echo $count;?>" data-bs-parent="#accordionExample">
                                                                                <div
                                                                                    class="accordion-body d-flex align-items-center">
                                                                                    <p class="mb-0"><?php echo $datafaq['answer'];?></p>
                                                                                    <!--<img class="d-none d-xl-block" src="assets/img/faq/thumb-1.jpg" alt>-->
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                        <?php } ?>
                                                                        
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--Instructor-->
                                    <div class="tab-pane fade" id="nav-contact" role="tabpanel"
                                        aria-labelledby="nav-contact-tab">
                                        <div class="it-course-details-wrapper">
                                            <div class="container">
                                                <div class="row">
                                                    <?php
                                                        $service_id=$datadt['id'];
                                                        $sql_check_submission = "SELECT spots_tour FROM `tbl_services` WHERE id = $service_id";
                                                        $run_check_submission = mysqli_query($db, $sql_check_submission) or die("Query Not run");
                                                        while ($row_check_submission = mysqli_fetch_assoc($run_check_submission)) {
                                                            $submitted_spots_ids = explode(',', $row_check_submission['spots_tour']);
                                                        }
                                                        if (!empty($submitted_spots_ids)) {
                                                            $submitted_spots_string = implode(',', $submitted_spots_ids);
                                                            $sqlsp = "SELECT * FROM `tbl_tourspots` WHERE spots_id IN ($submitted_spots_string)";
                                                            $runsp = mysqli_query($db, $sqlsp) or die("Query Not run");
                                                            while ($datasp = mysqli_fetch_assoc($runsp)) {
                                                            $spot_id = $datasp['spots_id'];
                                                    ?>
                                                    <div class="col-lg-6">
                                                        <img src="<?php echo $wspath?>admin/images/places/<?php echo $datasp['spots_image']; ?>" alt="<?php echo $datasp['spots_name']; ?>" title="<?php echo $datasp['spots_name']; ?>">
                                                    </div>
                                                    <div class="col-lg-6">
                                                        <h2><?php echo $datasp['spots_name']; ?></h2>
                                                        <p><?php echo $datasp['spots_detail']; ?></p>
                                                    </div>
                                                    <?php
                                                        }
                                                    } else {
                                                        echo "No Data Found.";
                                                    }
                                                    ?>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--video-->
                                    <div class="tab-pane fade" id="nav-video" role="tabpanel" aria-labelledby="nav-video-tab">
                                        <div class="it-course-details-wrapper">
                                            <div class="it-evn-details-text mb-40">
                                                <h6 class="it-evn-details-title-sm pb-5">Course Video</h6>
                                                <!--<p>-->
                                                <iframe width="100%" height="400" src="<?php echo $datadt['mrp'];?>" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
                                                    
                                                <!--</p>-->
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                
            </div>
             <a href="<?php echo $wspath?>enroll-now.html" class="it-btn  text-center mb-10">
                                     <span>
                                         Enroll Now
                                         <svg width="17" height="14" viewBox="0 0 17 14" fill="none" xmlns="http://www.w3.org/2000/svg">
                                             <path d="M11 1.24023L16 7.24023L11 13.2402" stroke="currentcolor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path>
                                             <path d="M1 7.24023H16" stroke="currentcolor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path>
                                         </svg>
                                     </span>
                                 </a>
        </div>
        
        
          <?php
          include("home-testimonal.php");
          ?>
    
    </main>

    <?php include "footer.php" ?>

    
</body>

</html>

MMCT - 2023