4 <title> <?= $realDir ?> </title>
5 <style type="text/css">
8 font-family: sans-serif;
14 text-decoration: none;
17 display: inline-block;
19 .image, .foldername, .image_nopreview, .foldername_nopreview {
21 vertical-align: middle;
23 .image, .image_nopreview {
24 width: <?= THUMB_SIZE ?>px;
28 height: <?= THUMB_SIZE ?>px;
30 .foldername, .foldername_nopreview {
44 <?php foreach ($plugins as $p) if (is_file("plugins/$p/style.css")) { ?>
45 <link rel="stylesheet" type="text/css" href="<?= $rootUrl."plugins/$p/style.css" ?>" />
47 <?php plugins_include("head.php") ?>
51 <div id="parentfolder"><a href="<?= $parentLink ?>">
52 <?php if ($parentLink !== '') { ?>
57 <?php plugins_include("before_content.php") ?>
60 <?php foreach($folders as $folder) { $preview = getAlbumPreview($folder["file"]); ?>
62 <?php if ($preview === "") { ?>
63 <div class="square"><div class="image_nopreview"> - </div></div>
64 <div class="square"><div class="foldername_nopreview"> <a href="<?= $folder["link"] ?>"><?= $folder["name"] ?></a> </div></div>
66 <div class="square"><div class="image"> <a href="<?= $folder["link"] ?>"><img src="<?= $rootUrl.$preview ?>" /></a> </div></div>
67 <div class="square"><div class="foldername"> <a href="<?= $folder["link"] ?>"><?= $folder["name"] ?></a> </div></div>
68 <?php if (isset($generating)) { ob_flush(); flush(); } ?>
75 <?php foreach ($imageFiles as $file) { ?>
76 <div class="square"><div class="image"><a href="<?= $file["link"] ?>"><img src="<?= $rootUrl.getPreview($file["file"]) ?>" alt="<?= $file["name"] ?>" /></a></div></div>
77 <?php if (isset($generating)) { ob_flush(); flush(); } ?>
82 <?php foreach ($otherFiles as $file) { ?>
83 <div class="miscfile"><a href="<?= $file["link"] ?>"><?= $file["name"] ?></a></div>
87 <?php plugins_include("after_content.php") ?>
90 Generated by <a href="http://www.positon.org/bizou/">Bizou</a>