. require_once("../inc/boinc_db.inc"); require_once("../inc/xml.inc"); xml_header(); $retval = db_init_xml(); if ($retval) xml_error($retval); check_get_args(array("account_key")); $auth = get_str("account_key"); $user = BoincUser::lookup_auth($auth); if (!$user) { xml_error(ERR_DB_NOT_FOUND); } $name = urlencode($user->name); $country = urlencode($user->country); $postal_code = urlencode($user->postal_code); $url = urlencode($user->url); $weak_auth = weak_auth($user); $cpid = md5($user->cross_project_id.$user->email_addr); $ret = "$user->id $name $country $weak_auth $postal_code $cpid $user->has_profile $user->create_time $user->global_prefs $user->project_prefs $url $user->send_email $user->show_hosts $user->teamid $user->venue"; if ($user->teamid) { $team = BoincTeam::lookup_id_nocache($user->teamid); if ($team->userid == $user->id) { $ret = $ret . "\n"; } } echo " $ret "; ?>