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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
|
<table width="100%" border="0" align="left" align="center">
<tr>
<td nowrap class="Libelle" align="left"><?php $mess->printString("user.service") ?> : </td>
<td>
<select name="service" size="1" class="Controle_Plat_Obligatoire_EA" style="width:250px" OnChange="change_service()" >
<?php if ($service_datas[0][POSTE_SERVICE] == 0 ) { ?><option value="0">Sélectionnez le service ... <?php } ?>
<?php for ($i = 0 ; $i < sizeof($service_datas) ; $i++) {?>
<option value="<?php echo $service_datas[$i][BU_CODE]?>"><?php echo $service_datas[$i][BU_LIB]?>
<?php } ?>
</select>
</td>
</tr>
<tr>
<td nowrap class="Libelle" align="left"><?php $mess->printString("user.poste1"); ?> : </td>
<td>
<select id="service_niveau1" name="service_niveau1" size="1" class="Controle_Plat_Obligatoire_EA" style="width:250px" OnChange="change_service2()" >
<option value="0" >Sélectionnez la service niveau 1 ...
</select>
</td>
</tr>
<tr>
<td nowrap class="Libelle" align="left"><?php $mess->printString("user.poste2"); ?> : </td>
<td>
<select id="service_niveau2" name="service_niveau2" size="1" class="Controle_Plat_Obligatoire_EA" style="width:250px" OnChange="change_service3()">
<option value="0" >Sélectionnez la service Niveau 2 ...
</select>
</td>
</tr>
<tr>
<td colspan="2" class="Libelle" align="left"><font color="CC6600" ><?php $mess->printString("poste.rem1"); ?></font></td>
</tr>
<tr>
<td nowrap class="Libelle" align="left"><?php $mess->printString("poste.rem2"); ?> : </td>
<td>
<select name="rem_fct" size="1" class="Controle_Plat_Obligatoire_EA">
<?php if ($datas[0][POSTE_REM] == 0 ) { ?><option value="0" <?php if ($_POST[tri_bu]) echo "selected"?>><?php echo $mess->getString("poste.trilib"); }?>
<?php if ($datas[0][POSTE_REM] <> 0 ) { ?><option value="0" ><?php echo $mess->getString("poste.trilib"); } ?>
<option value="01"<?php if ($datas[0][POSTE_REM] == "01") echo "selected"?>><?php $mess->printString("poste.dir") ?>
<option value="02"<?php if ($datas[0][POSTE_REM] == "02") echo "selected"?>><?php $mess->printString("poste.diri") ?>
<option value="99"<?php if ($datas[0][POSTE_REM] == "99") echo "selected"?>><?php $mess->printString("poste.pasdir") ?>
</select>
</td>
</tr>
<tr height="20">
<td nowrap class="Libelle" align="left"></td>
</tr>
<?php /* ?>
<tr>
<td nowrap class="Libelle" align="left"><?php $mess->printString("poste.inactif")?></td>
<td>
<input type="checkbox" align="center" name="inactif" value="1" <?php if ($datas[0][POSTE_INACTIF]) echo "checked"?>>
</td>
</tr>
<?php */ ?>
<?php if ($action != "save") { ?>
<tr id="util" align="center" bgcolor="#FFFFFF">
<td colspan="2">
<table width="100%" cellspacing="0" class="bg_O1_int" border="0" cellpadding="0" border="0">
<tr>
<td align="center" width="100%" class="Libelle_H"><?php $mess->printString("poste.listefil"); ?></td>
<td id="cre_util" align="left" valign="center">
<a href="../Pages/Fonction_Profils.php?action2=<?php echo $action ?>&maj=<?php echo $maj?>&code=<?php echo $code ?>&fil_sel=<?php echo $fil_sel ?>&user_sel=<?php echo $user_sel ?>&prof_sel=<?php echo $prof_sel ?>">
<img src="../images/Btn_MAJ.gif" alt="Rattachement Fonction / Profil" border="0" >
</a>
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%" cellspacing="0" class="bg_O1_int" border="0" cellpadding="0" border="0">
<?php $color[0] = "#FFFFFF" ;
$color[1] = "#EAEAEA" ; ?>
<?php for ($i = 0 ; $i < sizeof($fil_datas) ; $i++) {?>
<tr>
<td align="left" valign="middle" bgcolor="<?echo $color[$i%2]?>" class="Ligne"><?echo $fil_datas[$i][PROFIL_LIBELLE]?></td>
</tr>
<?php } ?>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr height="30" align="center" bgcolor="#FFFFFF">
<td>
</td>
</tr>
<tr id="ug" align="center" bgcolor="#FFFFFF">
<td colspan="2">
<table width="50%" cellspacing="0" class="bg_O1_int" border="0" cellpadding="0" border="0">
<tr>
<td align="center" width="100%" class="Libelle_H"><?php $mess->printString("service.listug"); ?></td>
<td align="left" valign="center">
<a href="../Pages/fonction_ug.php?action2=<?php echo $action ?>&maj=<?php echo $maj?>&code=<?php echo $code ?>&service_sel=<?php echo $service_sel ?>">
<img src="../images/Btn_MAJ.gif" alt="Rattachement UG / fonctionr" border="0" >
</a>
</td>
</tr>
<tr>
<td colspan="2">
<table width="100%" cellspacing="0" class="bg_O1_int" border="0" cellpadding="0" border="0">
<?php $color[0] = "#FFFFFF" ;
$color[1] = "#EAEAEA" ; ?>
<?php for ($i = 0 ; $i < sizeof($fil_datas_ug) ; $i++) {?>
<tr>
<td align="center" valign="middle" bgcolor="<?echo $color[$i%2]?>" class="Ligne"><b><?echo $fil_datas_ug[$i][UG_LIB]?></b></td>
</tr>
<?php } ?>
</table>
</td>
</tr>
</table>
</td>
</tr>
<?php } ?>
</table>
</td>
</tr>
</table> |
Partager