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"; $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 = "
"; $fin_div = "
"; if ($trombino) { $url_photo = $trombino_url."/".$username.$trombino_extension_fichier; $div_trombi = "
"; } $weight = ($groupe == $lib_personnel) ? $bold : ""; $lignes = $lignes . "
\n"; $pair = !$pair; } $html = $html . $lignes . "
nomprénomcomptegroupeheure connexionadresse IPbrowserid connexion
$div_trombi$nom$fin_div$div_trombi$prenom$fin_div$div_trombi$username$fin_div$groupe$debut$ip$browser$id
\n"; echo($html); ?>