HB/pages/version.php

62 lines
1.1 KiB
PHP
Raw Normal View History

2007-11-04 11:00:00 +00:00
<? echo'<HTML>
2007-10-27 10:00:00 +00:00
<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">
2007-11-04 11:00:00 +00:00
<style type="text/css">
2007-10-27 10:00:00 +00:00
table {
margin-top: 40px;
}
TD.z {
background-color: black;
border: 1px solid #7093DB;
font-weight: bold;
}
TH {
2007-11-04 11:00:00 +00:00
border: 1px solid;
background-color: black;
2007-10-27 10:00:00 +00:00
}
div {
margin: 0px;
border: 0px;
}
2007-11-04 11:00:00 +00:00
</style>';
require('../connectBDD.php');
2007-10-27 10:00:00 +00:00
2007-11-04 11:00:00 +00:00
$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>
2007-10-27 10:00:00 +00:00
</html>
<table width="530" align=center>
<tbody>
2007-11-04 11:00:00 +00:00
2007-10-27 10:00:00 +00:00
<tr>
<td class="z" colspan="2">Mises <EFBFBD> jours</td>
2007-11-04 11:00:00 +00:00
</tr>';
$result = mysql_query("SELECT * FROM version ORDER BY temps DESC");
while ($data = mysql_fetch_array($result)) {
echo'<tr>
<th>version : '.$data['version'].'</th>
2007-10-27 10:00:00 +00:00
<th width="80%">
<div align="left">
2007-11-04 11:00:00 +00:00
'.$data['contenu'].'
2007-10-27 10:00:00 +00:00
</div></th>
2007-11-04 11:00:00 +00:00
</tr>'; }
2007-10-27 10:00:00 +00:00
2007-11-04 11:00:00 +00:00
echo'</tbody>
</table>
2007-10-27 10:00:00 +00:00
</body>
2007-11-04 11:00:00 +00:00
</html>';
?>