$id_team = $teamInfoA['id']; $city = $teamInfoA['city']; $team_name = $teamInfoA['name']; $abbr = $teamInfoA['abbr']; $logo = $teamInfoA['logo']; $siteWeb = $teamInfoA['siteWeb']; $tip_team = "{$city} {$team_name}"; $tip_team = str_replace("'", "\\'", $tip_team); if ($tip_team == "" || $tip_team == " " || $tip_team == " ") { $tip_team = "Not Available"; } if ($abbr == "") { $abbr = "N/A"; } // info ligue $ligueInfoA = $pool->getTeamLigueInfoForecaster($ligue); $id_ligue = $ligueInfoA['id']; $ligue_name = $ligueInfoA['name']; $ligue_type = $ligueInfoA['type']; $ligue_logo = $ligueInfoA['logo']; $ligue_siteWeb = $ligueInfoA['siteWeb']; $ligue = $ligueInfoA['abbr_fore_1']; $tip_ligue = "{$ligue_name} ({$ligue_type})"; $tip_ligue = str_replace("'", "\\'", $tip_ligue); echo "<tr>\n"; echo "<td class=\"tableCellRidge1\" style=\"padding-left:3px;padding-top:3px;padding-bottom:3px;font-size:10px;\">{$saison_name}</td>\n"; if ($logo != "") { echo "<td class=\"tableCellRidge1\" align=\"center\" style=\"font-size:10px;\" " . "onmouseover=\"ddrivetip('{$tip_team}',175);\" onmouseout=\"hideddrivetip();\">" . "<a href=\"{$siteWeb}\" target=\"_blank\"><img src=\"{$logo}\" border=0 /></a></td>\n"; } else { echo "<td class=\"tableCellRidge1\" align=\"center\" style=\"font-size:10px;\" " . "onmouseover=\"ddrivetip('{$tip_team}',175);\" onmouseout=\"hideddrivetip();\">" . "<a href=\"{$siteWeb}\" target=\"_blank\">{$abbr}</a></td>\n"; }