forked from halo-battle/game
First code received by Master Leon
This commit is contained in:
commit
4230eb6922
330 changed files with 15543 additions and 0 deletions
50
page/rename.php
Normal file
50
page/rename.php
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<? session_start(); ?>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" media="screen" name="design" href="design/design.css">
|
||||
<?
|
||||
$id=$_SESSION['id'];
|
||||
$galaxy=$_SESSION['galaxy'];
|
||||
$ss=$_SESSION['ss'];
|
||||
$pos=$_SESSION['pos'];
|
||||
include 'ressource.php';
|
||||
include 'bdd.php';
|
||||
|
||||
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<? echo"<center>
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan=3>Votre planète
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Position
|
||||
</td>
|
||||
<td>Nom
|
||||
</td>
|
||||
<td>Actions
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>".$galaxy.":".$ss.":".$pos."
|
||||
</td>
|
||||
<td>".$nomplanete."
|
||||
</td>"; if ($nb >= 2) { echo "
|
||||
<td> <form action=abandon_confirm.php method=post><input type=submit value=abandonner></form>
|
||||
</td>"; } else { echo "<td></td>"; }
|
||||
echo "</tr><form action=nom.php method=post>
|
||||
<tr>
|
||||
<td>Rennomer
|
||||
</td>
|
||||
<td><input type=text name=nouveaunom size=20>
|
||||
</td>
|
||||
<td><input type=submit value=renommer>
|
||||
</td>
|
||||
</tr></form>
|
||||
</table>
|
||||
</center>"; ?>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue