Archived
1
0
Fork 0

initialer import von douth-hiphop.de's Entwicklungsstand

This commit is contained in:
Jan Dittberner 2008-08-26 13:10:33 +00:00
commit 9805cf14de
54 changed files with 1237 additions and 0 deletions

BIN
funktionen/._.DS_Store Normal file

Binary file not shown.

Binary file not shown.

BIN
funktionen/._menupunkte.php Normal file

Binary file not shown.

Binary file not shown.

BIN
funktionen/._thumbnail.php Normal file

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,9 @@
<?php
include_once("fetchdescription.php");
$imginfo = getImgInfo($allfiles[0]);
if (is_array($imginfo) && isset($imginfo["data"])) {
print htmlentities($imginfo["data"]);
} else {
print $imginfo;
}
?>

View file

View file

@ -0,0 +1,6 @@
<?php
$width_middle = 311;
printf("<a href=\"%s\" class=\"lightbox\" ><img id=\"contentimg\" src=\"%s\" alt=\"\" width=\"%s\" /></a>",
dirname($allfiles[0]) . DIRECTORY_SEPARATOR . basename($allfiles[0]),
$allfiles[0], $width_middle);
?>

15
funktionen/thumbnail.php Normal file
View file

@ -0,0 +1,15 @@
<?
$thumbsizes = array();
$thumbwidthsum = 2;
$thumbheight = 67;
foreach ($allfiles as $filename) {
$directory = dirname($filename);
$basename = basename($filename);
$thumbfile = $directory .
DIRECTORY_SEPARATOR . $basename;
if ($thumbsize = getimagesize($thumbfile)) {
$thumbsizes[$thumbfile] = $thumbsize;
$thumbwidthsum = $thumbwidthsum + $thumbsize[0] + 3;
}
}
?>

View file

@ -0,0 +1,6 @@
<?php
foreach ($thumbsizes as $thumbfile => $thumbsize) {
printf("<div class=\"thumbnail\"><img src=\"%s\" alt=\"\" height=\"%s\" /></div>",
$thumbfile, $thumbheight);
}
?>