* Copyright (C) 2000 Robert A. Holak * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA */ include("common.inc"); if (!defined('CONFIG')) { print "Almost there...\n"; print "

All you have to do now is type \"make\" in the phpix directory.\n"; print "Read the INSTALL file for more information.

\n"; exit(); } if (! $album) { $albumname = "Albums"; } else { $albumname = $album; } ?> <? print "${titleprefix}${albumname}"; ?> \n"; } else { print "\n"; } StandardLinks("album",$album,$start); ?> \n"; } else { print "
\n"; } ?> \n"; $fd = fopen($descfile, "r"); while (! feof($fd)) { $buffer = fgets($fd, 4096); print $buffer; } fclose($fd); print "
\n"; } ?> \n"; $thisdir = $album; if ($thisdir) { $thisdir .= "/"; } reset($dirlist); $arr = AlbumArray(0); while (list(, $dirname) = each($dirlist)) { # XXX: Look for a user-provided thumbnail in the cache $arr['album'] = $thisdir.$dirname; DisplayImg2($htmlbase.$albumpath.$userstring."?".MakeQueryString($arr), "##NONE##", $album_img, "Original", $dirname, 'album'); } unset($arr); PadTable("album"); } if (is_array($filelist)) { print "\n"; $unknown_url_size = GetImageSize($unknown_url); $arr = AlbumArray($start); for ($x = $start; $x < $start + $items_per_page and $filelist[$x]; $x++) { $file = $filelist[$x]; $arr['pic'] = $file; $arr['picindex'] = $x; DisplayImg2($htmlbase.$viewpath.$userstring."?".MakeQueryString($arr), $album, $file, $thumb_size, $file); } unset($arr); PadTable(); } ?>
$items_per_page) { ?> 0) { print "\n"; } for ($i = max(0, $start - 10 * $items_per_page); $i < min($totalfiles,$start + 10 * $items_per_page); $i += $items_per_page) { if (($start >= $i) and ($start < $i + $items_per_page)) { print "\n"; } else { print "\n"; } } if ($totalfiles > $x) { print "\n"; } ?>
Generated by