>
\n"; echo "$hometext
\n"; echo "

\n"; if(!$cfg[LISTNUMBER]) { $start = 1; $stop = $fanz; } else { $displaycount = 1; if(!$start) $start = 1; $stop = $start + ($cfg[LISTNUMBER]-1); if($stop > $fanz) { $stop = $fanz; $start = $stop - ($cfg[LISTNUMBER]-1); } if($start < 1) $start = 1; } if($displaycount) { echo "

\n"; echo "Bild $start - $stop (von $fanz)
\n"; if($start > 1) { echo ""; echo "\"Beginn\""; } if($start > $cfg[LISTNUMBER]) { echo ""; echo "\"$cfg[LISTNUMBER]"; } if($stop <= ($fanz-$cfg[LISTNUMBER])) { echo ""; echo "\"$cfg[LISTNUMBER]"; } if($stop < $fanz) { echo ""; echo "\"Ende\""; } echo "

\n"; } echo " \n"; for($i=($start-1); $file=$files[$i], $i < $stop; $i++) { # $info = getimagesize("index/$file"); # echo "

\n"; if($t=$cfg["INDEX_$file"]) { echo "

\n"; echo " \n"; echo " \n"; # echo " \n"; # echo "

\n"; # echo "

\n"; } echo "

\n"; echo " \n"; echo " \n"; } echo "
\n"; echo " $t\n"; echo "
\n"; echo " \n"; echo " \"$file\"\n"; # echo "

\n"; echo "
\n"; if($displaycount) { echo "

\n"; echo "Bild $start - $stop (von $fanz)
\n"; if($start > 1) { echo ""; echo "\"Beginn\""; } if($start > $cfg[LISTNUMBER]) { echo ""; echo "\"$cfg[LISTNUMBER]"; } if($stop <= ($fanz-$cfg[LISTNUMBER])) { echo ""; echo "\"$cfg[LISTNUMBER]"; } if($stop < $fanz) { echo ""; echo "\"Ende\""; } echo "

\n"; } echo "

\n"; if($t=$cfg[index_end]) { echo "
$t\n
\n"; } echo "$hometext\n"; echo "

\n"; } ?>