modification complète d'un pompier

This commit is contained in:
pierre renaudot
2023-10-19 09:07:06 +02:00
parent 5fdb28c44e
commit aa0701334e
7 changed files with 394 additions and 245 deletions

View File

@@ -44,7 +44,7 @@ echo ('
if ($_SESSION['statut'] == 2) {?>
<input type="image" id="zNouveau" title="Ajouter" src="images/ajout.gif" onclick="faire('choixP', 'ajouter')">
<input type="image" class="btn-modif" id="zModif" title="Modifier" src="images/modif.gif">
<input type="image" class="btn-modif" id="zModifChef" title="Modifier" src="images/modif.gif">
<input type="image" id="zSupprime" title="Supprimer" src="images/supprimer.gif" onclick="faire('choixP', 'supprimer')">&nbsp;&nbsp;
<input type="image" id="zPremier" title="premier" src="images/goPremier.gif" onclick="premier('choixP','lstPompiers')">
<input type="image" id="zPrecedent" title="précédent" src="images/goPrecedent.gif" onclick="precedent('choixP','lstPompiers')">
@@ -54,13 +54,18 @@ if ($_SESSION['statut'] == 2) {?>
<input type="image" id="zSuivant" title="suivant" src="images/goSuivant.gif" onclick="suivant('choixP','lstPompiers')">
<input type="image" id="zDernier" title="dernier" src="images/goDernier.gif" onclick="dernier('choixP','lstPompiers')">
<?php
} else {
echo '
<input type="image" class="btn-modif" id="zModif" title="Modifier" src="images/modif.gif">';
}?>
} else {
echo '
<input type="image" class="btn-modif" id="zModif" title="Modifier" src="images/modif.gif">';
}?>
</div>
<input type="hidden" name="action" value="<?php if($_REQUEST['action']=="liste") {echo "voir";} else {echo $_REQUEST['action'];}?>">
<input type="hidden" name="action" value="<?php
if($_REQUEST['action'] == "liste") {
echo "voir";
} else {
echo $_REQUEST['action'];
}?>">
<input type="hidden" name="type" value="<?= isset($_REQUEST['type']) ? $_REQUEST['type'] : '';?>">
<input type="hidden" name="zType" value="*">
<input type="hidden" name="zIndice" value="*">