/* Decoded by unphp.net */ ?>getById($table, $fldEnfant, $condition); $numSalarie = $lstEnfant['NumSalarie']; $numEnfant = $lstEnfant['NoEnfant']; $nomEnfant = $lstEnfant['NomEnfant']; $prenomEnfant = $lstEnfant['PrenomEnfant']; $dateNaissance = format_date( $lstEnfant['DateNaissance'] ); $sexe = $lstEnfant['Sexe']; $selM = ( ($sexe == 1) ? "selected=selected" : ""); $selF = ( ($sexe == 0) ? "selected=selected" : ""); $aCharge = $lstEnfant['ACharge']; $checked = ( ($aCharge == 1) ? "checked" : "" ); $table = "tblEnfantDet"; $condition = "NumSAlarie = {$numSalarie} AND noenfant = {$numEnfant}"; $fldSEnfant = array( 'n_acte_nais', 'lieu_nais', 'categorie_enfant', 'date_radiation', 'motif_radiation' ); $lstSEnfant = $obj->getById($table, $fldSEnfant, $condition); $numActe = $lstSEnfant['n_acte_nais']; $lieuNaiss = $lstSEnfant['lieu_nais']; $categorieEnfant = $lstSEnfant['categorie_enfant']; $dateRadiation = format_date( $lstSEnfant['date_radiation'] ); $motifRadiation = $lstSEnfant['motif_radiation']; $selA = ( (left($categorieEnfant, 1) == 'A') ? "selected=selected" : ""); $selL = ( (left($categorieEnfant, 1) == 'L') ? "selected=selected" : ""); $selN = ( (left($categorieEnfant, 1) == 'N') ? "selected=selected" : ""); $selR = ( (left($categorieEnfant, 1) == 'R') ? "selected=selected" : ""); ?>