Black Eagle Team Minishell
Path:
/
home
/
ccpsafy
/
www.old
/
private
/
adherent
/
[
Home
]
File: adherent_modif.php.old
<?php include("../../inc/enligne_param.inc.php"); include("../../inc/gere_session.inc.php"); include("../../inc/salutations.inc.php"); $req="SELECT * FROM adherent WHERE id = $_GET[chgt]"; //execute la requete $rep=mysql_query($req,$con)or die($req.__line__); $row=mysql_fetch_array($rep); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>CCPSA annuaire des membres modification</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> <!-- @import url("../../css/form_common.css"); --> </style> </head> <body> <div id="page" class="clearfix"> <h2>ADHÉRENTS - MODIFICATION</h2> <h5>Interface Administrateur. Session ouverte pour : <?php echo ucfirst($LePrenom).' '.strtoupper($LeNom); ?>.</h5> <div id="left_col"> </div> <div id="container"> <div id="main_col"> <!--PERMET DE REVENIR A L ADHERENT APRES FAIT UNE MODIF--> <form id="form1" name="form1" method="post" action='adherent_modif_x.php#<?php echo strtoupper($row['nom']); ?>' enctype="multipart/form-data"> <!--AFFICHE LA PHOTO--> <h5>MODIFICATION DES DONNÉES DE <?php echo $row['prenom'].' '.$row['nom']; ?></h5> <p><img src='../trombin/<?php echo $row['photo']; ?>' height='100px'/></p> <hr /> <p>Ancien fichier : <?php echo $row['photo']; ?> / Nouvelle Photo (120x150 px) :</p> <input type="file" name="photo" id="fileField" size="56" value="<?php echo $row['photo']; ?>"/> <p> <?php $Genre = $row['civ']; ?> Mme <input type="radio" name="civ" value="Mme" <?php if($Genre == "Mme") { echo 'checked'; } ?>/> M. <input type="radio" name="civ" value="M" <?php if($Genre == "M") { echo 'checked'; } ?>/> Melle <input type="radio" name="civ" value="Melle" <?php if($Genre == "Melle") { echo 'checked'; } ?>/> </p> <p><b>Prenom :<span style="margin-left:220px;">Nom :</span></b></p> <p> <input name="prenom" type="mdtext" value="<?php echo $row['prenom']; ?>"/> <input name="nom" type="mdtext" value="<?php echo $row['nom']; ?>"/> </p> <p>N° CCPSA / N° FPF /Année 1 inscrip./ <span style="margin-left:25px;">Est réinscrit : (non/oui)</span> </p> <p> <input name="idccpsa" type="pttext" value="<?php echo $row['idccpsa']; ?>"/> <span style="margin-left:95px;"><input name="idfpf" type="pttext" value="<?php echo $row['idfpf']; ?>"/></span> <input name="arrive" type="pttext" value="<?php echo $row['arrive']; ?>"/> <select name="actif" id="inscription"> <?php echo '<option value="'.$row['actif'].'">'.$row['actif'].'</option>'; echo "<option value='non'>non</option>"; echo "<option value='oui'>oui</option>"; ?> </select> </p> <p class="pbreak"> </p> <p>N° :<span style="margin-left:42px;">Voie :</span></p> <p> <input name="num" type="pttext" value="<?php echo $row['num']; ?>"/> <input name="voie" type="gdtext" value="<?php echo $row['voie']; ?>"/> <p>CP :<span style="margin-left:37px;">Ville :</span></p> <p> <input name="cp" type="pttext" value="<?php echo $row['cp']; ?>"/> <input name="commune" type="gdtext" value="<?php echo $row['commune']; ?>"/> </p> <p>Tél Fixe :<span style="margin-left:80px;">Tél Mobile :</span><span style="margin-left:63px;">E-mail :</span></p> <p> <input name="tel1" type="gptext" value="<?php echo $row['tel1']; ?>"/> <input name="tel2" type="gptext" value="<?php echo $row['tel2']; ?>"/> <input name="mail" type="mdtext" id="boite4" value="<?php echo $row['mail']; ?>"/> </p> <p>Appareil :<span style="margin-left:220px;">Style de photos :</span></p> <p> <input name="apn" type="mdtext" value="<?php echo $row['apn']; ?>"/> <input name="style" type="mdtext" value="<?php echo $row['style']; ?>"/> </p> <hr /> <h5>RENSEIGNEMENTS CONCERNANT LES DROITS ET CONNEXION</h5> <p>Identifiant :<span style="margin-left:204px;">Mot de Passe :</span><span style="margin-left:86px;">Droits :</span></p> <select name="droit" type="pttext" > <?php echo '<option value="'.$row['droit'].'">'.$row['droit'].'</option>'; echo "<option value='A'>A</option>"; echo "<option value='WM'>WM</option>"; echo "<option value='PR'>PR</option>"; echo "<option value='CA'>CA</option>"; echo "<option value='EX'>EX</option></p>"; ?> </select> <input name="login" type="mdtext" id="boite7" size="32" maxlength="40" value="<?php echo $row['login']; ?>"/> <input name="pass" type="mdpttext" id="boite" size="32" maxlength="20" value="<?php echo $row['pass']; ?>"/> </p> <hr /> <h5>RENSEIGNEMENTS CONCERNANT LE COMITÉ</h5> <p>Rôle :<span style="margin-left:242px;">Rang :</span><span style="margin-left:20px;">Poste :</span></p> <p> <input name="definition" type="mdtext" id="boite6" size="82" maxlength="80" value="<?php echo $row['definition']; ?>"/> <input name="rang" type="pttext" id="boite5" size="5" maxlength="10" value="<?php echo $row['rang']; ?>"/> <select name="cat" type="gdtext"> <?php echo '<option value="'.$row['cat'].'">'.$row['cat'].'</option>'; echo "<option value=''>(Adhérent)</option>"; echo "<option value='(Bureau)'>(Bureau)</option>"; echo "<option value='(CA)'>(CA)</option>"; echo "<option value='(Resp. Activ.)'>(Resp. Activ.)</option></p>"; ?> </select> <p class="pbreak"> </p> <p class="pbreak"> </p> <p>Activité :</p> <p> <textarea name="activite" type="mdtext" cols="59" rows="5"><?php echo $row['activite']; ?></textarea> </p> </div> <div id="right_col"> <!-- POUR SAVOIR QUEL LIGNE EST A MODIFIER --> <input type="hidden" name="LeID" value="<?php echo $row['id'] ?>" /> <input type="submit" name="Submit" value="Valider" /> </p> <p> <center> <a href="adherent.php" class="xlink" title="annuler"/>ANNULER</a> </center> </p> </form> </div> <!--fin right_col--> </div> <!--BOUTONS VALIDATION--> <!--fin container--> </div> <!--fin page--> </body> </html>
©
2020 Black Eagle Team