diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:10:17 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 11:10:17 +0200 |
commit | 1269889704386de951d7f91eb169eb1e1bb36cc0 (patch) | |
tree | ff0b0fbcf5d6cc6cb769ef25924721e348f339a5 /appli_3_alpha_old/app/profil.php | |
parent | c93c261a461c9a2359bdcd75f7136fcb05237106 (diff) | |
download | 2007-AWOR-1269889704386de951d7f91eb169eb1e1bb36cc0.tar.gz 2007-AWOR-1269889704386de951d7f91eb169eb1e1bb36cc0.tar.bz2 2007-AWOR-1269889704386de951d7f91eb169eb1e1bb36cc0.zip |
Sous-dossier app entre old4 et old5
Diffstat (limited to 'appli_3_alpha_old/app/profil.php')
-rw-r--r-- | appli_3_alpha_old/app/profil.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/appli_3_alpha_old/app/profil.php b/appli_3_alpha_old/app/profil.php new file mode 100644 index 0000000..97a172f --- /dev/null +++ b/appli_3_alpha_old/app/profil.php @@ -0,0 +1,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['session_idP']; +if ( isset( $_SESSION['session_prenomP'] ) && isset( $_SESSION['session_prenomP'] ) ) +{ + $nom=$_SESSION['session_prenomP'] . ' ' . $_SESSION['session_nomP']; +} +else +{ + $nom = $_SESSION['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) ) generate_html_div_errmsg($errmsg); +?> +</body> +</html> + |