summaryrefslogtreecommitdiff
path: root/appli_3_alpha_old/profil.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 10:06:47 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 10:40:27 +0200
commit679551b7b545a72d376d9e60a8f3da66e44a6855 (patch)
tree92a6efbe3910650dd210f6f0e1edbd28502ea255 /appli_3_alpha_old/profil.php
parent71b503f07007346eda3d1da71d4a64f31f13d846 (diff)
download2007-AWOR-679551b7b545a72d376d9e60a8f3da66e44a6855.tar.gz
2007-AWOR-679551b7b545a72d376d9e60a8f3da66e44a6855.tar.bz2
2007-AWOR-679551b7b545a72d376d9e60a8f3da66e44a6855.zip
Version alpha_old2 2007-02-04+10:57:50 - 2007-02-21+19:05:18
Diffstat (limited to 'appli_3_alpha_old/profil.php')
-rw-r--r--appli_3_alpha_old/profil.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/appli_3_alpha_old/profil.php b/appli_3_alpha_old/profil.php
new file mode 100644
index 0000000..4d6d175
--- /dev/null
+++ b/appli_3_alpha_old/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">
+ &gt; <a href="index.php">Accueil</a>
+ &gt; 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>
+