et rechargée à intervalles réguliers par le script wifi.php. include_once("winlog_admin_conf.php"); include_once('connexions.php'); include_once('session.php'); $username = Username(); $profil = Profil($username); FiltreProfil($profil); $trombino = false; if ($trombino_url != "") { $trombino = true; } $connexions_wifi = Connexions_wifi(); $html = "
Nb connexions déjà établies : ". count($connexions_wifi);
$html = $html . "\n
\n";
echo($html);
?>
nom prénom compte groupe heure connexion adresse IP browser id connexion \n";
$lignes = "";
$pair = false;
$bold = "style=\"font-weight: bold;\"";
foreach ($connexions_wifi as $i => $con_wifi) {
$nom = $con_wifi["nom"];
$prenom = $con_wifi["prenom"];
$username = $con_wifi["username"];
$groupe = $con_wifi["groupe"];
$debut = $con_wifi["debut"];
$ip = $con_wifi["ip"];
$browser = $con_wifi["browser"];
$id = $con_wifi["id"];
$style = ($pair) ? "even" : "odd";
$div_trombi = "";
}
$weight = ($groupe == $lib_personnel) ? $bold : "";
$lignes = $lignes . "
\n";
$pair = !$pair;
}
$html = $html . $lignes . "$div_trombi$nom$fin_div $div_trombi$prenom$fin_div $div_trombi$username$fin_div $groupe $debut $ip $browser $id