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 = "
nom | prénom | compte | heure connexion | adresse IP | browser | id connexion | \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 . "
---|---|---|---|---|---|---|
$nom | $prenom | $username | $debut | $ip | $browser | $id |