/* error reporting aanzetten*/
error_reporting(E_ALL);
ini_set('display_errors','1');
/* bestanden includen die nodig zijn voor de module */
require_once(dirname(__FILE__).'/fotoalbum/classes/fotocat.php');
require_once(dirname(__FILE__).'/fotoalbum/classes/foto.php');
$cl_fotocat = new FotoCat();
$cl_fotocat->getList(true);
if(!isset($_GET['map'])){
echo '
Verzameling
';
echo $cl_fotocat->showCats();
} elseif(ctype_digit($_GET['map'])){
$oAlbum = $cl_fotocat->getItem($_GET['map'], true);
echo '
Overzicht >> '.$oAlbum->naam.'
';
echo $oAlbum->showCatFotos(true);
}
?>