if ($_SERVER['REQUEST_METHOD'] == 'POST') {
die('Post is not allowed');
}
?>
Mozilla 1.0 Party Pics
parse_str($QUERY_STRING);
if (!isset($party))
$party = "party.1";
if (!isset($start))
$start = 0;
echo("Gallery for: ");
readfile("$party.dsc");
echo("
");
?>
$current = 0;
$existed = false;
for ($i = 0; $i < 3; $i++)
{
echo("");
for($j = 1; $j <= 3; $j++)
{
echo(" ");
$current = $i*3 + $j + $start;
$file = "pic_$current.jpeg";
$existed = file_exists("$party/$file");
if ($existed)
echo("");
echo(" | \n");
}
echo("
\n");
}
echo("
");
$start = $start - 9;
if ($start > 0)
echo("Previous
Pictures ");
if ($existed)
echo("Next
Pictures");
echo("
");
?>
Thanks for your attention. If you got comments dominik@schnitzer.at
Last Update: 2002-06-12