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/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. 2
0
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//   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>