teamid); if (!$team) { echo "no team"; exit(); } if ($team->userid != $user->id) { echo "Not founder"; exit(); } echo "