$ls_codper="%".utf8_encode($_REQUEST['txtcodper'])."%"; $ls_apeper="%".utf8_encode($_REQUEST['txtapeper'])."%"; $ls_nomper="%".utf8_encode($_REQUEST['txtnomper'])."%"; $ls_nummov="%".utf8_encode($_REQUEST['txtnummov'])."%"; header('Content-type:text/xml'); print $io_personal->uf_srh_buscar_movimientos($ls_codper,$ls_nomper,$ls_apeper,$ls_nummov); } elseif($evento=="createXML_beneficiarios") { $ls_codper=$_GET['codper']; header('Content-type:text/xml'); print $io_personal->uf_srh_buscar_beneficiarios($ls_codper); } elseif($evento=="createXML_premio") { $ls_codper=$_GET['codper']; header('Content-type:text/xml'); print $io_personal->uf_srh_buscar_premio($ls_codper); } }