Esempio n. 1
0
//   GNU General Public License for more details.
//   You should have received a copy of the GNU General Public License
//   along with this program.  If not, see <http://www.gnu.org/licenses/>.
include 'php/session.php';
include 'php/opendatabase.php';
include 'php/club.php';
include 'php/rank.php';
include 'php/player.php';
include 'php/matchdate.php';
include 'php/params.php';
include 'php/itrecord.php';
include 'php/season.php';
try {
    $Season = new Season();
    $Season->fromget();
    $Season->fetchdets();
} catch (SeasonException $e) {
    $mess = $e->getMessage();
    include 'php/dataerror.php';
    exit(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 
Esempio n. 2
0
//   You should have received a copy of the GNU General Public License
//   along with this program.  If not, see <http://www.gnu.org/licenses/>.
include 'php/session.php';
include 'php/opendatabase.php';
include 'php/club.php';
include 'php/rank.php';
include 'php/player.php';
include 'php/histteam.php';
include 'php/histteammemb.php';
include 'php/histmatch.php';
include 'php/matchdate.php';
include 'php/season.php';
try {
    $seas = new Season();
    $seas->fromget();
    $seas->fetchdets();
} catch (SeasonException $e) {
    $mess = $e->getMessage();
    include 'php/wrongentry.php';
    exit(0);
}
try {
    $team = new Histteam($seas);
    $team->fromget();
    $team->fetchdets();
} catch (TeamException $e) {
    $mess = $e->getMessage();
    include 'php/wrongentry.php';
    exit(0);
}
?>
Esempio n. 3
0
EOT;
}
?>
<p><b>Please note</b> you can click on players, opposing teams and results for more details.</p>
<?php 
$ret = mysql_query("select seasind from histteam where {$team->queryof()} order by seasind");
if ($ret && mysql_num_rows($ret) > 0) {
    print <<<EOT
<h2>Previous Seasons</h2>
<p>Select from the following to see the performance of {$team->display_name()} in previous seasons.
</p>
<table>

EOT;
    while ($row = mysql_fetch_array($ret)) {
        $s = new Season($row[0]);
        $s->fetchdets();
        print "<tr><td><a href=\"histteamdisp.php?{$team->urlof('htn')}&{$s->urlof()}\" class=\"nound\">{$s->display_name()}</a></td></tr>\n";
    }
    print <<<EOT
</table>

EOT;
}
?>
</div>
</div>
</body>
</html>