<?
 //WEBSITE STARTUP
  include_once('../class_login2.php');
  include_once('../class_database.php');
  include_once('../class_menu.php');
  include_once('../class_competitie.php');
  
  $database = new database();
  $login = new login(1, 0);
  $login->main();
  
  $menu = new menu();
  $competitie = new competitie();
  $result1 = $competitie->fide_naar_partijen($_POST['rapportage']);
  $stand = $competitie->stand($result[0],$result[1]);
  print_r($stand);
  $spelers;
  
  //GEGEVENS SPELERS BINNENHALEN
  foreach($result1[0] as $key=> $speler)
  {
      if($key != "")
      {
          if($speler['knsb'] != "")
          {
              $sql = "SELECT * FROM svn_leden WHERE knsb = ".$speler['knsb'];
              $result = mysql_query($sql);
              if(mysql_num_rows($result) == 1)
              {
                  $row = mysql_fetch_array($result);
                  $speler['id'] = $row['id'];
Example #2
0
<?
 //WEBSITE STARTUP
  include_once('../class_login2.php');
  include_once('../class_database.php');
  include_once('../class_menu.php');
  include_once('../class_competitie.php');

  $database = new database();
  $login = new login(1, 0);
  $login->main();
  
  $menu = new menu();
  $competitie = new competitie();
  $result = $competitie->fide_naar_partijen($_POST['rapportage']);
  $stand = $competitie->stand($result[0],$result[1]);
?>

<!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 | Beheer</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" />
Example #3
0
<?php

//WEBSITE STARTUP
include_once '../class_login2.php';
include_once '../class_database.php';
include_once '../class_menu.php';
include_once '../class_competitie.php';
$database = new database();
$login = new login(1, 0);
$login->main();
$menu = new menu();
$competitie = new competitie();
$competitie->rating_rapportage($_SESSION['competitie_session'], $_POST['van'], $_POST['tot']);
Example #4
0
<?
 //WEBSITE STARTUP
  include_once('../database.inc');
  include_once('../class_competitie.php');
  include('../class_menu.php');
  $menu = new menu();
  $competitie = new competitie();
?>

<!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 svnieuwerkerk.nl" />
   <meta name="description" content="Welkom - archiefsite SV Nieuwerkerk" />
   <meta name="keywords" content="SV Nieuwerkerk, svnieuwerkerk, svn, schaken, archief" />
   <meta name="robots" content="index,nofollow" />
    
   <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

   <link rel="stylesheet" type="text/css" href="../style.css" />
 <link href="../rrip.css" rel="stylesheet" type="text/css"> 



</head>

<body>
Example #5
0
<?
 //WEBSITE STARTUP
  include_once('../database.inc');
  include_once('../class_competitie.php');
  include('../class_menu.php');
  $menu = new menu();
  $competitie = new competitie();
?>

<!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 svnieuwerkerk.nl" />
   <meta name="description" content="Welkom - archiefsite SV Nieuwerkerk" />
   <meta name="keywords" content="SV Nieuwerkerk, svnieuwerkerk, svn, schaken, archief" />
   <meta name="robots" content="index,nofollow" />
    
   <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="../sorttable.js"></script>
   <link rel="stylesheet" type="text/css" href="../style.css" />
 <link href="../rrip.css" rel="stylesheet" type="text/css"> 



</head>
Example #6
0
<?php

//WEBSITE STARTUP
include_once '../../includes/class.init.php';
include_once '../beheerOld/class_competitie.php';
$init = new init(1, 0, 0);
$competitie = new competitie();
$competitie->rating_rapportage($_POST['competitie'], $_POST['van'], $_POST['tot']);
Example #7
0
<?php

include "../database.inc";
include "../../archiefOld/class_competitie.php";
$competitie = new competitie();
$competitie->eindscore(19);
function nog_te_spelen($result)
{
    $deelnemers = $this->competitie->spelers_deelname(19);
    $plaats = $deelnemers[$speler]["plaats"];
    $aantal_spelers = count($deelnemers);
    $speler_gegevens = $deelnemers[$speler];
    unset($deelnemers[$speler]);
    if (count($deelnemers) > 0) {
        echo "<h3>Nog te spelen partijen</h3>";
        echo "<table>";
        foreach ($deelnemers as $key => $tegenstander) {
            $opzet = array(array(array($speler, $plaats), array($key, $deelnemers[$key]["plaats"])), $competitie_gegevens["aantal_deelnemers"]);
            $kleuren = $competitie->kleur(array(array($speler, $plaats), array($key, $deelnemers[$key]["plaats"])), $competitie_gegevens["aantal_deelnemers"]);
            if ($kleuren["wit"] == $speler) {
                //WIT PRINTEN
                echo "<TR><TD>" . $partij["datum"] . "<TD>" . $speler_gegevens["naam"] . "<TD><a href=\"index.php?action=speler&competitie=" . $_GET['competitie'] . "&id=" . $key . "\">" . $deelnemers[$key]["naam"] . "</a>";
            } else {
                //ZWART PRINTEN
                echo "<TR><TD>" . $partij["datum"] . "<TD><a href=\"index.php?action=speler&competitie=" . $_GET['competitie'] . "&id=" . $key . "\">" . $deelnemers[$key]["naam"] . "</a><TD>" . $speler_gegevens["naam"];
            }
        }
        echo "</TABLE>";
    }
}
Example #8
0
<?
 //WEBSITE STARTUP
  include_once('../class_login2.php');
  include_once('../class_database.php');
  include_once('../class_competitie.php');
  include_once('../class_menu.php');

  $database = new database();
  $competitie = new competitie();  
  $login = new login(1, 0);
  $login->main();
  
  $menu = new menu();
  
  
  
  if(isset($_POST['speler_add']))       //SPELER TOEVOEGEN
  {
      $sql = "INSERT INTO svn_leden_teams (team_id, speler_id) VALUES (".$_POST["team"].",".$_POST['speler_add'].")";
      mysql_query($sql);
  }  
 if(isset($_GET['actie']) && $_GET['actie'] == "verwijderen")     //SPELER VERWIJDEREN
  {
        $sql = "DELETE FROM svn_leden_teams WHERE team_id = ".$_GET['team']." AND speler_id = ".$_GET['speler'];
        mysql_query($sql); 
  }   
        
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Example #9
0
<?
 //WEBSITE STARTUP
  include_once('../class_login2.php');
  include_once('../class_database.php');
  include_once('../class_menu.php');
  include_once('../class_competitie.php');
  
  $login = new login(1, 0);
  $login->main();
  
  $menu = new menu();
  $competitie = new competitie();
  $database = new database();

  if(isset($_POST['partij_id']) && isset($_POST['uitslag']))
  {
      $sql = "UPDATE svn_partijen SET uitslag = ".$_POST['uitslag']." WHERE id = ".$_POST['partij_id'];
      mysql_query($sql);
  }
  if(isset($_POST['partij_id']) && isset($_POST['reglementair']))
  {
      $sql = "UPDATE svn_partijen SET reglementair = ".$_POST['reglementair']." WHERE id = ".$_POST['partij_id'];
      mysql_query($sql);
  }
  
?>

<!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>
Example #10
0
<?
 //WEBSITE STARTUP
  include_once('../class_login2.php');
  include_once('../class_database.php');
  include_once('../class_menu.php');
  include_once('../class_competitie.php');

  $database = new database();
  $login = new login(1, 0);
  $login->main();
  
  $menu = new menu();
  $competitie = new competitie();
  
  if(isset($_GET['competitie']))
    $_GET['id'] = $_GET['competitie'];
  
  if(isset($_POST['actie']) && $_POST['actie'] != "")
  {
      if($_POST['actie'] == "verwijderen")
      {
          $sql = "DELETE FROM svn_competities WHERE id = ".$_POST['competitie_id'];
          mysql_query($sql);
      }
      if($_POST['actie'] == "wijzigen")
      {
          $sql = sprintf("UPDATE svn_competities SET naam = '%s', type_comp = ".$_POST['type_comp'].", stand_tempo = ".$_POST['stand_tempo'].", naam_uitgebreid = '%s', plaats = '%s', land = '%s', wedstrijdleider = '%s', speeltempo = '%s' WHERE id = ".$_POST['competitie_id'],$_POST['naam'],$_POST['naam_uitgebreid'],$_POST['plaats'],$_POST['land'],$_POST['wedstrijdleider'],$_POST['speeltempo']);
          mysql_query($sql);
      }
      header('location: http://www.svnieuwerkerk.nl/beheerOld/competitie/main.php');exit();
  }
Example #11
0
<?
 //WEBSITE STARTUP
  include_once('../class_login2.php');
  include_once('../class_database.php');
  include_once('../class_menu.php');
  include_once('../class_competitie.php');

  $database = new database();
  $login = new login(1, 0);
  $login->main();
  
  $menu = new menu();
  $_GET["competitie"] = $_SESSION["competitie_session"];
  $competitie = new competitie();
  $competitie_geg = $competitie->competitie_gegevens($_GET['competitie']);
?>

<!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" />
Example #12
0
<?php

//WEBSITE STARTUP
include_once 'class_login2.php';
$login = new login(0, 0);
$login->main();
include 'class_competitie.php';
$competitie = new competitie();
//MENU AANMAKEN
?>
<HTML> 
<HEAD> 
<TITLE></TITLE> 
<link href="http://www.svnieuwerkerk.nl/beheer/rrip.css" rel="stylesheet" type="text/css"> 
</HEAD> 

  <div id="menu">
    <ul>
        <li><a href="site.php?competitie=<? echo $_GET['competitie'];?>&action=spelers">Spelerslijst</a> 
        <li><a href="site.php?competitie=<? echo $_GET['competitie'];?>">Rangschikking</a> 
        <li><a href="site.php?competitie=<? echo $_GET['competitie'];?>&action=xref">Xref</a> 
    </ul>  
    Standen + Uitslagen
    <ul>
  
    <?
        $sql = "SELECT MAX(ronde) FROM svn_partijen WHERE comp_id = ".$_GET['competitie'];
        $result = mysql_query($sql);
        $row = mysql_fetch_array($result);
        
        for($a = $row[0]; $a > 0; $a--)