MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.220.200.33
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/ariseelectrical.in/../deergham.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/ariseelectrical.in/../deergham.com/blog.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_blog` WHERE `slug_link`='$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 name=viewport content="width=device-width,initial-scale=1,minimum-scale=1">
    <meta http-equiv=X-UA-Compatible content="ie=edge">
    <?php include "top-links.php" ?>
    <title><?php echo $datadt["meta_title"];?></title>
    <meta name="description" content="<?php echo $datadt["meta_desc"];?>">
    
    <link rel="stylesheet" href="css/about.min.css">
    <link rel=stylesheet href=css/news2.min.css>
    <style>
        .title{
            text-align:center;
            padding-bottom:40px;    
            padding-top:13px;
        }
        img{
            border-radius:3%;
        }
        .service-list li{
            border:1px solid #beb5b5;
            background-color:#214842;
            color:#fefefe;
            padding-bottom:10px;
            text-align:center;
            padding:20px;
            border-radius:10px;
        }
        .service-list{
            margin-left:20px;
            margin-right:20px;
        }
        .service-list li:hover{
            background-color:#32665e;
            color:white;
            box-shadow:0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgb(88 110 122);
        }
        .title-h{
            text-align:center;
            margin-top: 40px;
        }
        @media only screen and (max-width: 600px) {
 .title-h{
            text-align:center;
            margin-top: 20px;
        }
}
        
    </style>
</head>

<body>
    
    <?php include "header.php" ?>

    <main class="news section">
        <header class="page" style="padding-top:;">
            <div class="page_main container-fluid">
                <div class="container">
                    <h1 class="page_header"><?php echo $datadt['title'] ?></h1>
                </div>
            </div>
            
            <div class="container">
                <ul class="page_breadcrumbs d-flex flex-wrap">
                    <li class="page_breadcrumbs-item"><a class="link" href="index.php">Home</a></li>
                    <li class="page_breadcrumbs-item current"><span><?php echo $datadt['title'] ?></span></li>
                </ul>
            </div>
        </header>
<div class="row">
    <div class="col-lg-3 title-h">
            <h3 style="padding-bottom: 20px;">Related Blogs</h3>
        <div class="single-sidebar service-sidebar">
             <?php
						    $selects = "SELECT * FROM tbl_blog";
							$querys = mysqli_query($db,$selects);
							while($datas = mysqli_fetch_assoc($querys)){
						?>
            <ul class="service-list">
               <li><a href="<?php echo $wspath?>blog<?php echo $datas['slug_link']?>.html"><?php echo $datas['title'] ?></a></li>
            </ul>
            <?php }?>
        </div> 
    </div>
    <div class="col-lg-9">
        <div class="container">
            <div class="title">
            <h2><?php echo $datadt['title'];?></h2>
            <p class="page_text">Join us on a journey of flavor and wellness, making conscious choices for your health without compromising on the joy of culinary exploration.</p>
            </div>
            <div class="imga">
                <img src="../admin/images/property-image/<?php echo $datadt['image'];?>" width="100%">
                </div>
                <div style="padding-top:50px;">
                        <p>
                            <?php echo $datadt['short_description'];?>
                        </p>
                        <p>
                            <?php echo $datadt['description'];?>
                        </p>
                </div>
        </div>
    </div>
</div>
    </main>
    
    <?php include "footer.php" ?>
</body>


</html>

MMCT - 2023