Sélectionner une révision Git
-
Anaïs GENTY a rédigéAnaïs GENTY a rédigé
creer_profil2.php 5,58 Kio
<?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";