2002-08-07 18:56:55 +00:00
|
|
|
<?php
|
|
|
|
|
2003-08-22 05:36:25 +00:00
|
|
|
require_once("db.inc");
|
2002-08-07 18:56:55 +00:00
|
|
|
require_once("util.inc");
|
|
|
|
require_once("team.inc");
|
|
|
|
|
2003-03-19 21:01:32 +00:00
|
|
|
db_init();
|
2002-08-07 18:56:55 +00:00
|
|
|
|
2003-03-19 21:01:32 +00:00
|
|
|
$user = get_logged_in_user();
|
2003-03-21 04:38:55 +00:00
|
|
|
$teamid = $_GET["teamid"];
|
2002-08-07 18:56:55 +00:00
|
|
|
|
2003-03-21 04:38:55 +00:00
|
|
|
$result = mysql_query("select * from team where id=$teamid");
|
2003-03-19 21:01:32 +00:00
|
|
|
if ($result) {
|
|
|
|
$team = mysql_fetch_object($result);
|
|
|
|
mysql_free_result($result);
|
|
|
|
}
|
2002-12-16 21:41:41 +00:00
|
|
|
|
|
|
|
require_founder_login($user, $team);
|
|
|
|
|
2002-08-12 20:16:55 +00:00
|
|
|
page_head("$team->name Email List");
|
2003-03-21 04:38:55 +00:00
|
|
|
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");
|
2002-08-07 18:56:55 +00:00
|
|
|
if ($result) {
|
2003-03-21 04:38:55 +00:00
|
|
|
while($user = mysql_fetch_object($result)) {
|
|
|
|
row2_plain($user->name, $user->email_addr);
|
2002-08-07 18:56:55 +00:00
|
|
|
}
|
|
|
|
}
|
2003-03-21 04:38:55 +00:00
|
|
|
end_table();
|
2002-12-16 21:41:41 +00:00
|
|
|
|
2003-03-19 21:01:32 +00:00
|
|
|
page_tail();
|
2002-08-07 18:56:55 +00:00
|
|
|
|
|
|
|
?>
|