2004-07-21 21:42:30 +00:00
|
|
|
<?php
|
2004-06-07 03:34:07 +00:00
|
|
|
|
|
|
|
require_once("../inc/db.inc");
|
|
|
|
require_once("../inc/util.inc");
|
|
|
|
|
|
|
|
db_init();
|
|
|
|
|
|
|
|
$user = get_logged_in_user(true);
|
|
|
|
|
|
|
|
page_head("Team management");
|
|
|
|
$team = lookup_team($user->teamid);
|
|
|
|
|
|
|
|
if (!$team) {
|
|
|
|
echo "no team";
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
if ($team->userid != $user->id) {
|
|
|
|
echo "Not founder";
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
|
|
|
|
echo "
|
2004-11-21 18:56:30 +00:00
|
|
|
<ul>
|
|
|
|
<li><a href=team_edit_form.php?teamid=$team->id>Edit team info</a>
|
|
|
|
<li><a href=team_remove_inactive_form.php?teamid=$team->id>Remove inactive members</a>
|
|
|
|
<li><a href=team_email_list.php?teamid=$team->id>View team email addresses</a>
|
|
|
|
</ul>
|
2004-06-07 03:34:07 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
page_tail();
|
|
|
|
?>
|