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); $connexions_wifi = Connexions_wifi(); $html = "

Nb connexions déjà établies : ". count($connexions_wifi); $html = $html . "\n\n"; $lignes = ""; $pair = false; foreach ($connexions_wifi as $i => $con_wifi) { $nom = $con_wifi["nom"]; $prenom = $con_wifi["prenom"]; $username = $con_wifi["username"]; $debut = $con_wifi["debut"]; $ip = $con_wifi["ip"]; $browser = $con_wifi["browser"]; $id = $con_wifi["id"]; $style = ($pair) ? "even" : "odd"; $lignes = $lignes . "\n"; $pair = !$pair; } $html = $html . $lignes . "
nomprénomcompteheure connexionadresse IPbrowserid connexion
$nom$prenom$username$debut$ip$browser$id
\n"; echo($html); ?>