empower-engineering-website/gallery.php

117 lines
4.5 KiB
PHP
Raw Normal View History

2024-03-06 20:13:02 +07:00
<?php
include_once("includes/header.php");
?>
<main>
<section class="py-5 mb-4 text-center" id="galleryBanner">
<div class="py-lg-5">
<div class="col-lg-6 col-md-8 mx-auto banner-caption">
<h1 class="display-1 fw-bold text-white">Gallery</h1>
</div>
</div>
</section>
<div class="container mb-4">
<div class="my-4">
<div class="mb-2 border-bottom">
<h2 class="fw-bold">Joint Monorail Installation</h2>
</div>
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
<?php
$photoSet1 = array(
"assets/images/services/monorail/1.jpg",
"assets/images/services/monorail/2.jpg",
"assets/images/services/monorail/3.jpg",
);
foreach ($photoSet1 as $file) {
echo "<div class='col'>
<div class='card shadow-sm'>
<img src='$file' class='bd-placeholder-img card-img-top' width='100%' height='270' />
</div>
</div>";
}
?>
</div>
</div>
<div class="my-4">
<div class="mb-2 border-bottom">
<h2 class="fw-bold">Noise Barrier System</h2>
</div>
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
<?php
$photoSet1 = array(
array("assets/images/services/noise-barrier/1.jpg", "Expressway"),
array("assets/images/services/noise-barrier/2.jpg", "Expressway No. 7"),
array("assets/images/services/noise-barrier/3.jpg", "Bang Chak Area"),
);
foreach ($photoSet1 as $fileInfo) {
$imageSrc = $fileInfo[0];
$text = $fileInfo[1];
echo "<div class='col'>
<div class='card shadow-sm'>
<img src='$imageSrc' class='bd-placeholder-img card-img-top' width='100%' height='270' />
<div class='card-body'>
<p class='card-text'>$text</p>
</div>
</div>
</div>";
}
?>
</div>
</div>
<div class="my-4">
<div class="mb-2 border-bottom">
<h2 class="fw-bold">Joint Monorail Installation</h2>
</div>
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
<?php
$photoSet1 = array(
"assets/images/services/monorail/1.jpg",
"assets/images/services/monorail/2.jpg",
"assets/images/services/monorail/3.jpg",
);
foreach ($photoSet1 as $file) {
echo "<div class='col'>
<div class='card shadow-sm'>
<img src='$file' class='bd-placeholder-img card-img-top' width='100%' height='270' />
</div>
</div>";
}
?>
</div>
</div>
<div class="my-4">
<div class="mb-2 border-bottom">
<h2 class="fw-bold">Joint Monorail Installation</h2>
</div>
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3">
<?php
$photoSet1 = array(
"assets/images/services/monorail/1.jpg",
"assets/images/services/monorail/2.jpg",
"assets/images/services/monorail/3.jpg",
);
foreach ($photoSet1 as $file) {
echo "<div class='col'>
<div class='card shadow-sm'>
<img src='$file' class='bd-placeholder-img card-img-top' width='100%' height='270' />
</div>
</div>";
}
?>
</div>
</div>
</div>
</main>
<?php
include_once("includes/footer.php");
?>