$x
";
exit();
}
$xml = get_int('xml', true);
if ($xml) {
require_once("../inc/xml.inc");
xml_header();
if (!$team) {
error("no such team");
}
$account_key = get_str('account_key', true);
$user = lookup_user_auth($account_key);
if (!$user || $team->userid != $user->id) {
error("not founder");
}
echo "
";
$result = mysql_query("select * from user where teamid=$team->id");
while ($user = mysql_fetch_object($result)) {
show_team_member($user);
}
echo "
";
exit();
}
$user = get_logged_in_user();
require_founder_login($user, $team);
page_head("$team->name Email List");
start_table();
row1("Member list of $team->name");
row2_plain("Name", "Email address");
$result = mysql_query("select * from user where teamid=$team->id");
while ($user = mysql_fetch_object($result)) {
row2_plain($user->name, $user->email_addr);
}
mysql_free_result($result);
end_table();
page_tail();
?>