. require_once("../inc/db.inc"); require_once("../inc/util.inc"); require_once("../inc/team.inc"); db_init(); $user = get_logged_in_user(); $teamid = get_int("id"); $team = lookup_team($teamid); if (!$team->joinable) { error_page("The team is not joinable."); } $team_name = $team->name; page_head("Join $team_name"); echo "
Please note: