'; $tournament=new tournament($tournamentId); if($save) $tournament=new tournament($tournament->save()); echo '
';
//$tournament->showForm(&$user);
$subPage=$tournament->subPages($subPage);
switch($subPage) {
case 'opis' : {
$tournament->showForm(&$user);
} break;
case 'startowa' : {
$tournament->getPlayers('startowa');
} break;
case 'ranking' : {
$tournament->getPlayers('ranking');
} break;
case 'wyniki' : {
include('class.listina.php');
$listina=new listina($tournamentId);
if(!$listina->external) $listina->show($round,$player,$holes);
else $listina->external();
//$tournament->startowa(&$user);
} break;
case 'galeria' : {
include('class.galeria.php');
$galeria=new galeria($tournamentId);
$galeria->show();
} break;
}
//else $tournament->showForm(&$user);
echo '
';
?>
include('bottom.php');?>