ajout pompier
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<head>
|
||||
<title>SDIS29</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
|
||||
<link href="./styles/styles.css" rel="stylesheet" type="text/css" />
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="./images/favicon.ico" />
|
||||
|
@@ -64,18 +64,18 @@
|
||||
");
|
||||
}
|
||||
if ($_REQUEST['action'] == "ajouter") {
|
||||
// <input name='pId' class='infoPompier' value='" . $lesInfosPompier['id'] . "' >
|
||||
|
||||
echo ("
|
||||
<tr><th style='width:130px;'>Nom</th> <td style='width:130px;'><input name='ztNom' type='text' class='infoPompier' ></td> </tr>
|
||||
<tr><th>Prénom</th> <td> <input name='ztPrenom' type='text' class='infoPompier infoPompier-chef' ></td> </tr>
|
||||
<tr><th>Adresse</th> <td> <input name='ztAdresse' type='text' class='infoPompier infoPompier-chef' ></td> </tr>
|
||||
<tr><th>Code postal</th> <td> <input name='ztCodePostal' type='text' class='infoPompier infoPompier-chef' ></td> </tr>
|
||||
<tr><th style='width:130px;'>Nom*</th> <td style='width:130px;'><input name='ztNom' id='newName' type='text' class='infoPompier' required></td> </tr>
|
||||
<tr><th>Prénom*</th> <td> <input name='ztPrenom' id='newUsername' type='text' class='infoPompier infoPompier-chef' required></td> </tr>
|
||||
<tr><th>Adresse</th> <td> <input name='ztAdresse' type='text' class='infoPompier infoPompier-chef' ></td> </tr>
|
||||
<tr><th>Code postal</th> <td> <input name='ztCodePostal' type='text' class='infoPompier infoPompier-chef' ></td> </tr>
|
||||
<tr><th>Ville</th> <td> <input name='ztVille' type='text' class='infoPompier infoPompier-chef' ></td> </tr>
|
||||
<tr><th>Téléphone</th> <td> <input name='ztTel' type='text' class='infoPompier-chef' ></td> </tr>
|
||||
<tr><th>Adresse électronique</th> <td> <input name='ztMail' type='text' class='infoPompier infoPompier-chef' ></td> </tr>
|
||||
<tr><th>Nom de compte</th> <td><input name='ztMail' type='text' class='infoPompier infoPompier-chef' ></td></tr>
|
||||
<input name='pId' type='hidden' class='infoPompier' value='" . $lesInfosPompier['id'] . "' >
|
||||
<tr><th style='width:130px;'>Code</th> <td><input name='zCis' type='text' class='infoPompier-chef' value='" . $lesInfosPompier['pCis'] . "' ></td> </tr>
|
||||
<tr><th>Téléphone*</th> <td> <input name='ztTel' type='text' class='infoPompier-chef' required></td> </tr>
|
||||
<tr><th>Adresse électronique*</th> <td> <input name='ztMail' type='text' class='infoPompier infoPompier-chef' required></td> </tr>
|
||||
<tr><th>Nom de compte*</th> <td><input name='ztLogin' id='newLogin' type='text' class='infoPompier infoPompier-chef' required></td></tr>
|
||||
<tr><th style='width:130px;'>Code</th> <td><input name='zCis' id='inputDisabled' type='text' class='infoPompier-chef' value='" . $lesInfosPompier['pCis'] . "' disabled></td> </tr>
|
||||
<tr><th>Nom</th> <td>" . $lesInfosPompier['cNom'] . "</td> </tr>
|
||||
<tr><th>Adresse</th> <td>" . $lesInfosPompier['cAdresse'] . "</td> </tr>
|
||||
<tr><th>Téléphone</th> <td>" . $lesInfosPompier['cTel'] . "</td> </tr>
|
||||
@@ -121,8 +121,9 @@
|
||||
</table>
|
||||
</fieldset>
|
||||
<div style='text-align:center; '>
|
||||
<input type= 'image' class='validerAjout' alt='Valider' src= 'images/Valider.jpg'>
|
||||
<p class='notif-ajout' style:'margin: 10px'></p>
|
||||
<input type= 'image' class='btAnnulerAjout' alt='Annuler' src= 'images/Annuler.jpg'>
|
||||
<input type= 'image' class='validerAjout' alt='Valider' src= 'images/Valider.jpg'>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@@ -135,7 +136,8 @@
|
||||
<tr>
|
||||
<td style='border: 0px solid white; witdh:130px; text-align:right;'>
|
||||
<input type="hidden" name="zTypeAdm"
|
||||
value="<? php // if ($type=="adm") {echo ("true");} else {echo ("false");} ?>">
|
||||
value="">
|
||||
<? // if ($type=="adm") {echo ("true");} else {echo ("false");} ?>
|
||||
<input type="hidden" name="zOk" value="OK">
|
||||
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user