Example #1
0
include_once '../../includes/class.competition.php';
include_once '../../includes/class.swiss.php';
include_once '../../includes/class.player.php';
$swiss = new swiss();
$settings = new settings();
$competitie = new competition($settings, $_GET['competitie']);
$competitie->getGeneralData();
$roundSelect = $competitie->rounds[count($competitie->rounds) - 1];
if ($_GET["ronde"]) {
    foreach ($competitie->rounds as $comp) {
        if ($comp["ronde"] == $_GET["ronde"]) {
            $roundSelect = $comp;
        }
    }
}
$competitie->getStanding(array(1, $roundSelect["ronde"]));
include_once '../../includes/header.archief.php';
?>

<body class="container">

    <?php 
include "../../includes/menu.archief.php";
?>
       

    <h1 class="hidden-print">Competitie</h1>

    <div id="competitie" >
        <div id="competitieMenu">
            <div class="row hidden-print">
Example #2
0
    include_once('../../../includes/class.competition.php');
    include_once('../../../includes/class.swiss.php');
    include_once('../../../includes/class.player.php');
    $swiss = new swiss();
    $settings = new settings();

    //$database = new database();
    $login = new login(1, 0);
    $login->main();

    $menu = new menu();
    $_GET["competitie"] = $_SESSION["competitie_session"];
    $competitie = new competition($settings, $_GET['competitie']);
    $competitie->getGeneralData();

    $competitie->getStanding();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
    <head>
        <title>SV Nieuwerkerk | Archief</title>

        <meta name="author" content="Rob Hoogland" />
        <meta name="copyright" content="&copy; 2010 jeugdschaken.nl" />
        <meta name="description" content="Welkom - mijn-2e-huis.nl" />
        <meta name="keywords" content="Share documents, School Project, information, file sharing" />
        <meta name="robots" content="index,nofollow" />

        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />