<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-04-17 05:58:43              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto D6R1M; hoTix: require_once 'ClienteDatos.php'; goto q4c9A; D6R1M: require_once 'Usuario.php'; goto hoTix; q4c9A: require_once 'Conexion.php'; goto xxcWj; xxcWj: class UsuarioDatos { public static function getUsuarioByUsuario(string $usuario) : ?Usuario { goto BAXb_; nFkJb: if (!($result = sv_mysqli_query($con, $query))) { goto ucFDD; } goto RgAc1; BAXb_: $resp = null; goto QNi7D; V21he: $con = getConnection(); goto nFkJb; AnkFW: return $resp; goto KtdlZ; hsXdO: ucFDD: goto buAbg; IJQ2O: kCkOq: goto hsXdO; QNi7D: $query = "SELECT user, user_group, full_name FROM vicidial_users WHERE user = '" . limpia($usuario) . "' LIMIT 1"; goto V21he; buAbg: sv_mysqli_close($con); goto AnkFW; RgAc1: if (!($row = sv_mysqli_fetch_array($result))) { goto kCkOq; } goto Fsuyq; Fsuyq: $resp = new Usuario($row["user"], $row["full_name"], ClienteDatos::getClienteById($row["user_group"])); goto IJQ2O; KtdlZ: } public static function getUsuarioByUsuarioAndPassword(string $usuario, string $password) : ?Usuario { goto UG0Rl; qzJ5W: sv_mysqli_close($con); goto qQGMe; qQGMe: return $resp; goto SOHO9; EskJG: if (!($result = sv_mysqli_query($con, $query))) { goto Ksdfe; } goto f02aU; UbQv3: $resp = self::getUsuarioByUsuario($row["user"]); goto ca9hN; iSK_1: Ksdfe: goto qzJ5W; f02aU: if (!($row = sv_mysqli_fetch_array($result))) { goto QzLdN; } goto UbQv3; bt9cP: $query = "SELECT user FROM vicidial_users WHERE user = '" . limpia($usuario) . "' AND pass = '" . limpia($password) . "' LIMIT 1"; goto B4ruB; B4ruB: $con = getConnection(); goto EskJG; ca9hN: QzLdN: goto iSK_1; UG0Rl: $resp = null; goto bt9cP; SOHO9: } }