public function ListaDerHabienteFiliacion($c_cod_per, $cAfiliacion) { $der_hab = ""; $o_DPersona = new DPersonas(); $rs = $o_DPersona->ListaDerHabienteFiliacion($c_cod_per, $cAfiliacion); $resultadoArray = array(); $k = 1; foreach ($rs as $ind => $fila) { if ($fila[8] == '') { $fila[8] = '0000'; } $o_ActionAdmision = new ActionAdmision(); $cbo_vinculoFam = $o_ActionAdmision->seleccionarVinculoFamiliar($fila[8]); $fila[0] = "<input disabled='disabled' type='text' name='codigo[" . $k . "]' id='codigo[" . $k . "]' value='" . $fila[0] . "' style='width:60px;font-size:11px;cursor:default;'>"; $fila[2] = "<input disabled='disabled' type='text' name='nombre[" . $k . "]' id='nombre[" . $k . "]' value='" . $fila[2] . "' style='width:220px;font-size:11px;cursor:default;'>"; $fila[8] = "<select disabled='disabled' name='relacion[" . $k . "]' id='relacion[" . $k . "]' style='cursor:default;'>" . $cbo_vinculoFam . "</select>"; //$fila[9]="<a href='#' onclick=\"myajax.Link('../../ccontrol/control/control.php?p1=eliminar_derecho_habiente&p2=".$fila[1]."&p3=".$der_hab."&p4=0&p5=t&p6=".$der_hab."&p7=f&p8=t&p11=t&p12=eliminar&p13=vdh','fili_pac');\"><img src='../../../imagen/btn/b_eliminar_on.gif' title='Eliminar Derecho Habiente'/></a>"; $fila[9] = "<input disabled='disabled' type='button 'name='btnElimDerHab[" . $k . "]' id='btnElimDerHab[" . $k . "]' style='background:url(../../../imagen/btn/b_eliminar_on_black.gif) no-repeat;width:68px;height:25px;border:0px;cursor:default;' onmouseover=\"this.style.cursor='pointer'\" title='Eliminar Derecho Habiente' onclick=\"idfila=this.parentNode.parentNode.rowIndex;elimina_fila_derhabiente(idfila)\"/>"; array_push($resultadoArray, $fila); $k++; } return $resultadoArray; }