Back to Main Page
\n";
}
}
// Otherwise, print the image with forward and back buttons
else {
$numofphotos = count($photos);
$currentid = array_search($_GET['filename'],$photos);
$previousid = ($currentid-1+$numofphotos)%$numofphotos;
$nextid = ($currentid+1)%$numofphotos;
echo "\n";
echo "\n";
}
?>