sorry, hatte nicht den ganzen code eingestellt…hier nun mein ganzer html - text
Galerie - <?php echo "$Bilder[$BildIndex]" ;?>
<?php include('header.inc');
include('functions.inc');
include("./language/".$GalleryLanguage.".inc");
$BilderVerzeichnis = $\_GET["dir"];
$DirectoryIndex = $\_GET["indexpage"];
$BildIndex = $\_GET["picindex"];
$VorherigesBild = $BildIndex - 1;
$NaechstesBild = $BildIndex + 1;
$BilderProSeite = $RowCount \* $ColCount;
if ($BilderVerzeichnis != "")
{
$Bilder = get\_picsfromdir($GalleryHomeDir."/".$BilderVerzeichnis, $PictureSortOrder, $PictureSortType, 1);
$AnzBilderImOrdner = count($Bilder);
$AktBild = $GalleryHomeDir."/".$BilderVerzeichnis."/".$Bilder[$BildIndex];
$AktSeite = ceil(($BildIndex + 1) / $BilderProSeite);
if (file\_exists($AktBild))
{
$info = getimagesize($AktBild);
$DateiGroesse = filesize($AktBild);
echo " Du befindest Dich in der Galerie ".$BilderVerzeichnis."\n"; echo " und schaust Dir das Bild ".$Bilder[$BildIndex]." an\n";
echo "\n \n";
echo "
\n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " ".$TableTitle."\n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
if ($DisableComments == 0)
{
echo " \n";
}
else
{
echo " \n";
}
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
$LetztesBild = $AnzBilderImOrdner - 1;
if ($VorherigesBild \n";
}
else
{
echo " \n";
}
echo " \n";
echo " \n";
echo " \n";
echo " \n";
if ($NaechstesBild > ($AnzBilderImOrdner - 1))
{
echo " \n";
}
else
{
echo " \n";
}
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
if ($NaechstesBild > ($AnzBilderImOrdner - 1))
{
echo "
\n"; } else { echo " \n"; } if ($Shrinked == 1) { if ($...\n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " ".$info[0]." x ".$info[1]." ".$strPixel."\n";
echo " \n";
echo " \n";
$TempShownFileSize = 0;
// wenn automatische Filegrößenanzeige
if ($ShownFileSize == 0)
{
if ($DateiGroesse ".$DateiGroesse." Bytes\n"; break;
case 2 : echo " ".(round(($DateiGroesse/1024), 2))." kB\n"; break;
case 3 : echo " ".(round(($DateiGroesse/1024/1024), 2))." MB\n"; break;
default : echo " ".$DateiGroesse." Bytes\n";
}
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
if ($VorherigesBild \n";
}
else
{
echo " \n";
}
echo " \n";
echo " \n";
echo " ".$Bilder[$BildIndex]." [".$NaechstesBild."/".$AnzBilderImOrdner."]\n";
echo " \n";
echo " \n";
if ($NaechstesBild > ($AnzBilderImOrdner - 1))
{
echo " \n";
}
else
{
echo " \n";
}
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
if ($DisableComments == 0)
{
echo " \n";
}
else
{
echo " \n";
}
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
if ($DisableComments == 0)
{
if (file_exists($AktBild.".csv"))
{
$lines = file($AktBild.".csv");
$num = sizeof($lines);
arsort($lines);
if ($num > 0)
{
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " ".$strCommentField2."\n";
echo " \n";
echo " \n";
for ($c=0; $c\n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " [".$datum." - ".$uhrzeit."] ".$name."\n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " ".$kommentar."\n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
}
echo " \n";
echo " \n";
echo " \n";
echo " \n";
}
}
}
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo " \n";
echo "
\n";
}
unset($Bilder);
}
else echo "Kein Bildverzeichnis angegeben!";
?>