mirror of https://github.com/BOINC/boinc.git
35 lines
792 B
PHP
35 lines
792 B
PHP
<?php
|
|
|
|
require_once("db.inc");
|
|
require_once("util.inc");
|
|
require_once("team.inc");
|
|
|
|
db_init();
|
|
|
|
$user = get_logged_in_user();
|
|
$teamid = $_GET["teamid"];
|
|
|
|
$result = mysql_query("select * from team where id=$teamid");
|
|
if ($result) {
|
|
$team = mysql_fetch_object($result);
|
|
mysql_free_result($result);
|
|
}
|
|
|
|
require_founder_login($user, $team);
|
|
|
|
page_head("$team->name Email List");
|
|
start_table();
|
|
row1("Member list of $team->name");
|
|
row2_plain("<b>Name</b>", "<b>Email address</b>");
|
|
$result = mysql_query("select * from user where teamid=$team->id");
|
|
if ($result) {
|
|
while($user = mysql_fetch_object($result)) {
|
|
row2_plain($user->name, $user->email_addr);
|
|
}
|
|
}
|
|
end_table();
|
|
|
|
page_tail();
|
|
|
|
?>
|