Location: PHPKode > projects > Anomalie4 > fame.php3
<!doctype html public "-//W3C//DTD HTML 4.0 //EN"> 
<html>
<head>
       <title>La quatrième anomalie</title>
<link rel="stylesheet" href="anomalie4.css"></head>
<body bgcolor="#FFFFFF" background="images/space.jpg" text="#FFFF80" link="#CCFF00" vlink="#FFFF80">

<font face="Arial, Helvetica, sans-serif">
<h1 align="center"><img src="images/Ligne.gif" width="101" height="8"> Hall of fame <img src="images/Ligne.gif" width="101" height="8"></h1>
<BR>

<?
/*
La 4e anomalie : real-time and web based galaxy conquest game. Have fun !
Copyright (C) 2003 

Sylvain Moreau F-78220  
email 1 : hide@address.com
email 2 : hide@address.com

This program is free software; you can redistribute it and/or modify it under the terms 
of the GNU General Public License as published by the Free Software Foundation; 
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program;
if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
MA 02111-1307 USA
*/
  include ("lib_gen.php3");
  include ("lib_p4.php3");
  include ("lib_ihm.php3");


  connecte();

  $query = "SELECT date, gagnant1, gagnant2, gagnant3, comment FROM fame ORDER BY date DESC";
  $result=requete($query);
  echo("<TABLE BORDER=1 BGCOLOR=#000000 align=center>");
  echo("  <CAPTION> <b><h2><font color=#FFFFFF> Voici les gagnants des parties précédentes. </FONT></h2></b>");
  echo("    <TR> ");
  echo("      <TH> Date </TH>");
  echo("      <TH> 1er </TH>");
  echo("      <TH> 2eme </TH>");
  echo("      <TH> 3 eme </TH>");
  echo("      <TH></TH>");
  echo("    </TR>  ");
  while($row = mysql_fetch_row($result)){
      $dat=$row[0];
      $j1=$row[1];
      $j2=$row[2];
      $j3=$row[3];
      $co=$row[4];

      if ($premier=="") $premier=$j1;
      echo "<TR>";
      echo "  <TD><CENTER>".date_to_string($dat)."</CENTER></TD>";
      echo "  <TD><CENTER><font color=#FF0000><B> $j1 </B></FONT></CENTER></TD>";
      echo "  <TD><CENTER> $j2 </CENTER></TD>";
      echo "  <TD><CENTER>$j3 </CENTER></TD>";
      echo "  <TD><CENTER><FONT COLOR =#808080> $co </FONT></CENTER></TD>";
      echo "</TR>";
  }
  echo("</TABLE> ");

  if ($premier!="Prolarch") {
      echo "<BR><HR><H1 Align=center> Classements de la dernière partie</H1>";
      affiche_vieux_classement();
  }
  else
      echo "<H2 Align = center>Il n'y a pas de classement pour la dernière partie car se sont les Prolarch' qui ont gagnés</H2>";

?>


<p align="center"><a href="http://www.anomalie4.com"><img src="images/button.gif" width="104" height="25"></a>
  </font> 
<p align="center"><a href=".">Retourner à la page d'accueil</a>
</font>
</body>

</html>
Return current item: Anomalie4