$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);
$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);