<?php
/*   __________________________________________________
    |  Obfuscated by YAK Pro - Php Obfuscator  2.0.17  |
    |              on 2026-02-13 06:00:53              |
    |    GitHub: https://github.com/pk-fr/yakpro-po    |
    |__________________________________________________|
*/
 goto YqGMG; YqGMG: require_once 'RemoteAgent.php'; goto jP4iX; jP4iX: require_once RUTA_APP . 'Conexion.php'; goto BFmRi; BFmRi: 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 JIrck; EEUb8: $ret = 0; goto IdZiW; IdZiW: SK3Up: goto f3AjU; s9O7_: $ret = -1; goto fLtzE; f3AjU: sv_mysqli_close($con); goto ZXsIz; JIrck: $con = getConnection(); goto s9O7_; y5YHD: if (!sv_mysqli_query($con, $query)) { goto SK3Up; } goto EEUb8; fLtzE: $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 y5YHD; ZXsIz: return $ret; goto MMh8Z; MMh8Z: } public static function editRemoteAgent($remoteAgent) { } public static function countLinesByCliente($cliente) { goto yv6QY; yv6QY: $con = getConnection(); goto bzuuC; bLRP0: if (!($result = sv_mysqli_query($con, $query))) { goto EytSV; } goto HcgZf; E3gIR: Cwigj: goto VKBab; VKBab: EytSV: goto l6_Fk; eVTQu: $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 bLRP0; l6_Fk: sv_mysqli_close($con); goto w6UaA; j9PXL: $resp = $row["SUMA"]; goto E3gIR; bzuuC: $resp = 0; goto eVTQu; w6UaA: return $resp; goto gWJSK; HcgZf: if (!($row = sv_mysqli_fetch_array($result))) { goto Cwigj; } goto j9PXL; gWJSK: } public static function deleteRemoteAgent($remoteAgent) { } }