Edit file File name : destinations.php Content :<?php include './class/include.php'; ?> <!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" /> <meta name="description" content=""> <meta name="author" content=""> <title>Taxi Galle | Destinations</title> <!-- Bootstrap --> <link href="common/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"> <!-- Owl Carousel --> <link href="common/owl-carousel/css/owl.carousel.min.css" rel="stylesheet" type="text/css"> <!-- Fancybox --> <link rel="stylesheet" href="common/fancybox/jquery.fancybox.min.css" type="text/css" /> <!-- Theme Style --> <link href="css/style.css" rel="stylesheet" type="text/css"> <!-- Custom Style --> <link href="css/custom.css" rel="stylesheet" type="text/css"> <style> .banner-home{ background: url(./images/banner/back_dark.jpg) top center no-repeat !important; background-size: cover; } .header-bottom { background: rgba(0, 0, 0, 0.5); } header.header-small{ background: #000; } .search-section .tab-sec .nav-tabs .nav-link{ padding: 19px 24px 10px 25px; } </style> </head> <body> <!--Header area start here--> <?php include('./header.php'); ?> <!-- Pagewrap Start Here --> <div class="content"> <section class="banner-gallery inner-banner"> <div class="banner-box"> <h1><span>DESTINATIONS </span>Taxi Galle</h1> </div> </section> <div class="sgallery-sec sec-pd inner-pd"> <div class="container"> <div class="row"> <?php $DESTINATIONS = new Attraction(NULL); foreach ($DESTINATIONS->all() as $destinations) { ?> <div class="col-md-6 col-lg-4 col-sm-6 m-b30"> <div class="dlab-box" data-tilt="" data-tilt-max="10" data-tilt-speed="1"> <a href="./view-destinations.php?type=<?php echo $destinations['id'] ?>"> <div class="dlab-media dlab-img-effect dlab-img-overlay2" style="margin-top: 20px;"> <img src="upload/attraction/<?php echo $destinations['image_name'] ?>" alt=""> <div class="dlab-info-has p-a20 text-white no-hover"> <h4 class="m-t0 m-b10 title-destination"><?php echo $destinations['title'] ?></h4> <span>View More</span> </div> </div> </a> </div> </div> <?php } ?> </div> </div> </div> <?php include('./footer.php'); ?> </div> <!-- Pagewrap End Here--> <!-- jQuery (necessary for JavaScript plugins) --> <script src="js/jquery.min.js"></script> <!-- Bootsrap JS --> <script src="common/bootstrap/js/bootstrap.min.js"></script> <!-- Owl Crousel --> <script src="common/owl-carousel/js/owl.carousel.js"></script> <!-- Fancybox --> <script src="common/fancybox/jquery.fancybox.min.js"></script> <!-- Font Awesome JS --> <script src="js/all.min.js"></script> <!-- Custom JS --> <script src="js/custom.js"></script> </body> </html>Save