*
* Permission to use, copy, modify, distribute, and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear in
* supporting documentation. No representations are made about the
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
*/
error_reporting(0);
if (isset($PHP_SELF))
echo "";
$me = $_SERVER['SERVER_NAME'];
?>
Parent directory
\n",
$i, $filename);
$i++;
$j++;
$filename = sprintf("thumbnail/%04x.jpeg", $i);
if ($limit < $j) {
echo "
";
if ($start !== 0) {
$first = $start - $limit;
if ($first < 0) {
$first = 0;
}
echo ""
. "Previous $limit\n";
}
if ($last < hexdec($absoluteLast)) {
if ($last + $limit > hexdec($absoluteLast)) {
$limit = hexdec($absoluteLast) - $last;
}
echo ""
. "Next $limit";
}
echo "
\n";
echo "
";
break;
}
}
?>