session_start();
$_SESSION['Rencontre']=$_GET['Rencontre'];
include('ConnectGestClub.inc.php');
?>
LiveTicker - FLH powered by enNefF.lu
$SelMatch=$_SESSION['Rencontre'];
$Abfrage="SELECT * FROM StatHistoMatch_WWW WHERE IDRENCONT = $SelMatch ORDER BY IDHISTO DESC";
$RetourInfosSQL=mysql_query($Abfrage);
$count=0;
while ( $InfosHistoMatch = mysql_fetch_array($RetourInfosSQL))
{
$HilfeZeit=explode(":", $InfosHistoMatch['TEMPS_MATCH']);
$TempsMatch=$HilfeZeit[1].":".$HilfeZeit[2];
if ($HilfeZeit[0] == 1)
{
if ($InfosHistoMatch['MI_TEMPS'] > 2)
{
// prolongations
$HilfeZeit[1]=60 + $HilfeZeit[1];
$TempsMatch=$HilfeZeit[1].":".$HilfeZeit[2];
}
else
{
// Fin Match = 1 heure - afficher 60 minutes
$TempsMatch="60".":".$HilfeZeit[2];
}
}
else
{
if ($InfosHistoMatch['MI_TEMPS'] > 2)
{
// prolongations
$HilfeZeit[1]=60 + $HilfeZeit[1];
$TempsMatch=$HilfeZeit[1].":".$HilfeZeit[2];
}
else
{
// match en cours (1ère ou 2ème mi-temps) - afficher minutes et secondes
$TempsMatch=$HilfeZeit[1].":".$HilfeZeit[2];
}
}
$ResultMatch=$InfosHistoMatch['RESUL_HOME']." : ".$InfosHistoMatch['RESULT_VISIT'];
$count++;
if ($count % 2 == 0)
{
// zahl ist gerade
$StyleCssCouleur="blanc";
}
else
{
// zahl ist ungerade
$StyleCssCouleur="gris";
}
?>
echo $TempsMatch;?> - echo $ResultMatch;?> |
|
echo $InfosHistoMatch['ACTIONMATCH_TXT'];?> |
} ?>