Wedstrijden van alleen de eigen teams van club B.A.S.
<?php
include("class.nbb.php");
include("class.competitie.php");
include("class.wedstrijd.php");
/* org_ID is het organisatie ID uit de database van west
* 0 - geen filter, bijv als je op club filter
* 1 - NBB Landelijke competities
* 2 - Rayon West
* 3 - Rayon Oost
* 4 - Rayon Zuid
* 5 - Rayon Noord
* 6 - Rayon Noord-Holland
*/
?>
<HTML>
<HEADER><TITLE>Test standen</TITLE></HEADER>
<BODY>
<?
//$clb_ID = 132; // B.A.S. basketball, ISS 3109
$org_ID = 3; // rayon oost
$wedstrijd = new Wedstrijd( $org_ID );
$wedstrijd->club(3109); // ISS nr van BAS basketball
// bovenstaand kan ook met $wedstrijd->clubid( 132 );
$wedstrijd->alleen_club_gegevens();
$overzicht = $wedstrijd->overzicht();
#print_r($overzicht);
print "<TABLE>\n";
foreach ($overzicht as $cmp_ID => $data ) {
print "<TR><TD colspan='8'>" . $data['nummer'] ." - " . $data['naam'] ."</TD></TR>\n";
$wedstrijd_lijst = $data['wedstrijden'];
foreach ($wedstrijd_lijst as $id => $details ) {
print "<TR>";
print "<TD>" . $details['nummer'] ."</TD>";
print "<TD>" . $details['datum'] ."</TD>";
print "<TD>" . $details['tijd'] ."</TD>";
print "<TD>" . $details['thuisclub'] . ' ' .$details['thuisteamafko'] ."</TD>";
print "<TD>" . $details['uitclub'] . ' ' .$details['uitteamafko'] ."</TD>";
print "<TD>" . $details['scorethuis'] . ' - ' . $details['scoreuit'] ."</TD>";
print "<TD>" . $details['locatie'] ."</TD>";
print "<TD>" . $details['plaats'] ."</TD>";
print "</TR>\n";
}
}
print "</TABLE>\n\n";
?>
</BODY>
</HTML>