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


PHP interPool::getTeamInfo方法代码示例

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


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

示例1:

        echo $pmb->end_round();
        ?>
     </CENTER>
     
     <br>

     <CENTER>
     <?php 
        echo $pmb->begin_round("1000", "", "000000");
        //  (width, fillcolor, edgecolor)
        if ($lineup_sel_team == "") {
            echo "<CENTER>\n";
            echo "<p>Cliquez sur une équipe pour afficher sa formation complète</p>\n";
            echo "</CENTER>\n";
        } else {
            $team_infoA = $pool->getTeamInfo($lineup_sel_team);
            $team_logo = $team_infoA["logo"];
            $team_city = $team_infoA["city"];
            $team_name = $team_infoA["name"];
            echo "<TABLE CLASS=\"joueurs_nhl\" ALIGN=\"CENTER\" border=1>\n";
            echo "<TR>\n";
            echo "<TH COLSPAN=6 CLASS=\"joueurs_nhl\">" . "<IMG SRC=\"{$team_logo}\" style=\"margin-right:5px;\"/>" . "<FONT style=\"vertical-align:60%;margin-right:3px;text-decoration:underline;\">" . "{$team_city} {$team_name}</FONT></TH>\n";
            echo "</TR>\n";
            echo "<TR>\n";
            echo "<TH CLASS=\"joueurs_nhl\">AG</TH>\n";
            echo "<TH CLASS=\"joueurs_nhl\">C</TH>\n";
            echo "<TH CLASS=\"joueurs_nhl\">AD</TH>\n";
            echo "<TH CLASS=\"joueurs_nhl\">DG</TH>\n";
            echo "<TH CLASS=\"joueurs_nhl\">DD</TH>\n";
            echo "<TH CLASS=\"joueurs_nhl\">G</TH>\n";
            echo "</TR>\n";
开发者ID:jfanctil,项目名称:lamoria,代码行数:31,代码来源:admin.php

示例2: foreach

 echo "<br>\n";
 echo "<table cellpadding=0 cellspacing=0 border=0 style=\"margin-left:10px;\">\n";
 echo "<tr>\n";
 $title = "Joueurs que chaque gérant est prêt à échanger";
 echo "<th CLASS=\"tableHeaderRoundCorner\" COLSPAN=50 style=\"font-size:14px;\">Trading Block" . "<img src=\"/images/ObjectIconInfo.gif\" class=\"info_bulle_tradingBlock\" title=\"{$title}\" style=\"margin-left:10px;vertical-align:bottom;\" /></th>\n";
 echo "</tr>\n";
 echo "<tr>\n";
 foreach ($dataA as $itemA) {
     $this_gerant = $itemA['gerant'];
     $this_gerantA[] = $this_gerant;
     $this_dataGerantA[] = $itemA;
 }
 $prev_gerant = "";
 foreach ($this_gerantA as $index => $this_gerant) {
     $infoGerantA = $pool->getGerantProfil($id_pool, $this_gerant, $id_saison);
     $logo_gerantA = $pool->getTeamInfo($infoGerantA['nhl_team']);
     $logo_gerant = $logo_gerantA['logo'];
     if ($prev_gerant == "") {
         $prev_gerant = $this_gerant;
         isset($gravatarA[$this_gerant]) ? $src_logo = $pool->getGravatar($gravatarA[$this_gerant], 22, $logo_gerant) : ($src_logo = $logo_gerant);
         echo "<td CLASS=\"tableCell2\" nowrap align='center'>" . "<img src=\"{$src_logo}\" style=\"margin-right:5px;margin-top:3px;margin-bottom:3px;margin-left:3px;\" />" . "<FONT style=\"vertical-align:70%;margin-right:3px;\">{$infoGerantA['nickname']}";
     }
     if ($this_gerant != $prev_gerant) {
         $prev_gerant = $this_gerant;
         isset($gravatarA[$this_gerant]) ? $src_logo = $pool->getGravatar($gravatarA[$this_gerant], 22, $logo_gerant) : ($src_logo = $logo_gerant);
         echo "</td>\n";
         echo "<td CLASS=\"tableCell2\" nowrap align='center'>" . "<img src=\"{$src_logo}\" style=\"margin-right:5px;margin-top:3px;margin-bottom:3px;margin-left:3px;\" />" . "<FONT style=\"vertical-align:70%;margin-right:3px;\">{$infoGerantA['nickname']}";
     }
 }
 echo "</td>\n";
 echo "</tr>\n";
开发者ID:jfanctil,项目名称:lamoria,代码行数:31,代码来源:tradecenter.php

示例3: count

echo "<td nowrap style=\"padding-left:5px;padding-right:5px;padding-top:5px;padding-bottom:5px;\">\n";
if ($ponderationsA["saison_3"] != "") {
    echo "il y a 3 ans: " . $ponderationsA["saison_3"] . "%";
    echo "<input type=\"hidden\" id=\"pond_saison_3\" value=\"" . $ponderationsA["saison_3"] . "\">\n";
} else {
    echo "il y a 3 ans: 0%";
    echo "<input type=\"hidden\" id=\"pond_saison_3\" value=\"0\" />\n";
}
echo "</td>\n";
echo "</tr>\n";
echo "</table>\n";
$colspan_predict = count($revuesA) + 4;
echo "<TABLE CLASS=\"drafts_stats\" ALIGN=\"center\" border=1>\n";
echo "<tr>\n";
if ($kit_rapport_choix_team != 0) {
    $teamInfoA = $pool->getTeamInfo($kit_rapport_choix_team);
    $team_logo = $teamInfoA["logo"];
    $team_city = $teamInfoA["city"];
    $team_name = $teamInfoA["name"];
    $team_website = $teamInfoA["siteWeb"];
    if ($team_city == "Anaheim") {
        $vertical_align = "vertical-align:50%;";
    } else {
        $vertical_align = "";
    }
    echo "<TH COLSPAN=30 CLASS=\"drafts_stats\">" . "<A href=\"{$team_website}\" target=\"_blank\">" . "<IMG SRC=\"{$team_logo}\" style=\"margin-right:5px;{$vertical_align}\" border=0/></a>" . "<FONT style=\"vertical-align:60%;margin-right:3px;text-decoration:underline;\">" . "{$team_city} {$team_name}</TH>\n";
    echo "</TR>\n";
}
echo "<th class=\"drafts_stats\" colspan=4>" . "<font style=\"font-size:10px;font-weight:normal;\" >*: prospect, \$: RFA, \$\$\$: UFA, ??: pas de contrat</font></th>\n";
echo "<th class=\"drafts_stats\"></th>\n";
if ($salary_cap_enabled == "Y") {
开发者ID:jfanctil,项目名称:lamoria,代码行数:31,代码来源:rapport_draftKit_impr.php

示例4: list

             $live_pts_style = "background-color:red;";
             break;
         case 6:
             $live_pts_style = "background-color:brown;";
             break;
         default:
             $live_pts_style = "background-color:lightgreen;";
             break;
     }
 }
 echo "<TD NOWRAP align='center' style=\"{$live_pts_style}\">{$live_pts}</TD>\n";
 $adversaire = $pool->playoffs_getAdversaires($id_team);
 list($id_team_adv, $time) = split(";", $adversaire);
 if ($id_team_adv[0] == "@") {
     $my_id_team_adv = substr($id_team_adv, 1);
     $adv_team_info = $pool->getTeamInfo($my_id_team_adv);
 } else {
     $adv_team_info = $pool->getTeamInfo($id_team_adv);
 }
 $adv_abbr = $adv_team_info["abbr"];
 $team_info = $pool->getTeamInfo($id_team);
 $team_abbr = $team_info["abbr"];
 if (!$en_cours && !$gm_finished) {
     echo "<TD NOWRAP style=\"padding-left:5px;padding-right:5px;\">{$adv_abbr} - {$time}</td>\n";
 } else {
     if ($id_team_adv[0] == "@") {
         echo "<TD NOWRAP style=\"padding-left:5px;padding-right:5px;\">{$team_abbr} {$team_goals}, {$adv_abbr} {$adv_goals} - {$temps_ecoule}</td>\n";
     } else {
         echo "<TD NOWRAP style=\"padding-left:5px;padding-right:5px;\">{$adv_abbr} {$adv_goals}, {$team_abbr} {$team_goals} - {$temps_ecoule}</td>\n";
     }
 }
