Exemplo n.º 1
0
          	<TABLE align="center" cellpadding=5 cellspacing=5>
          	     <TR>
          	          <td>
	     	               <input type="button" class="Btn1" value="Actifs seulement"
	     	                    onclick="javascript:document.choix_face2face.choix_actifs.value='actifs';document.choix_face2face.submit();" />
	     	          </td>
	     	          <td>
	     	               <input type="button" class="Btn1" value="Actifs / désactifs"
	     	                    onclick="javascript:document.choix_face2face.choix_actifs.value='all';document.choix_face2face.submit();" />
	     	          </td>
          	     </TR>
          	</TABLE>
          </FORM>
     
          <?php 
        $dataMatchsA = $pool->getMatchs($id_pool, $periode_sel_f2f_per, $nhl_team_as_gerant_name, $id_saison, $gerant);
        $nbre_rows_matchs = count($dataMatchsA);
        $index_ajax = 0;
        for ($k = 0; $k < $nbre_rows_matchs; $k++) {
            $previous_pos = "";
            $value = $dataMatchsA[$k];
            $value = str_replace("'", "\\'", $value);
            echo "<DIV ID=\"ajax_f2f\">\n";
            echo "<div class=\"div_display\" id=\"table_f2f_{$index_ajax}\">\n";
            echo "<script TYPE=\"text/javascript\">\n";
            echo "afficheFace2Face({$id_pool},{$id_saison},{$gerant},{$periode_sel_f2f_per},'{$value}','periode','table_f2f_{$index_ajax}',{$index_ajax},'{$dev}','{$choix_scratchs}','{$poolName}');\n";
            echo "</script>\n";
            echo "</div>\n";
            echo "</div>\n";
            $index_ajax++;
        }
Exemplo n.º 2
0
		     document.getElementById("image_loading").style.visibility="hidden";
		     document.getElementById("image_loading").style.height="0px";
		</script>
		     	
	<?php 
        break;
    case "face2face":
        echo "<br>\n";
        if ($message != "") {
            echo "<FONT STYLE=\"color:#FF0000; font-family:Tahoma, Verdana; font-size:16px;\">{$message}</FONT>";
            echo "<br>\n";
        }
        // Affichage de la table de sélection de la période
        $pool->affiche_selection_periode($nbre_periodes, $periode_sel, $id_pool, $id_saison, $id_saison);
        echo "<br>\n";
        $dataMatchsA = $pool->getMatchs($id_pool, $periode_sel, $nhl_team_as_gerant_name, $id_saison, $gerant_sel);
        $my_matchA = $dataMatchsA[0];
        $valueA = explode(":", $my_matchA);
        $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];