initialer import von douth-hiphop.de's Entwicklungsstand
This commit is contained in:
commit
9805cf14de
54 changed files with 1237 additions and 0 deletions
BIN
funktionen/._.DS_Store
Normal file
BIN
funktionen/._.DS_Store
Normal file
Binary file not shown.
BIN
funktionen/._description.php
Normal file
BIN
funktionen/._description.php
Normal file
Binary file not shown.
BIN
funktionen/._menupunkte.php
Normal file
BIN
funktionen/._menupunkte.php
Normal file
Binary file not shown.
BIN
funktionen/._show_pictures.php
Normal file
BIN
funktionen/._show_pictures.php
Normal file
Binary file not shown.
BIN
funktionen/._thumbnail.php
Normal file
BIN
funktionen/._thumbnail.php
Normal file
Binary file not shown.
BIN
funktionen/._thumbnail_show.php
Normal file
BIN
funktionen/._thumbnail_show.php
Normal file
Binary file not shown.
9
funktionen/description.php
Normal file
9
funktionen/description.php
Normal 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;
|
||||
}
|
||||
?>
|
0
funktionen/menupunkte.php
Normal file
0
funktionen/menupunkte.php
Normal file
6
funktionen/show_pictures.php
Normal file
6
funktionen/show_pictures.php
Normal 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
15
funktionen/thumbnail.php
Normal 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;
|
||||
}
|
||||
}
|
||||
?>
|
6
funktionen/thumbnail_show.php
Normal file
6
funktionen/thumbnail_show.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
foreach ($thumbsizes as $thumbfile => $thumbsize) {
|
||||
printf("<div class=\"thumbnail\"><img src=\"%s\" alt=\"\" height=\"%s\" /></div>",
|
||||
$thumbfile, $thumbheight);
|
||||
}
|
||||
?>
|
Reference in a new issue