echo "</div>\n"; } break; case "nhl_bracket": // STANLEY CUP $query = "select image from trophy_definitions\n\t where trophee_key = 'stanley_cup'"; $resultID = mysql_query($query, $pool->handle); $data = mysql_fetch_array($resultID); mysql_free_result($resultID); $trophy_image = $data["image"]; echo "<table align=\"center\" cellspacing=10 cellpadding=10>\n"; switch ($ronde_nhl) { case 1: echo "<tr>\n"; echo "<td align=\"center\">\n"; $playoffs2->affichage_ronde_nhl($pool, $id_pool, $id_saison, $ronde_nhl, 1, 1); echo "</td>\n"; echo "<td align=\"center\" rowspan=4>\n"; if ($trophy_image != "") { echo "<img src=\"{$trophy_image}\" border=0>\n"; } else { echo $trophy_def; } echo "</td>\n"; echo "<td align=\"center\">\n"; $playoffs2->affichage_ronde_nhl($pool, $id_pool, $id_saison, $ronde_nhl, 2, 1); echo "</td>\n"; echo "</tr>\n"; echo "<tr>\n"; echo "<td align=\"center\">\n"; $playoffs2->affichage_ronde_nhl($pool, $id_pool, $id_saison, $ronde_nhl, 1, 2);