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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/joshidiagnosticcentre.com/package-detail.php
<?php
   include('admin/config.php');
   if(isset($_POST['submit'])) 
   { 
       $name = $_POST['name'];
       $phone = $_POST['phone'];
       $service = $_POST['service'];

        $sql= " INSERT INTO `consultant_page`(`name`, `phone`, `service`) VALUES ('$name','$phone','$service')";
       // echo "<br> <h1>No image</h1>";
   
       $result = mysqli_query($db, $sql) or die("Query unsuccessful");
       // echo "<br> <h1>No image</h1>";
   
       if($result){
         echo ("<script>
          window.alert('Succesfully Send');
          window.location.href='index.html';
          </script>");
        
          mysqli_close($db);
       }else{
       //    
       echo "Not Submitted";
       }
    }
?>
<?php
    $slug_name = $_GET['url_link'];
    if(isset($_SERVER['PATH_INFO'])){
    $slug_name=$_SERVER['PATH_INFO'];
    $querydt="SELECT * FROM `tbl_package` WHERE `url_link`='$slug_name'";
    $rundt = mysqli_query($db,$querydt) or die("Query Not run");
    $datadt = mysqli_fetch_assoc($rundt);
 }
?>
<!doctype html>
<html class="" lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>
    <?php
if (isset($datadt["meta_title"]) && !empty($datadt["meta_title"])) {
    echo $datadt["meta_title"];
} else {
    echo $datadt["package_name"];
}
?></title>
    <meta name="description" content="<?php echo $datadt["meta_desc"];?>">
    <?php include "top-links.php";?>
</head>

<body>
    <!-- header  -->
    <?php include "header.php";?>
    
    <section class="bg-cover py-3 py-md-4 py-lg-5" style="background-image: url('<?php echo $wspath ?>images/<?php echo $datadt["img1"];?>')">
        <div class="container">
            <div class="row">
                
                <div class="col-lg-6 col-xl-7 d-flex">
                    <div class="w-100 my-auto">
                        <h1 class="font-alt text-center text-lg-left display-4 mb-3 mb-lg-5" style="font-size:50px;">
                            <span class="bg-primary text-white px-3"><?php echo $datadt["package_name"];?> In ₹<?php echo $datadt['benefits'];?>/-</span>
                            <br>
                        </h1>
                        <!--<div class="bg-black-50 text-white rounded-lg p-4 mb-3 mb-lg-5">-->
                        <!--    <h2 class="text-uppercase"><strong>In-home female attendants for caretaking</strong></h2>-->
                        <!--    <p class="lead">12/24 hours trained and experienced female attendants at home for patient and older caretaking all over India at reasonable costs. We couldn't want anything more than to help you, have a discussion with our expert over quick Phone call.</p>-->
                        <!--    <p class="lead mb-0">For more information, get a callback and discuss your requirement.</p>-->
                        <!--</div>-->
                        <div class="btn-toolbar">
                            <a onclick="gtag_report_conversion();" class="btn btn-secondary btn-lg text-uppercase px-5 py-3" href="tel:<?php echo $data['phone'];?>">Call Us</a>
                            <a class="btn btn-light btn-lg text-uppercase ml-2 px-5 py-3" href="<?php echo $wspath?>contact.html" type="button">Enquire</a>
                        </div>
                        <div class="container">
                            <ol class="breadcrumb">
                                <li class="breadcrumb-item"><a href="<?php echo $wspath ?>">Home</a></li>
                                <li class="breadcrumb-item active"><?php echo $datadt["package_name"];?></li> 
                            </ol>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <section class="bg-light py-3 py-md-4 py-lg-5">
        <div class="container">
            <div class="row">
                <!--<div class="col-lg-12">-->
                <!--    <div class="mb-3 mb-lg-0">-->
                <!--        <img alt="Hire attendants for Elderly Care" class="img-fluid" src="<?php echo $wspath ?>images/<?php echo $datadt["img1"];?>">-->
                <!--    </div>-->
                <!--</div>-->
                <div class="col-lg-12">
                    <h3 class="mb-3 mb-lg-4 mb-lg-5">
                        <a class="text-primary" ><?php echo $datadt["package_name"];?>
                        </a>
                    </h3>
                    <p><?php echo $datadt["package_description"];?></p>
                    <div class="btn-toolbar">
                        <a onclick="gtag_report_conversion();" class="btn btn-primary btn-lg" href="tel:<?php echo $data['phone'];?>">
                            <i class="fas fa-phone-alt mr-1"></i> Call Us
                        </a>
                        <a class="btn btn-dark btn-lg ml-2" href="<?php echo $wspath?>contact.html" type="button">
                            Enquire <i class="fas fa-arrow-right ml-1"></i>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </section>
    
    <!-- footer start  -->
    <?php include "footer.php";?>

</body>

</html>

MMCT - 2023