break; case 'stat_allusers': $selection = 'stat all users'; $data = $unifidata->stat_allusers(); break; case 'stat_auths': $selection = 'stat active authorisations'; $data = $unifidata->stat_auths(); break; case 'list_guests': $selection = 'list guests'; $data = $unifidata->list_guests(); break; case 'stat_hourly_site': $selection = 'hourly site stats'; $data = $unifidata->stat_hourly_site(); break; case 'stat_sysinfo': $selection = 'sysinfo'; $data = $unifidata->stat_sysinfo(); break; case 'stat_hourly_aps': $selection = 'hourly ap stats'; $data = $unifidata->stat_hourly_aps(); break; case 'stat_daily_site': $selection = 'daily site stats'; $data = $unifidata->stat_daily_site(); break; case 'list_devices': $selection = 'list devices';