开发者ID:jfanctil,项目名称:lamoria,代码行数:31,代码来源:face2face.php

示例5:

 echo "<CENTER>\n";
 echo "<select name=\"cb_choix_affichage\" size=1 " . "onChange=\"javascript:document.joueurs_nhl_form.id_team_selected.value='{$id_team_selected}';document.joueurs_nhl_form.submit();\">\n";
 if ($choix_affichage == "lineup") {
     echo "<OPTION VALUE='lineup' selected>Lineup</OPTION>\n";
 } else {
     echo "<OPTION VALUE='lineup'>Lineup</OPTION>\n";
 }
 if ($choix_affichage == "in_system") {
     echo "<OPTION VALUE='in_system' selected>In system</OPTION>\n";
 } else {
     echo "<OPTION VALUE='in_system'>In system</OPTION>\n";
 }
 echo "</select>\n";
 echo "</CENTER>\n";
 echo "<br><br>\n";
 $team_infoA = $pool->getTeamInfo($id_team_selected);
 $team_logo = $team_infoA["logo"];
 $team_city = $team_infoA["city"];
 $team_name = $team_infoA["name"];
 $team_website = $team_infoA["siteWeb"];
 if ($team_city == "Anaheim") {
     $vertical_align = "vertical-align:50%;";
 } else {
     $vertical_align = "";
 }
 echo "<div id=\"menu_contextuel\">\n";
 echo "<table id=\"table\" cellpadding=0 cellspacing=0 border=0 align=\"center\">\n";
 echo "<TR>\n";
 echo "<TH COLSPAN=6 CLASS=\"tableHeaderRoundCorner4\">" . "<A href=\"{$team_website}\" target=\"_blank\">" . "<IMG SRC=\"{$team_logo}\" style=\"margin-right:5px;{$vertical_align}\" border=0/></a>" . "<FONT style=\"vertical-align:60%;text-decoration:underline;\">" . "{$team_city} {$team_name}</FONT>" . "<A href=\"{$team_website}\" target=\"_blank\">" . "<IMG SRC=\"{$team_logo}\" style=\"margin-left:5px;{$vertical_align}\" border=0/></a>" . "<br>Cliquez sur un joueur \"souligné\" pour visualiser ses statistiques des années passées. Voir la légende au bas pour plus de détails." . "</TH>\n";
 echo "</TR>\n";
 echo "<TR>\n";
