mirror of
https://github.com/janunger/rheinwerk-video-training.git
synced 2026-02-05 22:55:14 +01:00
Kapitel 3 Lektion 9 gesplittet
This commit is contained in:
@@ -1,18 +1,13 @@
|
||||
<?php
|
||||
|
||||
$dateiname = $_GET['dateiname'];
|
||||
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Fotogalerie - Foto <?= htmlspecialchars($dateiname); ?></title>
|
||||
<title>Fotogalerie - Foto 1.jpg</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Foto <?= htmlspecialchars($dateiname); ?></h1>
|
||||
<h1>Foto 1.jpg</h1>
|
||||
<p>
|
||||
<img src="fotos/<?= htmlspecialchars($dateiname); ?>" alt="<?= htmlspecialchars($dateiname); ?>">
|
||||
<img src="fotos/1.jpg" alt="1.jpg">
|
||||
</p>
|
||||
<p>
|
||||
<a href="index.php">Zurück</a>
|
||||
|
||||
@@ -85,7 +85,7 @@ if (count($_POST) > 0) {
|
||||
<?php foreach ($fotosGefiltert as $foto) : ?>
|
||||
<div>
|
||||
<div class="miniatur" style="float: left;">
|
||||
<a href="foto.php?dateiname=<?= htmlspecialchars($foto['dateiname']); ?>">
|
||||
<a href="fotos/<?= htmlspecialchars($foto['dateiname']); ?>">
|
||||
<img src="miniaturen/<?= htmlspecialchars($foto['dateiname']); ?>" alt="<?= htmlspecialchars($foto['dateiname']); ?>">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user