[insert_php]

global $wp_query;
$semaine= $wp_query->query_vars['semaine'];$date_deb= $wp_query->query_vars['date_deb'];$date_fin= $wp_query->query_vars['date_fin'];

[/insert_php]

[insert_php]echo “HISTORIQUES SEMAINE “.$semaine.” du “.$date_deb.” au”.$date_fin;[/insert_php]

Combinaisons à 2 numéros

[insert_php]

ini_set(‘display_errors’,’off’);
mysql_connect (“kenoforekcmabase.mysql.db”, “kenoforekcmabase”, “PronoKeno15”);
mysql_select_db (“kenoforekcmabase”);

$c2Data = mysql_query (“SELECT * FROM archives_c2ser”); //récupération des données à travailler

while ($lignec2Data = mysql_fetch_array($c2Data))
{
$pronoGPc2ser[] = unserialize($lignec2Data [“t1”]);
$num1c2[] = $lignec2Data [“num1”];
$num2c2[] = $lignec2Data [“num2”];
$pronoGPc2[] = $pronoGPc2ser[0];
}

[/insert_php]

[insert_php] require(‘wp-perso/Afficheimage.php’);

//affiche les pronostics
$i=0;
For ($k=0; $k < mysql_num_rows($c2Data); $k++) { if($pronoGPc2s[$k] == 1) { if($i==0) { AffC2($num1c2[$k],$num2c2[$k],g); $i=1; } else if($i==1) $i=0; } if($pronoGPc2s[$k] == 2) { if($i==0) { AffC2($num1c2[$k],$num2c2[$k],p); $i=1; } else if($i==1) $i=0; } } [/insert_php][/fusion_text][/fusion_builder_column][fusion_builder_column type="1_2" last="yes" spacing="yes" center_content="no" hide_on_mobile="no" background_color="" background_image="" background_repeat="no-repeat" background_position="left top" border_position="all" border_size="0px" border_color="" border_style="" padding="" margin_top="" margin_bottom="" animation_type="" animation_direction="" animation_speed="0.1" class="" id=""][fusion_text][insert_php] //affiche les pronostics $i=1; For ($k=0; $k < mysql_num_rows($c2Data); $k++) { if($pronoGPc2s[$k] == 1) { if($i==0) { AffC2($num1c2[$k],$num2c2[$k],g); $i=1; } else if($i==1) $i=0; } if($pronoGPc2s[$k] == 2) { if($i==0) { AffC2($num1c2[$k],$num2c2[$k],p); $i=1; } else if($i==1) $i=0; } } [/insert_php][/fusion_text][/fusion_builder_column][fusion_builder_column type="1_1" background_position="left top" background_color="" border_size="" border_color="" border_style="solid" spacing="yes" background_image="" background_repeat="no-repeat" padding="" margin_top="0px" margin_bottom="0px" class="" id="" animation_type="" animation_speed="0.3" animation_direction="left" hide_on_mobile="no" center_content="no" min_height="none"][fusion_text][insert_php] unset($pronoGPc2s); unset ($pronoGPc2ser); unset($num1c2); unset($num2c2); unset($lignec2Data); unset($c2Data); [/insert_php][/fusion_text][/fusion_builder_column][fusion_builder_column type="1_1" last="yes" spacing="yes" center_content="no" hide_on_mobile="no" background_color="" background_image="" background_repeat="no-repeat" background_position="center top" border_position="all" border_size="0px" border_color="" border_style="solid" padding="" margin_top="" margin_bottom="" animation_type="0" animation_direction="down" animation_speed="0.1" class="" id=""][/fusion_builder_column][fusion_builder_column type="1_1" background_position="left top" background_color="" border_size="" border_color="" border_style="solid" spacing="yes" background_image="" background_repeat="no-repeat" padding="" margin_top="0px" margin_bottom="0px" class="" id="" animation_type="" animation_speed="0.3" animation_direction="left" hide_on_mobile="no" center_content="no" min_height="none"][fusion_text]

Combinaisons à 3 numéros

[insert_php]

$c3Data = mysql_query (“SELECT * FROM archives_c3ser”); //récupération des données à travailler

