<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-04-17 06:44:03              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto l5U2J; l5U2J: require_once 'Usuario.php'; goto I6tbd; I6tbd: require_once 'ClienteDatos.php'; goto lat8P; lat8P: require_once 'Conexion.php'; goto aT_Od; aT_Od: class UsuarioDatos { public static function getUsuarioByUsuario(string $usuario) : ?Usuario { goto B8JnJ; xqE6T: sv_mysqli_close($con); goto f8H0a; g7fyu: $resp = new Usuario($row["user"], $row["full_name"], ClienteDatos::getClienteById($row["user_group"])); goto JXb3O; B8JnJ: $resp = null; goto ulC6_; W2mg_: Oywf7: goto xqE6T; f8H0a: return $resp; goto iTw2m; JXb3O: lF2jp: goto W2mg_; evGzv: if (!($result = sv_mysqli_query($con, $query))) { goto Oywf7; } goto b0v7j; ulC6_: $query = "SELECT user, user_group, full_name FROM vicidial_users WHERE user = '" . limpia($usuario) . "' LIMIT 1"; goto eMfoV; eMfoV: $con = getConnection(); goto evGzv; b0v7j: if (!($row = sv_mysqli_fetch_array($result))) { goto lF2jp; } goto g7fyu; iTw2m: } public static function getUsuarioByUsuarioAndPassword(string $usuario, string $password) : ?Usuario { goto iS_sw; gnIgs: $resp = self::getUsuarioByUsuario($row["user"]); goto P2tRT; iS_sw: $resp = null; goto WGlbA; P2tRT: fmf1k: goto arlAy; xj4LW: sv_mysqli_close($con); goto Zvzzr; xJzv5: if (!($row = sv_mysqli_fetch_array($result))) { goto fmf1k; } goto gnIgs; vViW0: if (!($result = sv_mysqli_query($con, $query))) { goto r1jO9; } goto xJzv5; WGlbA: $query = "SELECT user FROM vicidial_users WHERE user = '" . limpia($usuario) . "' AND pass = '" . limpia($password) . "' LIMIT 1"; goto Wx4uv; arlAy: r1jO9: goto xj4LW; Wx4uv: $con = getConnection(); goto vViW0; Zvzzr: return $resp; goto EbOgU; EbOgU: } }