Bitte bitte bitte, wenn du Code postest, schreib ihn doch in [CODE*] oder [PHP*] Tags

Aber ich denke ich hab den Fehler: Die Parameter von array_slice wurden falsch gesetzt, dies sollte nun richtig sein:

Code:
<div align="center">
<?php
$dir = "img/hinfahrt/hoch/";
if (is_dir($dir))
if ($dh = opendir($dir))
{
while (($file = readdir($dh)) !== false)
{
if($file != '.' && $file != '..')
$files[] = $file;
}
closedir($dh);
}

$start = (!empty($_GET['start'])) ? intval($_GET['start']) : 0;
foreach(array_slice($files, $start, 1) as $image)
{
echo '<a href="'.$dir.$image.'" target="_blank"><img src="'.$dir.$image.'" alt="'.$image.'" Width="265" height="353" border="0"/></a><br /> ';
}

$dir1 = "img/hinfahrt/quer/";
if (is_dir($dir1))
if ($dh1 = opendir($dir1))
{
while (($file1 = readdir($dh1)) !== false)
{
if($file1 != '.' && $file1 != '..')
$files1[] = $file1;
}
closedir($dh1);
}

foreach(array_slice($files1, $start, 1) as $image1)
{
echo '<a href="'.$dir1.$image1.'" target="_blank"><img src="'.$dir1.$image1.'" alt="'.$image1.'" Width="265" height="199" border="0"/></a><br /> ';
}
echo '<a href="index.php?content=hinfahrt&color=' .($color).'&start='.($start-1).'">Vorige Seite</a><br><a href="index.php?content=hinfahrt&color=' .($color).'&start='.($start+1).'">Nächst e Seite</a>';
?>
</div>
Nebenbei: