📁 File Manager
Editing:
/home/wedigitalindia/www/location.php
<?php include("admin/connection.php"); include('include/header.php'); ?> <style> .blog-details__img img { aspect-ratio: 3 / 2; } </style> <!--Page Header Start--> <section class="page-header"> <div class="page-header__bg" style="background-image: url(<?php path() ?>assets/images/backgrounds/page-header-bg.jpg);"> </div> <div class="page-header__shape-1"> <img src="<?php path() ?>assets/images/shapes/page-header-shape-1.png" alt=""> </div> <div class="container"> <div class="page-header__inner"> <h3>Our Location</h3> <div class="thm-breadcrumb__inner"> <ul class="thm-breadcrumb list-unstyled"> <li><a href="<?php path() ?>index.php">Home</a></li> <li><span class="fas fa-angle-right"></span></li> <li>Our Location</li> </ul> </div> </div> </div> </section> <!--Page Header End--> <!--Feature One Start--> <section class="feature-one"> <div class="container"> <div class="row g-4"> <?php $location = mysqli_query($con, "SELECT * FROM `locations` ORDER BY id DESC"); while ($row = mysqli_fetch_array($location)) { $location_name = $row['location_name']; $slug = $row['slug']; $Image = $row['Image']; ?> <div class="col-6 col-md-4 col-lg-3"> <div class="tech-boxs"> <img src="<?php path(); ?>admin/assets/images/location/<?php echo htmlspecialchars($Image); ?>" alt=""> <!-- SEO Friendly URL --> <a href="<?php path(); ?>locations/<?php echo $slug; ?>"> <h5><?php echo $location_name; ?></h5> </a> </div> </div> <?php } ?> </div> </div> </section> <!--Feature One End--> <?php include("include/footer.php"); ?>
Save
Cancel