Example #1
0
  </div>
  <div id="ranglijst">
  <?
  if($_GET['action'] == "xref")
    $competitie->xref($_GET['competitie']);
  elseif($_GET['action'] == "spelers")
  {
      $spelers = $competitie->spelers($_GET['competitie']);
      echo "<TABLE>";
      echo "<TR class=\"eerste_rij\"><TD>KNSB<TD>Naam";
      foreach($spelers as $speler)
        echo "<TR><TD>".$speler["knsb"]."<TD>".$speler["naam"];
      echo "</TABLE>";
  }
  elseif($_GET['action'] == "speler")
  {
      
  }
  else
  {
      //STAND PRINTEN
      $result = $competitie->partijen((int)$_GET['competitie'],(int)$_GET['ronde']);
      echo "<TABLE>";
      $competitie->stand_print($result["spelers"],$result["stand"],array('naam','PUNTEN','WP','SB','We','W-We','TPR'));
      echo "</TABLE>";   
      if(isset($_GET['ronde']))
        $competitie->partijen_print($result["spelers"],$result["partijen"],$_GET['ronde']);
  }
?>
</div>