Beispiel #1
0
switch ($lsOperacion) {
    case "buscar":
        $lbEnc = $loUsuario->fbBuscar();
        if ($lbEnc > 0) {
            $liHay = 1;
            $lsCedula = $loUsuario->fsGetCedula();
            $lsNombre = $loUsuario->fsGetNombre();
            $lsApellido = $loUsuario->fsGetApellido();
            $lsUsuario = $loUsuario->fsGetUsuario();
            $lsContrasena = $loUsuario->fsGetClave();
            $lsRol = $loUsuario->fsGetRol();
            $lsPreguntaSecreta = $loUsuario->fsGetPreguntaSecreta();
            $lsRespuestaSecreta = $loUsuario->fsGetRespuestaSecreta();
            $lsEstatus = $loUsuario->fsGetEstatus();
            $lsSexo = $loUsuario->fsGetSexo();
            $lsDireccion = $loUsuario->fsGetDireccion();
            $lsTelefono = $loUsuario->fsGetTelefono();
            $lsFechaNaci = $loUsuario->fsGetFechaNaci();
            $lsRegistroPer = $loUsuario->fsGetRegistroPer();
            $lsGradoEstudio = $loUsuario->fsGetGradoEstudio();
            $lsTallaFranela = $loUsuario->fsGetTallaFranela();
            $lsEstatusPer = $loUsuario->fsGetEstatusPer();
        } else {
            $liHay = 0;
        }
        break;
    case "incluir":
        if ($lsHacer == "buscar") {
            $lbEnc = $loUsuario->fbBuscar();
            if ($lbEnc == 1) {
                $liHay = 1;