ok
Direktori : /home/importfo/public_html/newroyalfamilyspa.com/ |
Current File : /home/importfo/public_html/newroyalfamilyspa.com/blog_detail.php |
<?php include("admin/config.php");?> <!DOCTYPE html> <html lang="en"> <!-- Mirrored from gico.io/wemulti/home-spa.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Dec 2023 07:01:01 GMT --> <?php include 'top.php' ?> <body class="spa-theme"> <!--<div class="call-btns">--> <!-- <ul>--> <!-- <li><a href="#"><i class="icofont-brand-whatsapp"></i></a></li>--> <!-- <li><a href="#"><i class="icofont-ui-call"></i></a></li>--> <!-- </ul>--> <!-- </div>--> <!-- Full Width From Box --> <!-- <div id="myNav" class="overlay"> <a href="javascript:void(0)" class="closebtn" onclick="closeNav()"><i class="icofont-close-circled"></i></a> <div class="overlay-content"> <div class="container"> <div class="row"> <div class="col-lg-12"> <div class="overlay-content-col"> <h2>Request A Free Consultation</h2> <form> <div class="row"> <div class="col-lg-4"> <input class="form-control" type="text" placeholder="Your Name"> </div> <div class="col-lg-4"> <input class="form-control" type="text" placeholder="Your Phone"> </div> <div class="col-lg-4"> <select class="form-control"> <option>Reason Of Contact</option> <option>Consult</option> <option>General Query</option> <option>Account Recovery</option> <option>Financial Help</option> </select> </div> <div class="col-lg-12 text-center"> <textarea class="form-control" rows="5" placeholder="Describe Here..."></textarea> <button class="btn btn-primary theme-btn" type="submit">Send Request</button> </div> </div> </form> </div> </div> </div> </div> </div> </div> --> <!-- Header Start --> <?php include 'header.php' ?> <style> body{ margin: 0; font-family: 'Montserrat', sans-serif; /* font-family: 'MuseoModerno', cursive; */ } .header{ width: 100%; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; background-image:url("../img/mr.jpg") ; /* background-size: 1000px; */ /* background-position: center; */ /* object-fit: cover; */ background-repeat: no-repeat; /* background-attachment: fixed ; */ } .header-title{ margin: 0; margin-bottom: 25px; font-weight: 700; font-size: 56px; line-height: 130%; color: white; } .header-subtitle{ margin: 0; font-weight: bold; font-size: 16px; line-height: 150%; text-transform: uppercase; color: white; letter-spacing: 0.2rem; /* text-align: center; */ } </style> <div class="header" style=" background-image: url(images/spa/bg/h.png); height: 400px; "> <h1 class="header-title" style="color: black;"> Blog Detail </h1> </div> <!-- Blog Details Start --> <section class="bolg-details-area"> <div class="container"> <div class="row"> <div class="col-lg-8"> <?php if(isset($_GET['slug'])) { $slug=$_GET['slug']; } else { $slug=0; } $sql="SELECT * from blog where id='$slug' " ; $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']; ?> <div class="mb-30 bolg-details-col"> <div class="big-img"> <img src="admin/upload/<?php echo $row['image']; ?>" alt="" class="img-fluid"> </div> <div class="blog-info-bar"> <ul> <li><a href="#"><?php echo $row['post_by']; ?></a></li> <li><i class="icofont-calendar"></i> <a href="#"><?php echo $row['post_date']; ?></a></li> </ul> </div> <h4><?php echo $row['title']; ?></h4> <p><?php echo $row['post_desc']; ?></p> </div> </div> <div class="col-lg-4"> <div class="mb-30 bolg-sidebar-col"> <div class="bolg-sidebar-box"> <h4>Recent Post</h4> <div class="post-box"> <ul> <?php $sql="SELECT * from blog"; $res=mysqli_query($db,$sql); while($row=mysqli_fetch_array($res)) { ?> <li> <img src="admin/upload/<?php echo $row['image']; ?>" alt="" class="img-fluid"> <a href="blog_detail.php?slug=<?php echo $row['id']; ?>"><?php echo $row['title']; ?></a> <span><?php echo $row['post_date']; ?></span> </li> <?php }?> </ul> </div> </div> </div> </div> </div> </div> </section> <!-- Footer Start --> <?php include 'footer.php' ?> <a href="#" id="back-to-top" title="Back to top"><i class="fas fa-long-arrow-alt-up"></i></a> <!-- jQuery --> <script src="js/jquery.min.js"></script> <!-- popper.min --> <script src="js/popper.min.js"></script> <!-- Bootstrap Core JavaScript --> <script src="js/bootstrap.min.js"></script> <!-- All Included JavaScript --> <script src="js/jquery.easing.min.js"></script> <script src="js/full-overlay.js"></script> <script src="js/owl.carousel.min.js"></script> <script src="js/isotope.pkgd.min.js"></script> <script src="js/jquery.waypoints.min.js"></script> <script src="js/jquery.countup.min.js"></script> <script src="js/froogaloop2.min.js"></script> <script src="js/html5lightbox.js"></script> <script src="js/jarallax.min.js"></script> <script src="js/jquery.plate.js"></script> <script src="js/jquery.pogo-slider.js"></script> <script src="js/masonry.pkgd.min.js"></script> <script src="js/countdown.js"></script> <script src="js/skeletabs.js"></script> <script src="js/jquery.mb.YTPlayer.min.js"></script> <script src="js/aos.js"></script> <script src="js/stellarnav.js"></script> <!-- Google map --> <script src="js/map.js"></script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDdEPAHqgxFK5pioDAB3rsvKchAtXxRGO4&callback=initMap"></script> <!-- Custom Js --> <script src="js/custom.js"></script> </body> <!-- Mirrored from gico.io/wemulti/home-spa.html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Dec 2023 07:01:17 GMT --> </html>