Skip to content
Extraits de code Groupes Projets
Valider 9d3c5f77 rédigé par Sandra MICHAUT's avatar Sandra MICHAUT
Parcourir les fichiers

Unused

parent d2f9354e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
<?php
/**
* Created by PhpStorm.
* User: genty
* Date: 06/05/16
* Time: 02:22
*/
include("mise_en_page.php");
include("creation_donnees_perso.php");
enTete("Création de profil",$_SESSION['nomUser']);
print "<form name=\"creation\" action='profil_modif.php' method='get' onsubmit='return validateForm3()'>\n";
print "<h4>Données personnelles: </h4>\n";
print "<script src=\"checkForm.js\"></script>\n";
print "<input type='hidden' name='submitted' value='1'/>\n";
$nomUser = $_SESSION['nomUser'];
$prenomUser = $_SESSION['prenomUser'];
$login = $_SESSION['login'];
$mdp = $_SESSION['mdp'];
$mail = $_SESSION['mail'];
print "<p>Nom: $nomUser (non modifiable)\n<br/>\n";
print "Prénom: $prenomUser (non modifiable)<br/>\n";
print "Surnom: <input type=\"text\" size=\"8\" name=\"Surnom\" pattern=\"[^'()\[\]{}\\/\x22]+\" title=\"Cannot contain {,(,[,),],},',/,\ or ''\"/> <br/>\n "; /* Rq : pb ici */
print "Promo: <input type=\"number\" size=\"5\" min=\"1960\" max=\"2020\" maxlength=\"4\" name=\"promo\"/> <br/>\n";
print "Date de naissance (AAAA-MM-JJ): <input type=\"date\" name=\"Ddn\" min='1940-01-01' max='2010-12-31'/><br/>\n";
print "Téléphone: <input type=\"number\" size=\"12\" min='0000000000' maxlength='10' name=\"Tel\"/> <br/>\n";
print "Mail: <input type=\"email\" size=\"15\" name=\"Mail\" value=$mail pattern='[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$' title='Must be valid email format'/> <br/><br/>\n";
print "ENSIIE de: <br/>\n";
print "<input type=\"radio\" name=\"ecole\" value=\"Evry\" /> Evry <br/>\n";
print "<input type=\"radio\" name=\"ecole\" value=\"Strasbourg\" /> Strasbourg <br/><br/>\n";
print "Groupe de TP/TD: <br/>\n";
print "<input type=\"radio\" name=\"gpe\" value=\"1.1\" /> 1.1 \n";
print "<input type=\"radio\" name=\"gpe\" value=\"1.2\" /> 1.2 <br/>\n";
print "<input type=\"radio\" name=\"gpe\" value=\"2.1\" /> 2.1 \n";
print "<input type=\"radio\" name=\"gpe\" value=\"2.2\" /> 2.2 <br/>\n";
print "<input type=\"radio\" name=\"gpe\" value=\"3.1\" /> 3.1 \n";
print "<input type=\"radio\" name=\"gpe\" value=\"3.2\" /> 3.2 <br/>\n";
print "<input type=\"radio\" name=\"gpe\" value=\"4.1\" /> 4.1 \n";
print "<input type=\"radio\" name=\"gpe\" value=\"4.2\" /> 4.2 <br/>\n";
print "<input type=\"radio\" name=\"gpe\" value=\"0\" /> Pas de groupe<br/>\n<br/>\n";
print "Membre de: <ul>\n";
print "<input type='checkbox' name='assoc' value=\"aperitife\">AperItIfE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"arise\">ARISE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"astronomiie\">Astronomiie<br/>\n";
print "<input type='checkbox' name='assoc' value=\"manga\">Bakaclub<br/>\n";
print "<input type='checkbox' name='assoc' value=\"bda\">BDA<br/>\n";
print "<input type='checkbox' name='assoc' value=\"bdsf\">BDSF<br/>\n";
print "<input type='checkbox' name='assoc' value=\"aeiie\">Bureau des Eleves<br/>\n";
print "<input type='checkbox' name='assoc' value=\"cccm\">CCCM<br/>\n";
print "<input type='checkbox' name='assoc' value=\"cid\">CID<br/>\n";
print "<input type='checkbox' name='assoc' value=\"comdiie\">comDiie<br/>\n";
print "<input type='checkbox' name='assoc' value=\"craftiie\">CraftIIE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"cuisine\">CuIsInE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"dansiie\">Dansiie<br/>\n";
print "<input type='checkbox' name='assoc' value=\"diese\">Dièse<br/>\n";
print "<input type='checkbox' name='assoc' value=\"forumiie\">ForumIIE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"gala\">Gala<br/>\n";
print "<input type='checkbox' name='assoc' value=\"guiilde\">GuIIldE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"humaniie\">HUMANIIE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"iiepp\">IIE++<br/>\n";
print "<input type='checkbox' name='assoc' value=\"iimage\">IImagE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"iimonde\">IImondE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"i-tv\">i-TV<br/>\n";
print "<input type='checkbox' name='assoc' value=\"lanpartiie\">LanPartIIE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"bar\">Le Bar(c)<br/>\n";
print "<input type='checkbox' name='assoc' value=\"liien\">Liien<br/>\n";
print "<input type='checkbox' name='assoc' value=\"ludiie\">LudIIE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"lumiiere\">LumIIEre<br/>\n";
print "<input type='checkbox' name='assoc' value=\"magiie\">MagIIE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"muzzik\">Muzzik'<br/>\n";
print "<input type='checkbox' name='assoc' value=\"nightiies\">NightIIE's<br/>\n";
print "<input type='checkbox' name='assoc' value=\"robot\">ORiGiNe<br/>\n";
print "<input type='checkbox' name='assoc' value=\"securitiie\">SecuritIIE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"radioactive\">RadIoactIvE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"realitiie\">RealitIIE<br/>\n";
print "<input type='checkbox' name='assoc' value=\"resiie\">ResIIE<br/>\n";
print "</ul></p>\n";
print "Mot de passe : <input type='password' name='psw' value=$pwd pattern=\"(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}\" title='Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters'/>\n";
print "Vérification du mot de passe : <input type='password' name='psw2' value=$pwd pattern=\"(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}\" title='Must contain at least one number and one uppercase and lowercase letter, and at least 8 or more characters'/>\n";
print "<p><input type=\"submit\" value=\"Valider\" name=\"validation\" /></p>\n";
print "</form>\n";
retourAuMenu();
pied();
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter