本文整理汇总了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";
示例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;";