2002-08-07 18:56:55 +00:00
|
|
|
<?php
|
|
|
|
|
2004-02-02 23:34:39 +00:00
|
|
|
require_once("../inc/db.inc");
|
|
|
|
require_once("../inc/util.inc");
|
2004-11-18 20:01:12 +00:00
|
|
|
require_once("../inc/email.inc");
|
2004-02-02 23:34:39 +00:00
|
|
|
require_once("../inc/team.inc");
|
2002-08-07 18:56:55 +00:00
|
|
|
|
2005-02-19 08:06:53 +00:00
|
|
|
db_init();
|
2002-08-07 18:56:55 +00:00
|
|
|
|
2005-02-19 08:06:53 +00:00
|
|
|
$user = get_logged_in_user();
|
|
|
|
$teamid = get_int("teamid");
|
|
|
|
$team = lookup_team($teamid);
|
|
|
|
require_founder_login($user, $team);
|
2002-12-16 21:41:41 +00:00
|
|
|
|
2005-02-19 08:06:53 +00:00
|
|
|
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");
|
|
|
|
while ($user = mysql_fetch_object($result)) {
|
|
|
|
if (!split_munged_email_addr($user->email_addr, null, $email)) {
|
|
|
|
$email = $user->email_addr;
|
|
|
|
}
|
|
|
|
row2_plain($user->name, $email);
|
|
|
|
}
|
|
|
|
mysql_free_result($result);
|
|
|
|
end_table();
|
2002-12-16 21:41:41 +00:00
|
|
|
|
2005-02-19 08:06:53 +00:00
|
|
|
page_tail();
|
2002-08-07 18:56:55 +00:00
|
|
|
|
|
|
|
?>
|