// Set that authentication occurred. $sess->setSessVar('id_pool', $id_pool); // Store the ligue_id in the session $sess->setSessVar('user', $user); // Store the username in the session $sess->setSessVar('application', 'interpool'); // Store the application in the session $sess->setSessVar('periode', $periode); $sess->setSessVar('periode_sel', $periode); $sess->setSessVar('gerant', $rtnL[1]); $sess->setSessVar('gerant_sel', $rtnL[1]); $sess->setSessVar('admin', $rtnL[2]); $sess->setSessVar('id_saison', $id_saison); $sess->setSessVar('poolName', $rtnL[3]); $sess->setSessVar('pool_type', $pool_type); $pool->writeCookie($user, $pswd, $id_pool, "lge"); $pool->dbClose(); header("Location: /src/main2.php"); exit; } $pool->dbClose(); } } } else { if (!isset($_GET['logout'])) { $pool = new interPool(); if (!is_null($pool->readCookie("lge"))) { $cValue = $pool->readCookie("lge"); $cValueA = explode(":", $cValue); $username = $cValueA[0]; $password = $cValueA[1];
// Set that authentication occurred. $sess->setSessVar('id_pool', $id_pool); // Store the ligue_id in the session $sess->setSessVar('user', $user); // Store the username in the session $sess->setSessVar('application', 'interpool'); // Store the application in the session $sess->setSessVar('periode', $periode); //$sess->setSessVar('periode_sel',$periode); $sess->setSessVar('gerant', $rtnL[1]); $sess->setSessVar('gerant_sel', $rtnL[1]); $sess->setSessVar('admin', $rtnL[2]); $sess->setSessVar('id_saison', $id_saison); $sess->setSessVar('poolName', $rtnL[3]); $sess->setSessVar('pool_type', $pool_type); $pool->writeCookie($user, $pswd, $id_pool, "pmh"); $pool->dbClose(); header("Location: /src/main2.php"); exit; } $pool->dbClose(); } } } else { if (!isset($_GET['logout'])) { $pool = new interPool(); if (!is_null($pool->readCookie("pmh"))) { $cValue = $pool->readCookie("pmh"); $cValueA = explode(":", $cValue); $username = $cValueA[0]; $password = $cValueA[1];
$sess->setSessVar('authenticated', TRUE); // Set that authentication occurred. $sess->setSessVar('id_pool', $id_pool); // Store the ligue_id in the session $sess->setSessVar('user', $user); // Store the username in the session $sess->setSessVar('application', 'interpool'); // Store the application in the session $sess->setSessVar('periode', $periode); $sess->setSessVar('gerant', $rtnL[1]); $sess->setSessVar('gerant_sel', $rtnL[1]); $sess->setSessVar('admin', $rtnL[2]); $sess->setSessVar('id_saison', $id_saison); $sess->setSessVar('poolName', $rtnL[3]); $sess->setSessVar('pool_type', $pool_type); $pool->writeCookie($user, $pswd, $id_pool, "st-nic"); $pool->dbClose(); header("Location: /src/main2.php"); exit; } $pool->dbClose(); } } } else { if (!isset($_GET['logout'])) { $pool = new interPool(); if (!is_null($pool->readCookie("st-nic"))) { $cValue = $pool->readCookie("st-nic"); $cValueA = explode(":", $cValue); $username = $cValueA[0]; $password = $cValueA[1];
// Set that authentication occurred. $sess->setSessVar('id_pool', $id_pool); // Store the ligue_id in the session $sess->setSessVar('user', $user); // Store the username in the session $sess->setSessVar('application', 'interpool'); // Store the application in the session $sess->setSessVar('periode', $periode); $sess->setSessVar('periode_sel', $periode); $sess->setSessVar('gerant', $rtnL[1]); $sess->setSessVar('gerant_sel', $rtnL[1]); $sess->setSessVar('admin', $rtnL[2]); $sess->setSessVar('id_saison', $id_saison); $sess->setSessVar('poolName', $rtnL[3]); $sess->setSessVar('pool_type', $pool_type); $pool->writeCookie($user, $pswd, $id_pool, "poolvpti"); $pool->dbClose(); header("Location: /src/main2.php"); exit; } $pool->dbClose(); } } } else { if (!isset($_GET['logout'])) { $pool = new interPool(); if (!is_null($pool->readCookie("poolvpti"))) { $cValue = $pool->readCookie("poolvpti"); $cValueA = explode(":", $cValue); $username = $cValueA[0]; $password = $cValueA[1];
// Set that authentication occurred. $sess->setSessVar('id_pool', $id_pool); // Store the ligue_id in the session $sess->setSessVar('user', $user); // Store the username in the session $sess->setSessVar('application', 'interpool'); // Store the application in the session $sess->setSessVar('periode', $periode); //$sess->setSessVar('periode_sel',$periode); $sess->setSessVar('gerant', $rtnL[1]); $sess->setSessVar('gerant_sel', $rtnL[1]); $sess->setSessVar('admin', $rtnL[2]); $sess->setSessVar('id_saison', $id_saison); $sess->setSessVar('poolName', $rtnL[3]); $sess->setSessVar('pool_type', $pool_type); $pool->writeCookie($user, $pswd, $id_pool, "bchtl"); $pool->dbClose(); header("Location: /bchtl{$dev}/src/main2.php"); exit; } $pool->dbClose(); } } } else { if (!isset($_GET['logout'])) { $pool = new interPool(); if (!is_null($pool->readCookie("bchtl"))) { $cValue = $pool->readCookie("bchtl"); $cValueA = explode(":", $cValue); $username = $cValueA[0]; $password = $cValueA[1];
// Set that authentication occurred. $sess->setSessVar('id_pool', $id_pool); // Store the ligue_id in the session $sess->setSessVar('user', $user); // Store the username in the session $sess->setSessVar('application', 'interpool'); // Store the application in the session $sess->setSessVar('periode', $periode); $sess->setSessVar('periode_sel', $periode); $sess->setSessVar('gerant', $rtnL[1]); $sess->setSessVar('gerant_sel', $rtnL[1]); $sess->setSessVar('admin', $rtnL[2]); $sess->setSessVar('id_saison', $id_saison); $sess->setSessVar('poolName', $rtnL[3]); $sess->setSessVar('pool_type', $pool_type); $pool->writeCookie($user, $pswd, $id_pool, "bliz"); $pool->dbClose(); header("Location: /src/main2.php"); exit; } $pool->dbClose(); } } } else { if (!isset($_GET['logout'])) { $pool = new interPool(); if (!is_null($pool->readCookie("bliz"))) { $cValue = $pool->readCookie("bliz"); $cValueA = explode(":", $cValue); $username = $cValueA[0]; $password = $cValueA[1];
// Set that authentication occurred. $sess->setSessVar('id_pool', $id_pool); // Store the ligue_id in the session $sess->setSessVar('user', $user); // Store the username in the session $sess->setSessVar('application', 'interpool'); // Store the application in the session $sess->setSessVar('periode', $periode); //$sess->setSessVar('periode_sel',$periode); $sess->setSessVar('gerant', $rtnL[1]); $sess->setSessVar('gerant_sel', $rtnL[1]); $sess->setSessVar('admin', $rtnL[2]); $sess->setSessVar('id_saison', $id_saison); $sess->setSessVar('poolName', $rtnL[3]); $sess->setSessVar('pool_type', $pool_type); $pool->writeCookie($user, $pswd, $id_pool, "poolailler"); $pool->dbClose(); header("Location: /poolailler{$dev}/src/main2.php"); exit; } $pool->dbClose(); } } } else { if (!isset($_GET['logout'])) { $pool = new interPool(); if (!is_null($pool->readCookie("poolailler"))) { $cValue = $pool->readCookie("poolailler"); $cValueA = explode(":", $cValue); $username = $cValueA[0]; $password = $cValueA[1];