4 <title> <?= $realDir ?> </title>
5 <style type="text/css">
8 font-family: sans-serif;
14 text-decoration: none;
17 display: inline-block;
20 .image, .foldername, .image_nopreview, .foldername_nopreview {
22 vertical-align: middle;
24 .image, .image_nopreview {
25 width: <?= THUMB_SIZE ?>px;
29 height: <?= THUMB_SIZE ?>px;
31 .foldername, .foldername_nopreview {
45 <?php foreach ($plugins as $p) if (is_file("plugins/$p/style.css")) { ?>
46 <link rel="stylesheet" type="text/css" href="<?= $rootUrl."plugins/$p/style.css" ?>" />
48 <?php plugins_include("head.php") ?>
52 <div id="parentfolder"><a href="<?= $parentLink ?>">
53 <?php if ($parentLink !== '') { ?>
58 <?php plugins_include("before_content.php") ?>
61 <?php foreach($folders as $folder) { $preview = getAlbumPreview($folder["file"]); ?>
63 <?php if ($preview === "") { ?>
64 <div class="square"><div class="image_nopreview"> - </div></div>
65 <div class="square"><div class="foldername_nopreview"> <a href="<?= $folder["link"] ?>"><?= $folder["name"] ?></a> </div></div>
67 <div class="square"><div class="image"> <a href="<?= $folder["link"] ?>"><img src="<?= $rootUrl.$preview ?>" /></a> </div></div>
68 <div class="square"><div class="foldername"> <a href="<?= $folder["link"] ?>"><?= $folder["name"] ?></a> </div></div>
69 <?php if (isset($generating)) { ob_flush(); flush(); } ?>
76 <?php foreach ($imageFiles as $file) { ?>
77 <div class="square"><div class="image imagepreview"><a href="<?= $file["link"] ?>"><img src="<?= $rootUrl.getPreview($file["file"]) ?>" alt="<?= $file["name"] ?>" /></a></div><?php plugins_include("after_thumb.php") ?></div>
78 <?php if (isset($generating)) { ob_flush(); flush(); } ?>
83 <?php foreach ($otherFiles as $file) { ?>
84 <div class="miscfile"><a href="<?= $file["link"] ?>"><?= $file["name"] ?></a></div>
88 <?php plugins_include("after_content.php") ?>
91 Generated by <a href="http://www.positon.org/bizou/">Bizou</a>