ok
Direktori : /home/importfo/www/sunfurniture.co.in/ |
Current File : /home/importfo/www/sunfurniture.co.in/blog-details.php |
<?php include('admin/config.php') ?> <!DOCTYPE html> <html lang="zxx"> <head> <?php include('top.php');?> <title>Blog Details - Sun Furniture Ahmedabad</title> </head> <body id="page-top" class="index"> <header> <?php include('header.php');?> </header> <!--main--> <main> <!--subheader--> <section id="subheader" class="subheader6" data-speed="8" data-type="background"> <div class="container"> <div class="row"> <div class="col-md-12"> <h1 class="text-center" data-aos="fade-right">blog Details</h1> </div> </div> </div> <div class="crumb"> <div class="container"> <ul> <li><a href="index.php">Home</a></li> <li class="sep">/</li> <li><a href="blog.php">Blog</a> </li> <li class="sep">/</li> <li>Blog Details </li> </ul> </div> </div> </section> <!--subheader--> <div id="content"> <div class="container"> <div class="row"> <?php if(isset($_GET['slug'])) { $slug=$_GET['slug']; } else { $slug=0; } $sql="SELECT * from blog where id='$slug' LIMIT 0 , 1 " ; $res=mysqli_query($db,$sql); $row=mysqli_fetch_array($res); $post_date=$row['post_date']; $post_by=$row['post_by']; $image=$row['image']; $post_desc=$row['post_desc']; ?> <!--blog-left-side--> <div class="col-md-7 blog-left Left" data-aos="fade-in"> <div class="blog-left-grid"> <div class="img-div text-center"><a href="blog-details.php"><img class="img-fluid" style="border-radius:5px" alt="img" title="img" src="admin/upload/<?php echo $row['image'];?>"></a></div> <div class="row"> <div class="publice-date col-md-6" style="color:#000"><span>Date : - </span> <?php echo $row['post_date'];?></div> <div class="publice-date col-md-6"><span> By : - </span> <?php echo$row['post_by'];?></div> </div> <p style="font-size: 20px;margin-top:5px; color:#93b120"><?php echo $row['title'];?></p> <p class="spara"><?php echo $row['post_desc'];?></p> </div> <div> <!-- <h4>Leave a Comment:</h4> --> <!-- <form> <div class="form-group"> <textarea class="form-control text-css" rows="3"></textarea> </div> <input value="Submit Form" class="submit-bt2" type="submit"> </form> --> </div> </div> <!--blog-left-side--> <!--blog-right-side--> <div class="col-md-5 blog-right" data-aos="fade-in"> <div class="recent-posts"> <h4 class="blog-t">Recent posts</h4> <?php $sql="SELECT * from blog ORDER BY id DESC LIMIT 5"; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <div class="recent-posts-info"> <div class="posts-left sngl-img"> <a href="blog-details.php?slug=<?php echo $row['id']; ?>"> <img class="img-fluid" style="border-radius:5px" alt="img" title="img" src="admin/upload/<?php echo $row['image'];?>"> </a> </div> <div class="posts-right"> <p style="margin: 0px; font-size: 12px; text-align: left"><?php echo $row['title'];?></p> <div class="publice-date"><span>Date : - </span><?php echo $row['post_date'];?></div> <a class="" href="blog-details.php?slug=<?php echo $row['id']; ?>">Read More</a> </div> <div class="clearfix"></div> </div> <?php } ?> </div> <div class="clearfix"> </div> <br> </div> <!--blog-right-side--> </div> <div class="clearfix"> </div> </div> <div class="clearfix"></div> </div> <div class="clearfix"></div> <section id="call-to-action" class="call-to-action bg-color dark text-center container-fluid"> <h6 data-aos="fade-up"><a href="contact-us.php" class="btn btn-line-black btn-big hvr-sweep-to-left">Contact us</a></h6> </section> </main> <!--main--> <!--footer--> <footer> <?php include('footer.php');?> </footer> <!--footer--> <!-- Js File --> <script src="assets/aos/aos.js"></script> <link href="assets/aos/aos.css" rel="stylesheet"> <script src="assets/aos/aos-script.js"></script> <script src="assets/js/jquery-2.2.4.min.js"></script> <script src="assets/js/bootstrap.bundle.min.js"></script> <script src="assets/js/classie.js"></script> <!--<script src="assets/js/cbpAnimatedHeader.js"></script>--> <!-- Js File --> </body> </html>