コード例 #1
0
ファイル: face2face.php プロジェクト: jfanctil/lamoria
 case "live":
     $valueA = explode(":", $data2);
     $visitor_nickname = $valueA[0];
     $visitor_realname = $valueA[1];
     $home_nickname = $valueA[2];
     $home_realname = $valueA[3];
     $no_match = $valueA[4];
     $gerant_visitor_city = $valueA[5];
     $gerant_visitor_team_name = $valueA[6];
     $gerant_visitor_team_logo = $valueA[7];
     $gerant_home_city = $valueA[8];
     $gerant_home_team_name = $valueA[9];
     $gerant_home_team_logo = $valueA[10];
     $id_gerant_home = $valueA[11];
     $id_gerant_visitor = $valueA[12];
     $pts_pool_per_visitor = $pool->getPtsPoolPer($id_pool, $id_saison, $id_gerant_visitor, $periode_sel);
     $parties_reste_per_visitor = $pool->getMatchsRestantsPer($id_pool, $id_saison, $id_gerant_visitor, $periode_sel);
     $total_live_pts_visitor = $pool->getTotalLivePts($id_pool, $id_saison, $id_gerant_visitor, $periode_sel);
     $pts_pool_prediction_visitor = $pts_pool_per_visitor + $total_live_pts_visitor;
     if ($total_live_pts_visitor == 0) {
         $str_pts_visitor = "{$pts_pool_per_visitor} points";
     } else {
         $str_pts_visitor = "{$pts_pool_prediction_visitor} points ({$pts_pool_per_visitor} officiel)";
     }
     $pts_pool_per_home = $pool->getPtsPoolPer($id_pool, $id_saison, $id_gerant_home, $periode_sel);
     $parties_reste_per_home = $pool->getMatchsRestantsPer($id_pool, $id_saison, $id_gerant_home, $periode_sel);
     $total_live_pts_home = $pool->getTotalLivePts($id_pool, $id_saison, $id_gerant_home, $periode_sel);
     $pts_pool_prediction_home = $pts_pool_per_home + $total_live_pts_home;
     if ($total_live_pts_home == 0) {
         $str_pts_home = "{$pts_pool_per_home} points";
     } else {