当前位置: 首页>>代码示例>>PHP>>正文


PHP interPool::getPlayersTradeClubEcole方法代码示例

本文整理汇总了PHP中interPool::getPlayersTradeClubEcole方法的典型用法代码示例。如果您正苦于以下问题:PHP interPool::getPlayersTradeClubEcole方法的具体用法?PHP interPool::getPlayersTradeClubEcole怎么用?PHP interPool::getPlayersTradeClubEcole使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在interPool的用法示例。


在下文中一共展示了interPool::getPlayersTradeClubEcole方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: split

        echo "<hr style=\"height:3px;color:black;background-color:black;width:90%;\"></hr>\n";
    }
}
echo "</div>\n";
// CLUB ÉCOLE
echo "<TABLE style=\"margin-left:3px;width:85%;margin-top:20px;\">\n";
echo "<TR class=\"tr_title\">\n";
echo "<TH CLASS=\"tableHeaderRoundCorner\" COLSPAN=50 style=\"font-size:16px;\">Club École</th>\n";
echo "</tr>\n";
echo "</table>\n";
if ($gerant_logged == $gerant_sel) {
    echo "<div id=\"equipeGerant_CE\" class=\"trade_prop_gerant_CE\" style=\"margin-left:10px;\">\n";
} else {
    echo "<div id=\"equipeAdv_CE\" class=\"trade_prop_adv_CE\" style=\"margin-left:10px;\">\n";
}
$playersCEgerant1 = $pool->getPlayersTradeClubEcole($id_pool, $gerant_sel, $periode, $id_saison);
foreach ($playersCEgerant1 as $value) {
    $valueA = split(":", $value);
    $rank = $valueA[0];
    $id_player = $valueA[1];
    $first_name = $valueA[2];
    $last_name = $valueA[3];
    $pos = $valueA[4];
    $team_abbr = $valueA[5];
    $total_pts = $valueA[6];
    $trading_block = $valueA[7];
    $team_logo = $valueA[8];
    $team_logo2 = $valueA[9];
    $url_photo = $valueA[10];
    $id_forecaster = $valueA[11];
    $logo2show = "color";
开发者ID:jfanctil,项目名称:lamoria,代码行数:31,代码来源:trade.php

示例2: foreach

                         echo "<OPTION disabled VALUE=\"{$rank}-{$id_player}-{$pos}-GC\" style=\"padding-right:10px;padding-top:2px;{$style_color};background-color:lightgray;\">" . "{$first_name['0']}. {$last_name} ({$pos}) - {$team_abbr} - {$pj_pool} pjp - {$total_pts} pts</OPTION>\n";
                     }
                     break;
             }
         }
     }
     // Affichage d'une ligne séparatrice entre les positions des joueurs (TM, G, D et Avants).
     if ($pos_en_trait != "F") {
         echo "<option disabled=\"disabled\">----------------------------</option>\n";
     }
 }
 ?>
   		          </OPTGROUP>
   		          <OPTGROUP LABEL="Club École">
   		          <?php 
 $playersCE = $pool->getPlayersTradeClubEcole($id_pool, $gerant_sel, $periode, $id_saison, $ballotage_liste_IR);
 foreach ($playersCE as $value) {
     $valueA = split(":", $value);
     $rank = $valueA[0];
     $id_player = $valueA[1];
     $first_name = $valueA[2];
     $last_name = $valueA[3];
     $pos = $valueA[4];
     $team_abbr = $valueA[5];
     $total_pts = $valueA[6];
     $trading_block = $valueA[7];
     if ($trading_block == 'Y') {
         continue;
     }
     if ($pool->isPlayerInjured($id_player, $pool->today, $id_saison)) {
         $style_color = "color:red;";
开发者ID:jfanctil,项目名称:lamoria,代码行数:31,代码来源:trade.php


注:本文中的interPool::getPlayersTradeClubEcole方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。