$Name = $player->display_name(false); print <<<EOT <p> These are recorded games on the league for {$Name}, currently {$player->display_rank()}, of {$player->Club->display_name()}. </p> EOT; $pu = $player->display_userid(0); if (strlen($pu) != 0) { print <<<EOT <p>User id for the league: {$pu}.</p> EOT; } $pon = $player->display_online(); if (strlen($pon) > 1) { print <<<EOT <p>Online name: {$pon}.</p> EOT; } $pnotes = $player->display_notes(); if (strlen($pnotes) != 0) { print <<<EOT <h2>Notes for player</h2> <p>{$pnotes}</p> EOT; } $ret = mysql_query("select teamname from teammemb where {$player->queryof('tm')} order by teamname");
<tr><th colspan={$cs} align="center">Not in a team</th></tr> EOT; $ret = mysql_query("select first,last from player order by last,first,rank desc"); if ($ret) { while ($row = mysql_fetch_assoc($ret)) { $p = new Player($row["first"], $row["last"]); if ($p->count_teams() != 0) { continue; } $p->fetchdets(); $p->fetchclub(); print <<<EOT <tr> <td>{$p->display_name()}</td> <td>{$p->display_rank()}</td> <td>{$p->display_online()}</td> <td>{$p->played_games(true, 'T')}</td> <td>{$p->won_games(true, 'T')}</td> <td>{$p->drawn_games(true, 'T')}</td> <td>{$p->lost_games(true, 'T')}</td> <td> </td> <td>{$p->played_games()}</td> <td>{$p->won_games()}</td> <td>{$p->drawn_games()}</td> <td>{$p->lost_games()}</td> <td>{$p->Club->display_name()}</td> </tr> EOT; } }
var fm = document.ilresf; if (fm.sgffile.value.length != 0) return true; return confirm("Are you sure that this game was not played on KGS so you can download it?"); } </script> <?php include 'php/nav.php'; ?> <h1>Add result for Individual League</h1> <p>Welcome <?php print <<<EOT <b>{$player->display_name()}</b> online name <b>{$player->display_online()}</b> from Division {$player->ILdiv}. EOT; ?> </p> <p>To enter the individual league match result, please complete the form below: </p> <form action="addilresultb2.php" method="post" enctype="multipart/form-data" name="ilresf" onsubmit="javascript: return checkform();"> <?php print $player->save_hidden("pl"); ?> <table cellpadding="2" cellspacing="5" border="0"> <tr> <td>Match was played on</td>