Exemplo n.º 1
0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<?php 
$Title = "Historical Individual League Results";
include 'php/head.php';
?>
<body class="il">
<script language="javascript" src="webfn.js"></script>
<?php 
include 'php/nav.php';
?>
<h1>Historical Individual League Standings</h1>
<?php 
print <<<EOT
<p>This is the final league table for <strong>{$Season->display_name()}</strong>,
which ran from {$Season->display_start()} to {$Season->display_end()}.</p>
<p>Only players who played games are included.</p>

EOT;
?>
<div align="center">
<?php 
$pars = new Params();
$pars->fetchvalues();
$ml = max_ildivision();
for ($d = 1; $d <= $ml; $d++) {
    $players = list_hist_players_ildiv($d, $Season);
    if (count($players) < 2) {
        print <<<EOT
No games played in Division {$d}.
Exemplo n.º 2
0
$Title = "Historic Team {$team->display_name()}";
include 'php/head.php';
?>
<body>
<script language="javascript" src="webfn.js"></script>
<?php 
include 'php/nav.php';
print <<<EOT
<h1>Historic Team {$team->display_name()}</h1>
<p>
This is the record for
{$team->display_name()} - {$team->display_description()}
in {$team->display_division()}
for <b>{$seas->display_name()}</b>
running from
{$seas->display_start()} to {$seas->display_end()}.
</p>
<h3>Members were</h3>
<table class="teamdisp">
<tr>
\t<th>Name</th>
\t<th>Rank</th>
\t<th>Played</th>
\t<th>Won</th>
\t<th>Drawn</th>
\t<th>Lost</th>
</tr>

EOT;
$membs = $team->list_members();
foreach ($membs as $m) {
Exemplo n.º 3
0
<?php 
$Title = "Historic Matches";
include 'php/head.php';
?>
<body>
<script language="javascript" src="webfn.js"></script>
<?php 
include 'php/nav.php';
?>
<h1>Matches</h1>
<?php 
print <<<EOT
<p>
This is the final matches list for
<b>{$seas->display_name()}</b>, the start date for which was
{$seas->display_start()} and the end was {$seas->display_end()}.
</p>

EOT;
?>

<table class="matchesd">
<tr>
<th>Date</th>
<th>Team A</th>
<th>Team B</th>
<th>Score</th>
</tr>
<?php 
$ret = mysql_query("select ind from histmatch where {$seas->queryof()} order by divnum,matchdate,hteam,ateam");
if ($ret && mysql_num_rows($ret) > 0) {