]]jkjjgdjffksdkdxmnvbcbcvbvcbbbbbbbbbvcbcbvcbmnmbnwqeqwewqskfgj
במ12[cvbnvbnvcvbcvbcvbvvvccccccccccccccvbcvbcvbnmnmqewv;'
/
home
/
u729855735
/
domains
/
stylebyou.com
/
public_html
/
Upload FileeE
HOME
<?php require('inc/header.php'); if(isset($_GET['bid'])){ $bid = $_GET['bid']; $get = "SELECT * FROM blog WHERE blog_id='$bid'"; $run = mysqli_query($conn, $get); $data = mysqli_fetch_assoc($run); $date = new DateTime($data['blog_date']); $formattedDate = $date->format('d F Y'); } else{ echo "<script>location.href='index.php';</script>"; } ?> <main class="main"> <div class="page-header text-center" style="background-image: url('assets/images/page-header-bg.jpg')"> <div class="container"> <h1 class="page-title">Blog Details</h1> </div><!-- End .container --> </div><!-- End .page-header --> <nav aria-label="breadcrumb" class="breadcrumb-nav mb-3"> <div class="container"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.php">Home</a></li> <li class="breadcrumb-item"><a href="javascript:void(0)">Blog</a></li> <li class="breadcrumb-item active" aria-current="page"><?php echo $data['blog_title']?></li> </ol> </div><!-- End .container --> </nav><!-- End .breadcrumb-nav --> <div class="page-content"> <div class="container"> <div class="row"> <div class="col-lg-9"> <article class="entry single-entry"> <figure class="entry-media"> <img src="admin/blogmedia/<?php echo $data['blog_img']?>" alt="image desc"> </figure><!-- End .entry-media --> <div class="entry-body"> <div class="entry-meta"> <span class="entry-author"> by <a href="javascript:void(0)">Stylebyou Team</a> </span> <span class="meta-separator">|</span> <a href="#"><?php echo $formattedDate?></a> </div><!-- End .entry-meta --> <h2 class="entry-title mt-3 mb-4"> <?php echo $data['blog_title']?> </h2><!-- End .entry-title --> <?php echo $data['blog_desc']?> </div><!-- End .entry-body --> </article><!-- End .entry --> </div><!-- End .col-lg-9 --> <aside class="col-lg-3"> <div class="sidebar"> <div class="widget"> <h3 class="widget-title">Popular Posts</h3> <ul class="posts-list"> <?php $post = "SELECT * FROM blog ORDER BY blog_id DESC LIMIT 5"; $exe = mysqli_query($conn, $post); while($post_data = mysqli_fetch_assoc($exe)){ $date = new DateTime($post_data['blog_date']); $formattedDate = $date->format('d F Y'); ?> <li> <figure> <a href="blod-details.php?bid=<?php echo $post_data['blog_id'];?>"> <img src="admin/blogmedia/<?php echo $post_data['blog_img'];?>" alt="post"> </a> </figure> <div> <span><?php echo $formattedDate;?></span> <h4><a href="blod-details.php?bid=<?php echo $post_data['blog_id'];?>"><?php echo $post_data['blog_title'];?></a></h4> </div> </li> <?php } ?> </ul><!-- End .posts-list --> </div><!-- End .widget --> </div><!-- End .sidebar sidebar-shop --> </aside><!-- End .col-lg-3 --> </div><!-- End .row --> </div><!-- End .container --> </div><!-- End .page-content --> </main><!-- End .main --> <?php require('inc/footer.php'); ?>