$file
"; } $prev=$id-1; $next=$id+1; echo "
"; if ($id != 1) echo "Previous | "; if ($id != $total) echo "Next"; echo "
"; echo "
"; echo "
"; echo ""; echo "
"; echo "
"; // Close it closedir($dir_handle); ?>