forked from halo-battle/game
Second revision by Master Leon
This commit is contained in:
parent
4230eb6922
commit
b8e951f59d
382 changed files with 3112 additions and 14815 deletions
|
|
@ -1,21 +1,24 @@
|
|||
<html>
|
||||
<? echo"<html>
|
||||
<head>
|
||||
<link rel="stylesheet" media="screen" name="design" href="design/design.css">
|
||||
</head>
|
||||
<body>
|
||||
<?
|
||||
<title>Halo battle</title>
|
||||
<link rel=stylesheet media=screen type=text/css title=design href=descriptions/diz/base.css >
|
||||
<meta http-equiv=pragma content=no-cache >
|
||||
<meta http-equiv=content-type content=text/html;charset=iso-8869-1 >
|
||||
<link rel=shortcut icon type=image/x-icon href=favicon.ico >
|
||||
<body>";
|
||||
|
||||
mysql_connect("leon.redby.fr", "leon0", "7268032");
|
||||
mysql_select_db("leon0");
|
||||
mysql_connect("localhost", "root", "");
|
||||
mysql_select_db("wars");
|
||||
|
||||
echo "<table align=center><tr><td>Place</td><td>Race</td><td>Pseudo</td><td>Points</td><td>Flotte</td><td>Recherches</td></tr>";
|
||||
$ee = mysql_query(" SELECT race, pseudo, points, flottes, recherches FROM classement ORDER BY points DESC ");
|
||||
$ee = mysql_query("SELECT * FROM classement ORDER BY points DESC");
|
||||
$i=1;
|
||||
while ( $data = mysql_fetch_array($ee) ){
|
||||
echo "<tr><td>".$i."</td><td>".$data['race']."</td><td>".$data['pseudo']."</td><td>".$data['points']."</td><td>".$data['flottes']."</td><td>".$data['recherches']."</td></tr>";
|
||||
$i++;
|
||||
}
|
||||
echo "</table>";
|
||||
?>
|
||||
echo "</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>";
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue