62 lines
1.1 KiB
PHP
62 lines
1.1 KiB
PHP
<? echo'<HTML>
|
|
<HEAD>
|
|
<TITLE>Halo Battle</TITLE>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
|
<link rel="stylesheet" media="screen" name="design" href="descriptions/diz/base.css">
|
|
<style type="text/css">
|
|
table {
|
|
margin-top: 40px;
|
|
}
|
|
|
|
TD.z {
|
|
background-color: black;
|
|
border: 1px solid #7093DB;
|
|
font-weight: bold;
|
|
}
|
|
|
|
TH {
|
|
border: 1px solid;
|
|
background-color: black;
|
|
}
|
|
|
|
div {
|
|
margin: 0px;
|
|
border: 0px;
|
|
}
|
|
|
|
</style>';
|
|
|
|
require('../connectBDD.php');
|
|
|
|
$retour = mysql_query("SELECT COUNT(*) AS nbre_entrees FROM version");
|
|
$donnees = mysql_fetch_array($retour);
|
|
|
|
$x = mysql_query("SELECT * FROM version");
|
|
$data = mysql_fetch_array($x);
|
|
echo'</head>
|
|
|
|
</html>
|
|
<table width="530" align=center>
|
|
<tbody>
|
|
|
|
<tr>
|
|
<td class="z" colspan="2">Mises à jours</td>
|
|
</tr>';
|
|
|
|
$result = mysql_query("SELECT * FROM version ORDER BY temps DESC");
|
|
while ($data = mysql_fetch_array($result)) {
|
|
echo'<tr>
|
|
<th>version : '.$data['version'].'</th>
|
|
<th width="80%">
|
|
<div align="left">
|
|
'.$data['contenu'].'
|
|
</div></th>
|
|
</tr>'; }
|
|
|
|
echo'</tbody>
|
|
</table>
|
|
|
|
</body>
|
|
</html>';
|
|
|
|
?>
|