blob: 4d6d175ea15b8fcecb26184bbc4f9cc3f4a87700 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
<?php
require('include/ludo/session_verify.inc.php');
require_once('include/ludo/html_elements.inc.php');
require_once('include/connect.inc.php');
generate_html_doctype_and_head("Mod�le");
echo "<body>\n";
generate_html_divs_menu();
?>
<div id="sous_menu">
<p class="arbre">
> <a href="index.php">Accueil</a>
> Administration du profil
</p>
</div>
<?php
generate_html_div_help();
echo "<div id=\"contenu\">\n";
$idP = $_SESSION['idP'];
if ( isset( $_SESSION['prenomP'] ) && isset( $_SESSION['prenomP'] ) )
{
$nom=$_SESSION['prenomP'] . ' ' . $_SESSION['nomP'];
}
else
{
$nom = $_SESSION['loginP'];
}
$requete = "SELECT * FROM 'Personne' WHERE = ''";
echo "<table>\n";
echo "<tr><td>Votre login :</td><td><input type=\"text\" name=\"login\" /></td></tr>\n";
echo "<tr><td>Votre mot de passe :</td><td><input type=\"text\" name=\"mdp\" /></td></tr>\n";
echo "<tr><td>Votre nom :</td><td><input type=\"text\" name=\"nom\" /></td></tr>\n";
echo "<tr><td>Votre prenom :</td><td><input type=\"text\" name=\"prenom\" /></td></tr>\n";
echo "<tr><td colspan=\"2\"><input type=\"submit\" /></td></tr>\n";
echo "</table>\n";
echo "</div>\n";
if ( isset ($errmsg) ) enerate_html_div_errmsg($errmsg);
?>
</body>
</html>
|