本文整理汇总了PHP中interPool::getTOIequipe方法的典型用法代码示例。如果您正苦于以下问题:PHP interPool::getTOIequipe方法的具体用法?PHP interPool::getTOIequipe怎么用?PHP interPool::getTOIequipe使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类interPool
的用法示例。
在下文中一共展示了interPool::getTOIequipe方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: list
$rang = $item['rang'];
$logo = $item['logo'];
$pj = $item['pj'];
$wins = $item['wins'];
$losses = $item['losses'];
$ties = $item['ties'];
$pts = $item['pts'];
$gf = $item['pts_pour'];
$ga = $item['pts_contre'];
$id_team = $item['id_team'];
$siteWeb = $item['siteWeb'];
$special_mark = $item['special_mark'];
$magic_number = $item['magic_number'];
$id_player = $item['id_player'];
$fiche = "{$wins}-{$losses}-{$ties}";
$last10_streak = $pool->getTOIequipe($id_saison, $id_player, $id_team);
list($last_10, $streak_tmp) = split("\\(", $last10_streak);
list($streak, $toto) = split("\\)", $streak_tmp);
$owner = $pool->getOwnerNHLTeam($id_pool, $id_saison, $id_team);
if ($owner == "") {
$owner = "pas de propriétaire...";
}
if ($rang == 9) {
echo "<tr><td class=\"tableCell9\" colspan=10><hr width=\"98%\"></hr></td></tr>\n";
}
echo "<tr>\n";
echo "<TD class=\"tableCell4\" align=\"center\">{$rang}</TD>\n";
echo "<TD align=\"left\">";
echo "<font style=\"vertical-align:50%;padding-right:4px;\">{$special_mark}</font>";
if ($siteWeb == "") {
echo "<img src=\"{$logo}\" width=23 height=23 onmouseover=\"ddrivetip('{$owner}','100');\" onmouseout=\"hideddrivetip();\">";
示例2: elseif
$hot = $valueA[33];
$cold = $valueA[34];
$hot_comment = $valueA[35];
$cold_comment = $valueA[36];
$team_logo2 = $valueA[37];
echo "<INPUT TYPE=\"HIDDEN\" ID=\"idPlayerRang{$rank}\" VALUE=\"{$id_player}\"/>";
echo "<INPUT TYPE=\"HIDDEN\" ID=\"teamLogoActif{$rank}\" VALUE=\"{$team_logo}\"/>";
echo "<INPUT TYPE=\"HIDDEN\" ID=\"teamLogoInactif{$rank}\" VALUE=\"{$team_logo2}\"/>";
// prédictions
$prediction_pts = $pool->predictionPtsJoueur2($id_pool, $id_saison, $periode, $periode_sel2, $id_player, $team_id);
if ($actif == "Y") {
$total_pts_prediction += $prediction_pts;
}
// Time On Ice
if ($pos == "TM" || $periode_sel2 < $periode) {
$fiche = $pool->getTOIequipe($id_saison, $id_player, $team_id);
// pour la compatibilité du code...
$toi_moy = $fiche;
} elseif ($pos == "G") {
$nbre_departs = 0;
$toiA = $pool->getTOIgardien($id_saison, $id_player, $team_id);
if (count($toiA) > 0) {
foreach ($toiA as $toi_date => $value) {
if ($value != "Pas joué") {
$nbre_departs++;
}
}
$toi_moy = "{$nbre_departs} / 5";
} else {
$toi_moy = "-";
}