"; $label = ""; while ($row = mysql_fetch_array($result)) { if ($row["playerID"]) { $infos = $row["rating"] ."" .$row["date"]; $_xml .="\t\r\n"; //$_xml .=" value='" . $row["rating"] ."'/>\r\n"; } else { $_xml .="\t\r\n"; $_xml .="\t\tnone\r\n"; $_xml .="\t\r\n"; } } $_xml .=""; fwrite($file, $_xml); fclose($file); } /*********************************************************************************/ if(!empty($_POST) ) { $_SESSION['sauvegarde_formulaire'] = $_POST ; $page_actuelle = $_SERVER['PHP_SELF'] ; if(!empty($_SERVER['QUERY_STRING'])) { $page_actuelle .= '?' . $_SERVER['QUERY_STRING'] ; } header('Location: ' . $page_actuelle); exit; } if(isset($_SESSION['sauvegarde_formulaire'])) { $_POST = $_SESSION['sauvegarde_formulaire'] ; unset($_SESSION['sauvegarde_formulaire']); } ?> Patoche WEBSITE - 2013 - Template du site - en cours de développemment ...
Patoche
"Etre conscient que l'on est ignorant est un grand pas vers le savoir"
'; include("debug_connexion_membre.php"); echo '
'; include("include_menu.php");*/ echo '
'; include("include_menu.php"); echo '
'; include("connexion_membre.php"); echo '
'; echo '
'; include("include_barre_login.php"); echo '
'; echo '
'; $_SESSION['page_active'] = basename (__FILE__ ); ?>
Joueur:
ELO: 0 && $oldrating !=0) { echo "(+".$incr.")  = 22 ) { //$store = $row["rating"]; //$store[1] = date("d F Y",$row["date"]); $donnee[] = $row["rating"]; //$date_partie[] = date("d F Y",$row["date"]); OK mais test $tmp = $row["date"]; $date= date("d F Y",$tmp); $date_partie[] = strftime('%d-%m-%Y',strtotime($date)); $cpt = $cpt + 1; } else { $cpt = $cpt + 1; } } // echo ("
");
	//	print_r($donnee);	
	
	$best_elo = max($donnee);
	// clé correspondant au best_elo
	$key = array_search($best_elo , $donnee);
		
	//echo "+++++ " .$best_elo . "  " .$key;
	//echo $date_partie[$key];
	
?>
	
    
Meilleur ELO:
Parties:
Victoires:
Défaites:
Match nul:
FusionCharts will render here'; /*echo (" " );*/ } elseif ($gcount == 0) { echo "

"; echo "
Pas de données pour ce joueur!
"; echo "

"; } ?>
plot_chart(); "; ?>

Paramétre du filtre

Parties disputées:

".$w_rating. " (" .$w_brating ." " .$diff_w .")"; //$s2 = ""; } else { $s1 = ""; //$s2 = ""; } if($diff_b < 0) { //$s1 = ""; //$s2 = ""; $s2 = ""; } else { //$s1 = ""; //$s2 = ""; $s2 = ""; } echo " "; echo $s1; echo " "; echo $s2; echo " "; */ /***************************** OK *************************************************************/ if($white==$playerID) { if ($result==1) { echo " "; } if($result==2) { echo " "; } if ($result==3) { if($diff_w < 0) { $s1 = ""; $s2 = ""; } else { $s1 = ""; $s2 = ""; } echo " "; echo $s1; echo " "; echo $s2; echo " "; } } if ($black==$playerID) { if($result==1) { echo " "; } if ($result==2) { echo " "; } if ($result==3) { if($diff_b < 0) { $s1 = ""; $s2 = ""; } else { $s1 = ""; $s2 = ""; } echo " "; echo $s1; echo " "; echo $s2; echo " "; } } $id = $id + 1; } } else { echo ""; } ?>
ID Resultat ELO Couleur Adversaire Date
".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black ".$w_rating. " (" .$w_brating ." " .$diff_w .")".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black ".$w_rating. " (" .$w_brating ." " .$diff_w .")".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black ".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black ".$w_rating. " (" .$w_brating ." " .$diff_w .")".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black ".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black
".$id." White".$date."
".$id." ".$w_rating. " (" .$w_brating ." " .$diff_w ." ) White ".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black ".$date."
".$id." ".$w_rating. " (" .$w_brating ." " .$diff_w ." ) White ".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black ".$date."
".$w_rating. " (" .$w_brating ." " .$diff_w .")".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black ".$w_rating. " (" .$w_brating ." " .$diff_w .")".$b_name." ".$b_rating ." (" .$b_brating ." " .$diff_b .") Black
".$id." White".$date."
".$id." ".$b_rating. " (" .$b_brating ." " .$diff_b .") Black ".$w_name." ".$w_rating ." (" .$w_brating ." " .$diff_w .") White ".$date."
".$id." ".$b_rating. " (" .$b_brating ." " .$diff_b.") Black ".$w_name." ".$w_rating ." (" .$w_brating ." " .$diff_w .") White ".$date."
".$b_rating. " (" .$b_brating ." " .$diff_b .")".$w_name." ".$w_rating ." (" .$w_brating ." " .$diff_w .") Black ".$b_rating. " (" .$b_brating ." " .$diff_b .")".$w_name." ".$w_rating ." (" .$w_brating ." " .$diff_w .") Black
".$id." Black".$date."
Aucunes parties disputées!


bidule(); "; echo ""; ?>




' . print_r($_SESSION, TRUE) . ''; ?>