diff options
| author | Philip Wittamore <philip@wittamore.com> | 2026-07-12 11:08:50 +0200 |
|---|---|---|
| committer | Philip Wittamore <philip@wittamore.com> | 2026-07-12 11:08:50 +0200 |
| commit | 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 (patch) | |
| tree | 3009f0564d75e3f7d1ca38507e7ebb92deaded07 /images/mene/saint-jacut-du-mene/cartes-postales/index.php | |
update
Diffstat (limited to 'images/mene/saint-jacut-du-mene/cartes-postales/index.php')
| -rwxr-xr-x | images/mene/saint-jacut-du-mene/cartes-postales/index.php | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/images/mene/saint-jacut-du-mene/cartes-postales/index.php b/images/mene/saint-jacut-du-mene/cartes-postales/index.php new file mode 100755 index 0000000..bc46e7a --- /dev/null +++ b/images/mene/saint-jacut-du-mene/cartes-postales/index.php @@ -0,0 +1,33 @@ +<!doctype html>
+<html lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" >
+ <link rel="stylesheet" href="/style.css" />
+ <link rel="icon" type="image/x-icon" href="/favicon.ico">
+ <title>Bloggings</title>
+ </head>
+ <body>
+ <header>
+ <h1>Bloggings</h1>
+ <a href="/static/le-mene.html">Back</a>
+ </header>
+ <main>
+ <article>
+<h2><?php echo dirname($_SERVER['SCRIPT_NAME']);?></h2>
+ <?php
+ $images = glob("./*.{jpg,jpeg,gif,png,bmp,webp,webP,svg}", GLOB_BRACE);
+ sort ($images);
+ foreach ($images as $i) {
+ $img = basename($i);
+ $caption = ucfirst(substr($img, 0, strrpos($img, ".")));
+ printf("<figure><img src='./%s'/><figcaption>%s</figcaption></figure>", $img, $caption);
+ }
+ ?>
+ </article>
+ </main>
+ <footer>
+ <p>ยง</p>
+ </footer>
+</body>
+</html>
|
