$textdiv .= '<div class="jlplplaneleaguename">'; $textdiv .= $match->project_name; $textdiv .= '</div>'; } if ($params->get('show_league_name', 0)) { $textdiv .= '<div class="jlplplaneleaguename">'; $textdiv .= $match->league_name; $textdiv .= '</div>'; } $textdiv .= '<div>'; $textdiv .= '<div class="jlplplanetname">'; if ($params->get('show_club_logo')) { $team1logo = modJLGPlaygroundplanHelper::getTeamLogo($match->team1); $textdiv .= '<p>' . JHtml::image($team1logo, "") . '</p>'; } $textdiv .= '<p>' . modJLGPlaygroundplanHelper::getTeams($match->team1, $teamformat) . '</p>'; $textdiv .= '</div>'; $textdiv .= '<div class="jlplplanetnamesep"> - </div>'; $textdiv .= '<div class="jlplplanetname">'; if ($params->get('show_club_logo')) { $team2logo = modJLGPlaygroundplanHelper::getTeamLogo($match->team2); $textdiv .= '<p>' . JHtml::image($team2logo, "") . '</p>'; } $textdiv .= '<p>' . modJLGPlaygroundplanHelper::getTeams($match->team2, $teamformat) . '</p>'; $textdiv .= '</div>'; $textdiv .= '</div>'; $textdiv .= '<div style="clear:both"></div>'; $textdiv .= '</div>'; } echo $textdiv; echo '</div>';