if (isset($_GET['editar']) && isset($_GET['n']) && isset($_GET['t']) && isset($_GET['c']) && isset($_GET['g']) && isset($_GET['fi']) && isset($_GET['hi']) && isset($_GET['ff'])) { $id = $_GET['editar']; $nombre = $_GET['n']; $tipo = $_GET['t']; $compania = $_GET['c']; $grupo = $_GET['g']; $finicio = $_GET['fi']; $hinicio = $_GET['hi']; $ffin = $_GET['ff']; $hfin = $_GET['hf']; $consultas = new consultas($sqlHost, $sqlUser, $sqlPass, $sqlBase); $consultas->EditarGiftCard($id, $nombre, $tipo, $compania, $grupo, $finicio, $hinicio, $ffin, $hfin); } if (isset($_GET['mostrarAlarmas'])) { $consultas = new consultas($sqlHost, $sqlUser, $sqlPass, $sqlBase); $consultas->ListarAlarmz(); } if (isset($_GET['endofdeal'])) { $id = $_GET['endofdeal']; $consultas = new consultas($sqlHost, $sqlUser, $sqlPass, $sqlBase); $consultas->buscarFFIN($id); } if (isset($_GET['endoftime'])) { $id = $_GET['endoftime']; $consultas = new consultas($sqlHost, $sqlUser, $sqlPass, $sqlBase); $consultas->buscarHFIN($id); } if (isset($_GET["AlarmasCantidad"])) { $id = $_GET['AlarmasCantidad']; $consultas = new consultas($sqlHost, $sqlUser, $sqlPass, $sqlBase); $consultas->AlarmasCantidad($id);