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,54 +0,0 @@
|
|||
<? session_start(); ?>
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE></TITLE>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
||||
<link rel="stylesheet" media="screen" name="design" href="pages/design/design.css">
|
||||
<?
|
||||
mysql_connect("leon.redby.fr", "leon0", "7268032");
|
||||
mysql_select_db("leon0");
|
||||
|
||||
|
||||
function convert_ts_fr($tstamp) {
|
||||
echo date ( 'd/m/Y H:i:s' , $tstamp ); };
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<?
|
||||
$retour = mysql_query("SELECT COUNT(*) AS nbre_entrees FROM bug");
|
||||
$donnees = mysql_fetch_array($retour);
|
||||
$bug = $donnees['nbre_entrees'];
|
||||
|
||||
|
||||
if (isset($_GET['ok']) == 1) { echo "<br><talbe align=center><tr><td><font color=lime>Bug envoyé</font></td></tr></table>"; }
|
||||
|
||||
|
||||
if ( $bug > 0)
|
||||
{
|
||||
echo "<table align=center>";
|
||||
$result = mysql_query("SELECT * FROM bug");
|
||||
while ($data = mysql_fetch_array($result) )
|
||||
{
|
||||
|
||||
echo "<tr><td>Expéditeur : ".$data['pseudo']."</td></tr><tr><td>Le : "; convert_ts_fr($data['temps']);
|
||||
echo"</td></tr><tr><td>Page concernée : ".$data['page']."</td></tr><tr><td>Description du bug : ".$data['description']."</td></tr>";
|
||||
}
|
||||
echo "</table>";
|
||||
}
|
||||
else { echo "<table align=center><tr><td>Aucun bug trouvé</td></tr></table>"; }
|
||||
|
||||
|
||||
echo"<br><br><br><br><br>
|
||||
|
||||
<form method=post action=validation_bug.php>
|
||||
<center>Ajouter un bug<br><br>
|
||||
<table>
|
||||
<tr><td colspan=2 align=left><font color=red>Attention : bien lire les bugs deja proposé,<br>l'utilisation abusive ou des bugs ayant non lieus seront sanctionnés.</font></td></tr>
|
||||
<tr><td>Page concernée : <td><input type=text class=zone_texte size=25 maxlength=50 name=page></td></td></tr>
|
||||
<tr><td>Description le plus précise possible du bug : <td><textarea cols=25 rows=30 name=description class=zone_texte></textarea></td></td></tr>
|
||||
<tr><td colspan=2><input type=submit value=Envoyer class=bouttom /></td></tr>
|
||||
</table></center></form>";
|
||||
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue