'); $publicTeams = getPublicTeamsQuietly($teamsList); $publicTeamCounter = count($publicTeams); $publicTeamCounter1 = 0; echo ('All Teams'); foreach ($publicTeams as $publicTeam) { if ($publicTeamCounter1 >= $publicTeamCounter or $publicTeamCounter == 0 or $publicTeam['name'] == '') continue; echo ('<'.$publicTeam['name'].''); echo (''.$publicTeam['description'].''); $publicTeamCounter1++; } if ($publicTeamCounter == 0 or $publicTeamCounter1 == 0) { echo ('Nothing to show!'); } // / The following code represents the "My Teams" sidebar section. $myTeams = getMyTeamsQuietly($teamsList); $myTeamCounter = count($myTeams); $myTeamCounter1 = 0; echo ('My Teams'); foreach ($myTeams as $myTeam) { if ($myTeamCounter1 >= $myTeamCounter or $myTeamCounter == 0 or $myTeam['name'] == '') continue; echo (''.$myTeam['name'].''); echo (''.$myTeam['description'].''); $myTeamCounter1++; } if ($myTeamCounter == 0 or $myTeamCounter1 == 0) { echo ('Nothing to show!'); } echo('
');