$users = exec_query("select id,username as name,alias from users");
$hosts = exec_query("select id,hostname as name,alias from hosts");
$data["dictionaries"] = Array( "user_id" => $users, "host_id" => $hosts);
+ $data["online_refresh"] = $online_refresh;
+ $data["online_history"] = $online_history;
break;