else { $target = $_SERVER['PHP_SELF']; $button = "Controleren"; } ?> <form method="post" action="<? echo $target;?>"> <textarea name="rapportage"><? echo $_POST['rapportage'];?></textarea> <input type="submit" value="<? echo $button;?>"> </form> <? if(isset($_POST['rapportage'])) { ?> Invoer:<BR> <table> <? $competitie->stand_print($result[0],$stand,array('knsb','naam','PUNTEN','WP','SB')); ?> </table> <? } ?> </div> </body> </html>
</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>