开发者ID:jfanctil,项目名称:lamoria,代码行数:31,代码来源:joueurs_nhl.php

示例6: interPool

require_once '../class.interpool.php';
$id_pool = $_GET["id_pool"];
$id_saison = $_GET["id_saison"];
$id_gerant = $_GET["gerant"];
$rang = $_GET["rang"];
$data = $_GET["data"];
$poolName = $_GET["poolName"];
$pool = new interPool();
$pool->dbConnect(strtolower($poolName));
$nhl_team_as_gerant_name = "Y";
// pour les accents français
//header("Content-Type:application/xhtml+xml; charset=ISO-8859-1");
list($predict_pm5, $predict_pm10, $predict_pm15, $predict_pm20, $predict_pm25, $predict_pm30, $predict_pm35, $predict_pm40, $predict_pm45, $predict_pm50, $percent_total, $bulls_eye, $liste_joueur_bulls_eye) = split(";", $data);
$gerant_infoA = $pool->getGerantProfil($id_pool, $id_gerant, $id_saison);
$team_infoA = $pool->getTeamInfo($gerant_infoA[nhl_team]);
echo "<table cellpadding=0 cellspacing=0 border=0>\n";
echo "<tr>\n";
echo "<th CLASS=\"tableHeaderRoundCorner\" colspan=10><FONT style=\"vertical-align:60%;\">{$rang}) </font>\n      <img src=\"{$team_infoA['logo']}\" style=\"margin-right:5px;\" />\n      <FONT style=\"vertical-align:60%;\">{$gerant_infoA['real_name']}</font></th>";
echo "</tr>\n";
echo "<tr>\n";
echo "<th CLASS=\"tableHeader1\">Écart</th>";
echo "<th CLASS=\"tableHeader2\">% prédic.<br>dans l'écart</th>";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class=\"tableCellRidge1\" align=\"left\" style=\"padding-top:2px;padding-bottom:2px;\">+/- 5 pts</td>\n";
echo "<td class=\"tableCellRidge2\" align=\"center\">{$predict_pm5} % </td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class=\"tableCellRidge1\" align=\"left\" style=\"padding-top:2px;padding-bottom:2px;\">+/- 10 pts</td>\n";
echo "<td class=\"tableCellRidge2\" align=\"center\">{$predict_pm10} % </td>\n";
开发者ID:jfanctil,项目名称:lamoria,代码行数:30,代码来源:draftStats-eff_gerant.php

