modif pompiers pas finis
This commit is contained in:
@@ -78,9 +78,9 @@ $titre3 = ($_SESSION['statut'] == 1) ? "Mon profil" : "Profil";
|
||||
echo ('
|
||||
<div id="fiche">
|
||||
<ul class="lesOnglets">
|
||||
<li class="actif onglet" id="onglet1" onclick="javascript:Affiche(\'1\',3);">'.$titre1.'</li>
|
||||
<li class="inactif onglet" id="onglet2" onclick="javascript:Affiche(\'2\',3);">'.$titre2.'</li>
|
||||
<li class="inactif onglet" id="onglet3" onclick="javascript:Affiche(\'3\',3);">'.$titre3.'</li>
|
||||
<li class="actif onglet" id="onglet1" onclick="javascript:Affiche(\'1\',3);">' . $titre1 . '</li>
|
||||
<li class="inactif onglet" id="onglet2" onclick="javascript:Affiche(\'2\',3);">' . $titre2 . '</li>
|
||||
<li class="inactif onglet" id="onglet3" onclick="javascript:Affiche(\'3\',3);">' . $titre3 . '</li>
|
||||
</ul>');
|
||||
/*================================================================================================== DISPONIBILITEES (1) */
|
||||
echo ("
|
||||
@@ -179,7 +179,7 @@ echo ("
|
||||
echo ("
|
||||
</fieldset>
|
||||
</div>");
|
||||
/*================================================================================================== GARDES (2)*/
|
||||
/*================================================================================================== GARDES (2)*/
|
||||
echo ("
|
||||
<div style='display: none;' class='unOnglet' id='contenuOnglet2'>
|
||||
<fieldset><legend>Gardes réalisées ");
|
||||
@@ -192,13 +192,17 @@ echo ("
|
||||
$dateGarde="premiere";
|
||||
$colonne=1;
|
||||
echo "</tr>";
|
||||
|
||||
foreach ($lesGardes as $uneLigne)
|
||||
{
|
||||
if ($dateGarde != $uneLigne['wDate'])
|
||||
{
|
||||
if ($dateGarde != "premiere")
|
||||
{
|
||||
while ($colonne<=count($lesTranches)) {echo "<td class='controle' style='text-align : center;'> </td>"; $colonne++;}
|
||||
while ($colonne <= count($lesTranches)) {
|
||||
echo "<td class='controle' style='text-align : center;'> </td>";
|
||||
$colonne++;
|
||||
}
|
||||
echo "</tr>
|
||||
";
|
||||
}
|
||||
@@ -220,39 +224,42 @@ echo ("
|
||||
/*================================================================================================== COORDONNEES (3) */
|
||||
echo ("
|
||||
<div style='display: none;' class='unOnglet' id='contenuOnglet3'>
|
||||
<form class='dataPompier' method='post'>
|
||||
<table style='border: 0px solid white;'>
|
||||
<tr>
|
||||
<td style='border :0px;'>
|
||||
<fieldset><legend>Coordonnées</legend>
|
||||
<table>
|
||||
<tr><th style='width:130px;'>Nom</th> <td style='width:130px;'>".$lesInfosPompier['nom']."</td> </tr>
|
||||
<tr><th>Prénom</th> <td>".$lesInfosPompier['prenom']."</td> </tr>
|
||||
<tr><th>Adresse</th> <td>".$lesInfosPompier['pAdresse']."</td> </tr>
|
||||
<tr><th>Code postal</th> <td>".$lesInfosPompier['pCp']."</td> </tr>
|
||||
<tr><th>Ville</th> <td>".$lesInfosPompier['pVille']."</td> </tr>
|
||||
<tr><th>Téléphone</th> <td>".$lesInfosPompier['pBip']."</td> </tr>
|
||||
<tr><th>Adresse électronique</th> <td>".$lesInfosPompier['pMail']."</td> </tr>
|
||||
<tr><th>Nom de compte</th> <td>".$lesInfosPompier['pLogin']."</td></tr>
|
||||
<tr><th> </th> <td> </td> </tr>
|
||||
<tr><th style='width:130px;'>Nom</th> <td style='width:130px;'><input name='ztNom' type='text' class='infoPompier' value='".$lesInfosPompier['nom']."' disabled></td> </tr>
|
||||
<tr><th>Prénom</th> <td> <input name='ztPrenom' type='text' class='infoPompier infoPompier-chef' value='" . $lesInfosPompier['prenom']."' disabled></td> </tr>
|
||||
<tr><th>Adresse</th> <td> <input name='adress' type='text' class='infoPompier infoPompier-chef' value='" . $lesInfosPompier['pAdresse']."' disabled></td> </tr>
|
||||
<tr><th>Code postal</th> <td> <input name='ztCodePostal' type='text' class='infoPompier infoPompier-chef' value='" . $lesInfosPompier['pCp']."' disabled></td> </tr>
|
||||
<tr><th>Ville</th> <td> <input name='ztVille' type='text' class='infoPompier infoPompier-chef' value='" . $lesInfosPompier['pVille']."' disabled></td> </tr>
|
||||
<tr><th>Téléphone</th> <td> <input name='ztTel' type='text' class='infoPompier-chef' value='" . $lesInfosPompier['pBip']."' disabled></td> </tr>
|
||||
<tr><th>Adresse électronique</th> <td> <input name='ztMail' type='text' class='infoPompier infoPompier-chef' value='" . $lesInfosPompier['pMail']."' disabled></td> </tr>
|
||||
<tr><th>Nom de compte</th> <td>" . $lesInfosPompier['pLogin'] . "</td></tr>
|
||||
<input name='pId' type='hidden' class='infoPompier' value='" . $lesInfosPompier['id']."' disabled>
|
||||
<br />");
|
||||
echo (" </table>
|
||||
echo ("
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
<td style='border :0px;'>
|
||||
<fieldset><legend>Centre d'Incendie et de Secours</legend>
|
||||
<table>
|
||||
<tr><th style='width:130px;'>Code</th> <td>".$lesInfosPompier['pCis']."</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>
|
||||
<tr><th>Groupement</th> <td>".$lesInfosPompier['cGroupement']."</td> </tr>
|
||||
<tr><th style='width:130px;'>Code</th> <td><input name='zCis' 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>
|
||||
<tr><th>Groupement</th> <td>" . $lesInfosPompier['cGroupement'] . "</td> </tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<fieldset><legend>Fonction</legend>
|
||||
<table>
|
||||
<tr><th>Type</th> <td>".$lesInfosPompier['wType']."</td> </tr>
|
||||
<tr><th>Grade</th> <td>".$lesInfosPompier['wGrade']."</td> </tr>
|
||||
<tr><th>Statut</th> <td>".$lesInfosPompier['wStatut']."</td> </tr> </table>
|
||||
<tr><th>Type</th> <td> <input name='lstType' type='text' class='infoPompier-chef' value='" . $lesInfosPompier['wType'] . "' disabled></td> </tr>
|
||||
<tr><th>Grade</th> <td> <input name='lstGrade' type='text' class='infoPompier-chef' value='" . $lesInfosPompier['wGrade'] . "' disabled></td> </tr>
|
||||
<tr><th>Statut</th> <td> <input name='lstStatut' type='text' class='infoPompier-chef' value='" . $lesInfosPompier['wStatut'] . "' disabled></td> </tr>
|
||||
</table>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -264,7 +271,10 @@ echo (" </table>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
</div>");
|
||||
</form>
|
||||
</div>
|
||||
<input type='image' class='btn-valid-modif' id='validModif' title='Modifier' src='images/valider.jpg' style='display:none; margin: 0 auto;'>
|
||||
");
|
||||
|
||||
/*================================================================================================== Onglet X */
|
||||
echo ("
|
||||
|
||||
Reference in New Issue
Block a user