while ($lignec3Data = mysql_fetch_array($c3Data))
{
$pronoGPc3ser[] = $lignec3Data [“t1”];
$num1c3[] = $lignec3Data [“num1”];
$num2c3[] = $lignec3Data [“num2”];
$num3c3[] = $lignec3Data [“num3”];
$pronoGPc3s[] = $pronoGPc3ser[0];
}

[/insert_php]

[insert_php] //require(‘wp-perso/Afficheimage.php’);

//affiche les pronostics
$i=0;
For ($k=0; $k < mysql_num_rows($c3Data); $k++) { if($pronoGPc3s[$k] == 1) { if($i==0) { AffC3($num1c3[$k],$num2c3[$k],$num3c3[$k],g); $i=1; } else if($i==1) $i=0; } if($pronoGPc3s[$k] == 2) { if($i==0) { AffC3($num1c3[$k],$num2c3[$k],$num3c3[$k],p); $i=1; } else if($i==1) $i=0; } } [/insert_php][/fusion_text][/fusion_builder_column][fusion_builder_column type="1_2" last="yes" spacing="yes" center_content="no" hide_on_mobile="no" background_color="" background_image="" background_repeat="no-repeat" background_position="left top" border_position="all" border_size="0px" border_color="" border_style="" padding="" margin_top="" margin_bottom="" animation_type="" animation_direction="" animation_speed="0.1" class="" id=""][fusion_text][insert_php] //affiche les pronostics $i=1; For ($k=0; $k < mysql_num_rows($c3Data); $k++) { if($pronoGPc3s[$k] == 1) { if($i==0) { AffC3($num1c3[$k],$num2c3[$k],$num3c3[$k],g); $i=1; } else if($i==1) $i=0; } if($pronoGPc3s[$k] == 2) { if($i==0) { AffC3($num1c3[$k],$num2c3[$k],$num3c3[$k],p); $i=1; } else if($i==1) $i=0; } } [/insert_php][/fusion_text][/fusion_builder_column][fusion_builder_column type="1_1" background_position="left top" background_color="" border_size="" border_color="" border_style="solid" spacing="yes" background_image="" background_repeat="no-repeat" padding="" margin_top="0px" margin_bottom="0px" class="" id="" animation_type="" animation_speed="0.3" animation_direction="left" hide_on_mobile="no" center_content="no" min_height="none"][fusion_text][insert_php] unset($pronoGPc3s); unset($pronoGPc3ser); unset($num1c3); unset($num2c3); unset($num3c3); unset($lignec3Data); unset($c3Data); [/insert_php][/fusion_text][/fusion_builder_column][fusion_builder_column type="1_1" last="yes" spacing="yes" center_content="no" hide_on_mobile="no" background_color="" background_image="" background_repeat="no-repeat" background_position="center top" border_position="all" border_size="0px" border_color="" border_style="solid" padding="" margin_top="" margin_bottom="" animation_type="0" animation_direction="down" animation_speed="0.1" class="" id=""][/fusion_builder_column][fusion_builder_column type="1_1" background_position="left top" background_color="" border_size="" border_color="" border_style="solid" spacing="yes" background_image="" background_repeat="no-repeat" padding="" margin_top="0px" margin_bottom="0px" class="" id="" animation_type="" animation_speed="0.3" animation_direction="left" hide_on_mobile="no" center_content="no" min_height="none"][fusion_text]

Zones à 5 numéros

[insert_php]

$zoneData = mysql_query (“SELECT * FROM archives_zonesser”); //récupération des données à travailler

while ($lignezoneData = mysql_fetch_array($zoneData))
{
$pronoGPzonesser[] = $lignezoneData [“t1”];
$pronoGPzones[] = $pronoGPzonesser[0];
}

//affiche les pronostics
For ($k=0; $k < mysql_num_rows($zoneData); $k++) { if($pronoGPzones[$k] == 1) Affzones($k,g); if($pronoGPzones[$k] == 2) Affzones($k,p); } unset($pronoGPzones); unset($pronoGPzonesser); unset($lignezoneData); unset($zoneData); mysql_close (); [/insert_php][/fusion_builder_column][/fusion_builder_row][/fusion_builder_container]