2024-04-04 02:50:47 +00:00
|
|
|
<div id="qslCarouselIndicators" class="carousel slide" data-bs-ride="carousel">
|
|
|
|
<ol class="carousel-indicators" id="qsl-carousel-indicators">
|
|
|
|
<?php
|
|
|
|
$i = 0;
|
|
|
|
foreach ($qslimages as $image) {
|
|
|
|
echo '<li data-bs-target="#qslCarouselIndicators" data-bs-slide-to="' . $i . '"';
|
|
|
|
if ($i == 0) {
|
|
|
|
echo 'class="active"';
|
|
|
|
}
|
|
|
|
$i++;
|
|
|
|
echo '></li>';
|
2023-06-30 21:36:35 +00:00
|
|
|
}
|
2024-04-04 02:50:47 +00:00
|
|
|
?>
|
|
|
|
</ol>
|
|
|
|
<div id="qsl-carousel-inner" class="carousel-inner">
|
|
|
|
<?php
|
|
|
|
$i = 1;
|
|
|
|
foreach ($qslimages as $image) {
|
|
|
|
echo '<div class="text-center carousel-item carouselimageid_' . $image->id;
|
|
|
|
if ($i == 1) {
|
|
|
|
echo ' active';
|
|
|
|
}
|
|
|
|
echo '">';
|
|
|
|
echo '<img class="img-fluid w-qsl" src="' . base_url() . '/assets/qslcard/' . $image->filename .'" alt="QSL picture #'. $i++.'">';
|
|
|
|
echo '</div>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
<a class="carousel-control-prev" href="#qslCarouselIndicators" role="button" data-bs-slide="prev">
|
|
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
|
|
|
|
<span class="visually-hidden">Previous</span>
|
|
|
|
</a>
|
|
|
|
<a class="carousel-control-next" href="#qslCarouselIndicators" role="button" data-bs-slide="next">
|
|
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span>
|
|
|
|
<span class="visually-hidden">Next</span>
|
|
|
|
</a>
|
2023-08-11 18:51:02 +00:00
|
|
|
</div>
|