<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-02-13 06:00:54              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto mTCpJ; xxF51: require_once 'ClienteDatos.php'; goto aDr3s; aDr3s: require_once 'Conexion.php'; goto JfJgG; mTCpJ: require_once 'Usuario.php'; goto xxF51; JfJgG: class UsuarioDatos { public static function getUsuarioByUsuario(string $usuario) : ?Usuario { goto SqsB_; FOK1E: $con = getConnection(); goto ft9AP; hI7nJ: g9Zoa: goto VZDCY; fqcjF: $resp = new Usuario($row["user"], $row["full_name"], ClienteDatos::getClienteById($row["user_group"])); goto r3NaV; J3qld: $query = "SELECT user, user_group, full_name FROM vicidial_users WHERE user = '" . limpia($usuario) . "' LIMIT 1"; goto FOK1E; VZDCY: sv_mysqli_close($con); goto AxCET; Y8RUp: if (!($row = sv_mysqli_fetch_array($result))) { goto WurFX; } goto fqcjF; r3NaV: WurFX: goto hI7nJ; AxCET: return $resp; goto QsE5M; ft9AP: if (!($result = sv_mysqli_query($con, $query))) { goto g9Zoa; } goto Y8RUp; SqsB_: $resp = null; goto J3qld; QsE5M: } public static function getUsuarioByUsuarioAndPassword(string $usuario, string $password) : ?Usuario { goto Wywx2; x9ifr: VqODe: goto Kq8Su; r_CiJ: CGFKk: goto x9ifr; Wywx2: $resp = null; goto UF_Ey; hHUPJ: $con = getConnection(); goto f50OX; aVLG9: if (!($row = sv_mysqli_fetch_array($result))) { goto CGFKk; } goto Il9KL; UF_Ey: $query = "SELECT user FROM vicidial_users WHERE user = '" . limpia($usuario) . "' AND pass = '" . limpia($password) . "' LIMIT 1"; goto hHUPJ; fywxI: return $resp; goto GhuWk; Il9KL: $resp = self::getUsuarioByUsuario($row["user"]); goto r_CiJ; f50OX: if (!($result = sv_mysqli_query($con, $query))) { goto VqODe; } goto aVLG9; Kq8Su: sv_mysqli_close($con); goto fywxI; GhuWk: } }