.
require_once("../inc/boinc_db.inc");
require_once("../inc/util.inc");
require_once("../inc/team.inc");
check_get_args(array());
$user = get_logged_in_user();
page_head(tra("Create a team"));
if ($user->teamid) {
$team = BoincTeam::lookup_id($user->teamid);
echo tra("You belong to %1. You must %2quit this team%3 before creating a new one.", "id."\">".$team->name."", "", "");
} else {
team_edit_form(null, tra("Create a team"), "team_create_action.php");
}
page_tail();
?>