1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
| <table id="rounded-corner" summary="" align="left">
<thead>
<tr>
<th scope="col" class="rounded-company">Nom</th>
<th scope="col" class="rounded-q1">Prénom</th>
<th scope="col" class="rounded-q2">Poste</th>
<th scope="col" class="rounded-q2">Motif supression</th>
<th scope="col" class="rounded-q4">Poubelle</th>
</tr>
<tr>
<th scope="col" class="rounded-q1"></th>
<th scope="col" class="rounded-q1"></th>
<th scope="col" class="rounded-q2"></th>
<th scope="col" class="rounded-q2"></th>
<th scope="col" class="rounded-q1"><input type='checkbox' name='checkall' onclick=checkedAll(third)></th>
</tr>
</thead>
<tbody>
<form name="third" method="post" id="third" action="index.php?module=employee&opt=6" class="niceform">
<?php while ($i<$total)
{
$ls = new tmembre;
$ls -> connection_base() ;
$ls -> table = "table";
$ls -> champs ="mat=".$tab['matricule'][$i];
$tb = $ls -> select_generique() or die("1");
$id_poste=$tb['id_poste'];
$l = new tmembre;
$l -> connection_base() ;
$l -> table = "t_poste";
$l -> champs ="id_poste=".$id_poste;
$t = $l -> select_generique() or die("1");
$m= $tab['matricule'][$i];
echo "<tr><td>";
echo "<a href=index.php?module=employee&opt=3&code=$m>".$tab['nom'][$i]."</a>";
echo "</td><td>";
echo $tab['prenom'][$i];
echo "</td><td>";
echo $t['poste'];
echo "</td><td>";
?>
<select size="1" name="motif" id="dobYear">
<option value="Licenciment">Licenciment</option>
<option value="Démission">Démission</option>
<option value="Mutation">Mutation</option>
<option value="Rupture fonctionnelle">Rupture fonctionnelle</option>
<option value="Fin de contrat">Fin de contrat</option>
</select>
<?php
echo "</td><td>";
echo '<input type=checkbox name=c['.$i.'] value='.$tab['matricule'][$i].'>'; ?>
<?php
echo "</td></tr>";
$i++;
}
}
?>
<tfoot>
<tr>
<td colspan="2" class="rounded-foot-left"><em>Nombre d'employés <?php echo " ".$total ; ?></em></td>
<td align="right">
<input type="submit" class="NFButton" value="Supprimer" name="supprimer" /></td>
<td class="rounded-foot-right">
</tr>
<input type=hidden name=nbchoix value=<?php echo $total ?>> </td></tr>
</tfoot>
</form>
</tbody>
</table> |