36 lines
1.2 KiB
PHP
36 lines
1.2 KiB
PHP
|
<body>
|
|||
|
|
|||
|
<div class="container"><?php
|
|||
|
for ($i = $nr; $i < $anz_images-1; $i++) { ?>
|
|||
|
<div class="mySlides">
|
|||
|
<div class="numbertext"><?php echo "Bild ".($i+1)." (".($anz_images-1).") - ".$themen[$m]." - ".$titel[$i+1];?></div>
|
|||
|
<img src="<?php echo $base_ordner.$thema."/".$themen[$m]."/".$alles[$i];?>"
|
|||
|
alt="hbc fotos" style="width:100%;">
|
|||
|
</div><?php
|
|||
|
if ($i+1 >= ($anz_themen[$m+1])) { // Themenzähler bginnt bei 0
|
|||
|
$m = $m+1;
|
|||
|
}
|
|||
|
} ?>
|
|||
|
|
|||
|
<a class="prev" onclick="plusSlides(-1)">❮</a>
|
|||
|
<a class="next" onclick="plusSlides(1)">❯</a>
|
|||
|
|
|||
|
<div class="caption-container">
|
|||
|
<p id="caption"></p>
|
|||
|
</div><?php
|
|||
|
|
|||
|
$i = 0; // 1. Bild
|
|||
|
$m = $b = 0; // $m = 1. Matrix-Eintrag
|
|||
|
$nr = $i; // 1. Bild
|
|||
|
$row = 0; ?>
|
|||
|
<div class="row"><?php
|
|||
|
for ($i = $nr; $i < $anz_images-1; $i++) {
|
|||
|
//echo $i." ".$base_ordner.$thema."/".$themen[$m]."/".$alles[$i]."</br>";?>
|
|||
|
<div class="column">
|
|||
|
<img class="demo cursor" src="<?php echo $base_ordner.$thema."/".$themen[$m]."/".$alles[$i];?>"
|
|||
|
onclick="currentSlide(<?php echo $i+1;?>)" alt="hbc fotos" style="width:100%;">
|
|||
|
</div><?php
|
|||
|
} ?>
|
|||
|
</div>
|
|||
|
</div>
|