<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-04-17 06:44:02              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto PaiBm; PaiBm: require_once 'RemoteAgent.php'; goto tsfGQ; tsfGQ: require_once RUTA_APP . 'Conexion.php'; goto cEz9E; cEz9E: class RemoteAgentDatos { public static function getRemoteAgentById($id) { } public static function getRemoteAgentsByCliente($cliente, $texto, $pagina, $limite) { } public static function getRemoteAgents($texto, $pagina, $limite) { } public static function countRemoteAgentsByCliente($cliente, $texto) { } public static function countRemoteAgents($texto) { } public static function addRemoteAgent($remoteAgent) { goto h5pOR; f_6ln: if (!sv_mysqli_query($con, $query)) { goto YUgK3; } goto KmzG4; KmzG4: $ret = 0; goto XSZNT; fZVEO: $ret = -1; goto cy2W6; cy2W6: $query = "INSERT INTO vicidial_remote_agents(user_start,number_of_lines,server_ip,conf_exten,status,campaign_id) VALUES(\n\t\t\t\t'" . limpia($remoteAgent->getUserStart()) . "',\n\t\t\t\t'" . limpia($remoteAgent->getLineas()) . "',\n\t\t\t\t'" . limpia(SERVER_IP_REAL) . "',\n\t\t\t\t'" . limpia($remoteAgent->getExtension()) . "',\n\t\t\t\t'" . limpia($remoteAgent->getStatus()) . "',\n\t\t\t\t'" . limpia($remoteAgent->getCampana()) . "'\n\t\t\t)"; goto f_6ln; h5pOR: $con = getConnection(); goto fZVEO; wTdlC: return $ret; goto ADg1I; iP31s: sv_mysqli_close($con); goto wTdlC; XSZNT: YUgK3: goto iP31s; ADg1I: } public static function editRemoteAgent($remoteAgent) { } public static function countLinesByCliente($cliente) { goto Su2KT; QzrrE: HVbnU: goto MqKCR; gd71v: if (!($row = sv_mysqli_fetch_array($result))) { goto HVbnU; } goto TP70B; Su2KT: $con = getConnection(); goto oYJt3; e4_Pc: $query = "SELECT SUM(number_of_lines) AS SUMA FROM vicidial_remote_agents WHERE campaign_id IN (SELECT campaign_id FROM vicidial_campaigns WHERE user_group = '" . limpia($cliente->getId()) . "')"; goto e4gFk; vrCmN: sv_mysqli_close($con); goto nktfQ; MqKCR: WX5_M: goto vrCmN; e4gFk: if (!($result = sv_mysqli_query($con, $query))) { goto WX5_M; } goto gd71v; TP70B: $resp = $row["SUMA"]; goto QzrrE; oYJt3: $resp = 0; goto e4_Pc; nktfQ: return $resp; goto dx0mW; dx0mW: } public static function deleteRemoteAgent($remoteAgent) { } }