Exemple #1
0
     echo "<TR onmouseover=\"setPointer3(this,'over','#266494','transparent','white');\" " . "onmouseout=\"setPointer3(this,'out','#266494','transparent','black','');\">\n";
 }
 if ($nbre_fois_dans_boucle == 1) {
     echo "<TD class=\"tableCellRidge1\" NOWRAP align='center'>{$rank}</TD>\n";
 } else {
     echo "<TD class=\"tableCellRidge1\" NOWRAP align='center'>-</TD>\n";
 }
 if ($pool->isPlayerInjured($id_player, $date_injury, $id_saison)) {
     $data = $pool->getInjuredPlayerDetail($id_player, $date_injury, $id_saison);
     $str = explode(":", $data);
     $tip = "En date du " . $str[3] . "<br/><br/><B>Blessure</B>: " . $str[0] . "<br/><B>Status</B>: " . $str[1] . "<br/><B>Retour au jeu</B>: " . $str[2];
     $tip = str_replace("'", "\\'", $tip);
     echo "<TD class=\"tableCellRidge1\" NOWRAP style=\"padding-left:5px;padding-right:5px;color:red;\">" . "<a class=\"player\" id=\"{$id_player}\" >" . "<font style=\"vertical-align:40%;\">{$playerInfoA['first_name']} {$playerInfoA['last_name']}</font></a>" . "<img class=\"injury_icon\" id=\"{$id_player}\" src=\"/images/red-cross.png\" border=0 width=20 height=20 />";
     echo "</TD>\n";
 } else {
     $dataA = $pool->isPlayerInjuredForce($id_pool, $periode_sel, $periode, $gerant_sel, $rank, $id_saison, $id_player);
     $force_injury = $dataA["force_injury"];
     $force_injury_raison = $dataA["force_injury_raison"];
     if ($force_injury == "Y") {
         $tip = $force_injury_raison;
         echo "<TD class=\"tableCellRidge1\" NOWRAP style=\"padding-left:5px;padding-right:5px;color:red;\">" . "<a class=\"player\" id=\"{$id_player}\">" . "<font style=\"vertical-align:40%;\">{$playerInfoA['first_name']} {$playerInfoA['last_name']}</font></a>" . "<img class=\"injury_icon\" id=\"{$id_player}\" src=\"/images/red-cross.png\" border=0 width=20 height=20 />";
         echo "</TD>\n";
     } else {
         if ($playerInfoA['pos'] != "TM") {
             echo "<TD class=\"tableCellRidge1\" NOWRAP style=\"padding-left:5px;padding-right:5px;\">" . "<a class=\"player\" id=\"{$id_player}\">" . "{$playerInfoA['first_name']} {$playerInfoA['last_name']}</a>";
         } else {
             echo "<TD class=\"tableCellRidge1\" NOWRAP style=\"padding-left:5px;padding-right:5px;\">" . "{$playerInfoA['last_name']} {$playerInfoA['first_name']}";
         }
         echo "</TD>\n";
     }
 }
Exemple #2
0
 $player_remplacantA = explode(":", $player_remplacant);
 if ($pool->isEven($row_compteur)) {
     echo "<TR style=\"background-color:transparent;\" " . "onmouseover=\"setPointer3(this,'over','#266494','transparent','white');\" " . "onmouseout=\"setPointer3(this,'out','#266494','transparent','black');\">\n";
 } else {
     echo "<TR style=\"background-color:transparent;\" " . "onmouseover=\"setPointer3(this,'over','#266494','transparent','white');\" " . "onmouseout=\"setPointer3(this,'out','#266494','transparent','black');\">\n";
 }
 // Joueur blessé (sur la liste IR)
 // latest news du joueur
 unset($latestNewsA);
 if ($pos != "TM") {
     $latestNewsA = $pool->getPlayerLatestNews($id_pool, $id_saison, $gerant, $player_IRA[0]);
 }
 if ($pool->isPlayerInjured($player_IRA[0], $date_injury, $id_saison)) {
     echo "<TD class=\"tableCellRidge1\" NOWRAP style=\"padding-left:5px;padding-right:5px;\">\n\t\t\t\t\t       <a href=\"a\" class=\"playerIR\" id=\"player{$player_IRA['0']}\">\n\t\t\t\t\t\t  <font style=\"vertical-align:40%;\">{$player_IRA['1']} </FONT></a>\n\t\t\t\t\t\t  <img class=\"injury_icon\" id=\"injured_{$player_IRA[0]}\" src=\"/interPool/images/red-cross.png\" border=0 width=20 height=20 />";
 } else {
     $dataA = $pool->isPlayerInjuredForce($id_pool, $periode_sel, $periode, $gerant_sel, $player_IRA[7], $id_saison, $player_IRA[0]);
     $force_injury = $dataA[0];
     $force_injury_raison = $dataA[1];
     if ($force_injury == "Y") {
         echo "<TD class=\"tableCellRidge1\" NOWRAP style=\"padding-left:5px;padding-right:5px;\">\n\t\t\t\t\t\t       <a href=\"a\" class=\"playerIR\" id=\"player{$player_IRA['0']}\">\n\t\t\t\t\t\t       <font style=\"vertical-align:40%;\">{$player_IRA['1']}</FONT></a>\n\t\t\t\t\t\t       <img class=\"injury_icon\" id=\"injured_{$player_IRA[0]}\" src=\"/interPool/images/red-cross.png\" border=0 width=20 height=20 />";
     } else {
         echo "<TD class=\"tableCellRidge1\" NOWRAP style=\"padding-left:5px;padding-right:5px;\">\n\t\t\t\t\t\t       <a href=\"a\" class=\"playerIR\" id=\"player{$player_IRA['0']}\">\n\t\t\t\t\t\t       {$player_IRA['1']}</a>";
     }
 }
 if (count($latestNewsA) > 0) {
     $latest_news = $latestNewsA[0];
     $date_insert_news = $latest_news['date_insert'];
     $date_insert_newsA = split(" ", $date_insert_news);
     $date_insert_news = $date_insert_newsA[0];
     $time_insert_news = $date_insert_newsA[1];
     list($year, $month, $day) = split("-", $date_insert_news);