HB/pages/options.php

47 lines
1.3 KiB
PHP

<?php
session_start();
$id=$_SESSION['id'];
$galaxy=$_SESSION['galaxy'];
$ss=$_SESSION['ss'];
$pos=$_SESSION['pos'];
echo"<html>
<head>
<title>Space battleship</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 >
<style TYPE=text/css>
TD.c {
background-color: #000043;
}
#tablo {
margin-top: 70;
}
</style>";
include 'bdd.php';
echo"</head>
<body>
<table align=center id=tablo width=360>
<form method=post action=options_validation.php>
<tr><td class=c>Ancien mot de passe</td><td><input type=password class=zone_texte size=15 maxlength=30 name=ancien_mdp></td></tr>
<tr><td class=c>Nouveau mot de passe</td><td><input type=password class=zone_texte size=15 maxlength=30 name=nouveau_mdp></td></tr>
<tr><td class=c>Confirmer mot de passe</td><td><input type=password class=zone_texte size=15 maxlength=30 name=nouveau_mdp2></td></tr>
<tr><td class=c>Mail</td><td>".$mail."</td></tr>
<tr><td class=c>Nouveau mail</td><td><input type=text class=zone_texte size=15 maxlength=40 name=nouveau_mail></td></tr>
<tr><td colspan=2><input type=submit value=Envoyer class=bouton></td></tr>
</form>
</table>
</body>
</html>";
?>