} ?> if (0) { ?>
} ?> } ?>
include $_SERVER['DOCUMENT_ROOT']."/php/site.inc.php"; ?>
include $_SERVER['DOCUMENT_ROOT']."/php/mysql.inc.php"; ?>
include $_SERVER['DOCUMENT_ROOT']."/php/collection.inc.php"; ?>
include_once $_SERVER['DOCUMENT_ROOT']."/php/winkelmandje.inc.php"; ?>
// Aantal thumbsX.tempel-fotografie.nl aliasen
// 3 geeft soms "HTTP Error 503 - Service unavailable" fouten
// tijdelijk met 2 proberen
$thumbnail_aliases = 1;
?>
$doc_root = $_SERVER['DOCUMENT_ROOT'];
if (preg_match('/^([0-9][0-9][0-9][0-9])$/i',$_GET['jaar'],$matches)){
$jaar = $matches[1];
}
if (preg_match('/^([a-z0-9_\-]+)[\/]?$/i',$_GET['serie'],$matches)){
$serie = $matches[1];
}
if (preg_match('/^([0-9]+)$/i',$_GET['pagina'],$matches)){
$pagina = $matches[1];
} else {
$pagina = 1;
}
$collection = new Collection();
$collection->year = $jaar;
$collection->url = $serie;
if ($collection->getID() === false){
header("HTTP/1.0 404 Not Found");
print "File not found";
print "
Klik hier om naar de homepage te gaan.";
exit;
}
$collection->get();
$werelddans = $collection->werelddans;
$collection->pixxer = false;
$collection->winkelmandje = false;
/*
if ($collection->winkelmandje) {
$winkelmandje = new Winkelmandje();
$winkelmandje->init();
}
*/
if (!@isset($collection->pages[$pagina]) && $pagina > 1){
// header("HTTP/1.0 404 Not Found");
// print "Page not found";
// print "
Klik hier om naar de homepage te gaan.";
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: ".dirname($_SERVER['REQUEST_URI']));
exit;
}
?>
print_r($winkelmandje); ?> print_r($collection); ?>} ?> @include $_SERVER['DOCUMENT_ROOT']."/php/menu-div2.inc.php"; ?>
} ?> if (0) { ?>
} ?> } ?>