\n"; } function xml_error($msg) { xml_header(); echo "$msg\n"; } function show_user_xml($user) { xml_header(); echo " $user->create_time ".htmlspecialchars($user->name)." $user->country $user->total_credit $user->expavg_credit $user->expavg_time $user->teamid ".htmlspecialchars($user->url)." $user->has_profile "; } ?>