示例7: foreach

 if (count($dataA) > 0) {
     echo "<br>\n";
     echo "<table cellpadding=0 cellspacing=0 border=0 style=\"margin-left:10px;\">\n";
     echo "<tr>\n";
     echo "<th CLASS=\"tableHeaderRoundCorner\" COLSPAN=50 style=\"font-size:14px;\">Trading Block" . "<img src=\"/images/ObjectIconInfo.gif\" class=\"info_bulle_tradingBlock\" style=\"margin-left:10px;vertical-align:bottom;\" /></th>\n";
     echo "</tr>\n";
     echo "<tr>\n";
     foreach ($dataA as $itemA) {
         $this_gerant = $itemA[gerant];
         $this_gerantA[] = $this_gerant;
         $this_dataGerantA[] = $itemA;
     }
     $prev_gerant = "";
     foreach ($this_gerantA as $index => $this_gerant) {
         $infoGerantA = $pool->getGerantProfil($id_pool, $this_gerant, $id_saison);
         $logo_gerantA = $pool->getTeamInfo($infoGerantA[nhl_team]);
         $logo_gerant = $logo_gerantA[logo];
         if ($prev_gerant == "") {
             $prev_gerant = $this_gerant;
             echo "<td CLASS=\"tableCell2\" nowrap align='center'>" . "<img src=\"{$logo_gerant}\" style=\"margin-right:5px;margin-top:3px;margin-bottom:3px;margin-left:3px;\" />" . "<FONT style=\"vertical-align:70%;margin-right:3px;\">{$infoGerantA['nickname']}";
         }
         if ($this_gerant != $prev_gerant) {
             $prev_gerant = $this_gerant;
             echo "</td>\n";
             echo "<td CLASS=\"tableCell2\" nowrap align='center'>" . "<img src=\"{$logo_gerant}\" style=\"margin-right:5px;margin-top:3px;margin-bottom:3px;margin-left:3px;\" />" . "<FONT style=\"vertical-align:70%;margin-right:3px;\">{$infoGerantA['nickname']}";
         }
     }
     echo "</td>\n";
     echo "</tr>\n";
     echo "<div id=\"menu_contextuelGC\">\n";
     echo "<tr>\n";
开发者ID:jfanctil,项目名称:lamoria,代码行数:31,代码来源:trade.php


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