Galerie und tage
This commit is contained in:
23
tab/G2019WeihnachtsMLuebeck.php
Normal file
23
tab/G2019WeihnachtsMLuebeck.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="titel">
|
||||
<img src="inc/bg/1609858275128.png"></img>
|
||||
<h3>2019 Lübeck</h3>
|
||||
</div>
|
||||
<br>
|
||||
|
||||
<div class="gimages">
|
||||
|
||||
<?php
|
||||
$path = 'src/images/2019WeihMarktLuebeck/';
|
||||
foreach (new DirectoryIterator($path) as $file) {
|
||||
if ($file->isDot() || $file->isDir()) continue;;
|
||||
if ($file->getExtension()=="jpeg" || $file->getExtension()=="jpg") {
|
||||
echo '<a href="src/images/2019WeihMarktLuebeck/';
|
||||
echo $file;
|
||||
echo '"data-lightbox="mygallery"><img src="src/images/2019WeihMarktLuebeck/';
|
||||
echo $file;
|
||||
echo '"></a>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user