Пример #1
0
     if ($pos != "TM") {
         echo "<TD class=\"tableCellRidge1\" NOWRAP style=\"padding-left:5px;padding-right:5px;{$text_style};{$style_play_tonight};\">\n          \t\t\t          {$first_name['0']}. {$last_name}";
     } else {
         echo "<TD class=\"tableCellRidge1\" NOWRAP style=\"padding-left:5px;padding-right:5px;{$text_style};{$style_play_tonight};\">{$last_name}";
     }
 }
 echo "</TD>\n";
 echo "<TD class=\"tableCellRidge1\" NOWRAP align='center' style=\"{$text_style};\">{$pos}</TD>\n";
 if ($played_yest == "Y") {
     echo "<TD class=\"tableCellRidge1\" align='center' width=65 height=35 NOWRAP>" . "<A href=\"{$team_link}\" TARGET=\"_BLANK\">" . "<IMG src=\"{$team_logo}\" BORDER=0/></A>&nbsp;&nbsp;" . "<font style=\"vertical-align:top;font-size:10px;font-weight:bold;color:blue;\">" . "{$goals_scored_by_team}</font></TD>\n";
 } else {
     echo "<TD class=\"tableCellRidge1\" align='center' width=65 height=35 NOWRAP>" . "<A href=\"{$team_link}\" TARGET=\"_BLANK\">" . "<IMG src=\"{$team_logo}\" BORDER=0/></A>&nbsp;&nbsp;" . "<font style=\"vertical-align:top;font-size:10px;\">&nbsp;&nbsp;</font></TD>\n";
 }
 echo "<TD class=\"tableCellRidge1\" NOWRAP align='center' " . "style=\"{$text_style};empty-cells:show;\"></TD>\n";
 // pts par match du joueur...
 $data2A = $playoffs2->getEquipeDetailJoueur($id_pool, $id_saison, $pool, $id_player);
 unset($pts_par_match_par_ronde_joueurA);
 if (count($data2A) > 0) {
     foreach ($data2A as $itemA) {
         $my_ronde = $itemA[ronde];
         $my_match_no = $itemA[match_no];
         $my_pts = $itemA[pts];
         $pts_par_match_par_ronde_joueurA[$my_ronde][$my_match_no] = $my_pts;
         $total_pts_par_matchA[$my_ronde][$my_match_no] += $my_pts;
     }
     for ($j = 1; $j <= 7; $j++) {
         echo "<td class=\"tableCellRidge1\" align=center style=\"{$text_style};\">\n";
         for ($i = 1; $i <= $ronde_nhl; $i++) {
             if ($pts_par_match_par_ronde_joueurA[$i][$j] != "") {
                 switch ($i) {
                     case "1":