X-Git-Url: https://git.defcon.no/?p=plsgen;a=blobdiff_plain;f=index.php;fp=index.php;h=437715406b91be2d8b80e1d2d63919822c88909e;hp=0000000000000000000000000000000000000000;hb=68c39fb44a748326e82293210c9cc48d85fe874b;hpb=f4f2b8f68d207d3189de1e07b662aaaf4ed5aa8f diff --git a/index.php b/index.php new file mode 100644 index 0000000..4377154 --- /dev/null +++ b/index.php @@ -0,0 +1,79 @@ + +plsgen-generated photoalbum. + + + + + +
+ +
+ +" . $buf . ""; + } + + if (is_file($target . "/.indeximage")) { + $fd = fopen($target . "/.indeximage", "r"); + $buf = $file . "/thumb/"; + $buf .= fgets($fd, 4096); + chop ($buf); + fclose($fd); + $idximage[$file] = "Thumb"; + } + + } else { + + } + } + } +} +//closing the directory +closedir($dir_handle); + +krsort($album); + +foreach ( $album as $key => $value ) { + echo "
"; + echo ""; + echo ""; + echo "
$value
"; + echo "
"; +} +?> +
+
+
+Photo gallery index by Jon Langseth, generated using index.php +
+ +