getHuidigeEditie() -1;
} else {
$year = $_GET[“editie”];
}
$resultaten = array();
$resultaten = $dbc->getEinduitslagperEditie($year);
$ploegleiders= array();
$ploegleiders= $dbc->getAllePloegenPerEditie($year);
$years = $dbc->getYearsForEditions();
?>

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;

foreach ($resultaten as &$value) {
$count++;
$jackpottotaal += $value->jpaandeel;
$wptotaal += $value->wp;
$totaal += $value->totaal;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
}

echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
?>

Huidige editie:
Naam
WP
JP
%
JP aandeel
Totaal
“.$count.” naamcode.”\”>”.$value->plnaam.” “.$value->wp.” “.$value->jp.” “.$value->jpperc.” “.$value->jpaandeel.” “.$value->totaal.”
“;
echo “

Totaal: “.$wptotaal.” “;
echo “

“;
echo “

“.$jackpottotaal.” “.$totaal.”
plnaam){
if($countrenners != 0){
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;

}
$countrenners = 0;
$totalewp = 0;
$totalejp = 0;
$naam = $value->plnaam;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
}

$totalewp += $value->wp;
$totalejp += $value->jp;
$countrenners++;
$imgURL = “/wp-content/landen/”.$value->nationaliteit.”.png”;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
echo “

“;
}
?>

“;
echo “

Totaal: “.$totalewp.” “.$totalejp.”
$value->plnaam
Ploeg
Land
Leeftijd
Prijs
WP
JP
“.$countrenners.” cqid.”&editie=”.$value->editie.”\”>”.$value->rennernaam.” editie.”&teamid=”.$value->teamid.”\”>”.$value->team.” land.”\” src=\””.$imgURL.”\” width=\”24\” height=\”24\” “.$value->leeftijd.” “.$value->prijs.” “.$value->wp.” “.$value->jp.”