!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/proyectos/toba_referencia/php/operaciones_simples/abm_personas/   drwxr-xr-x
Free 14.56 GB of 61.93 GB (23.52%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ci_navegacion.php (2.14 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
php_referencia
::instancia()->agregar(__FILE__);
require_once(
'operaciones_simples/consultas.php'); 

//----------------------------------------------------------------
class ci_navegacion extends toba_ci
{
    protected 
$s__filtro;
    
    function 
get_relacion()
    {
        return 
$this->dependencia('datos');
    }

    function 
get_editor()
    {
        return 
$this->dependencia('editor');
    }

    function 
conf__edicion()
    {
        if (! 
$this->get_relacion()->esta_cargada()) {
            
$this->pantalla()->eliminar_evento('eliminar');
        }
        
$hay_cambios $this->get_relacion()->hay_cambios();
        
toba::menu()->set_modo_confirmacion('Esta a punto de abandonar la edición de la persona sin grabar, ¿Desea continuar?'$hay_cambios);
    }
    
    function 
evt__agregar()
    {
        
$this->set_pantalla('edicion');
    }
    
    function 
evt__eliminar()
    {
        
$this->get_relacion()->eliminar();
        
$this->set_pantalla('seleccion');
    }
    
    function 
evt__cancelar()
    {
        
$this->get_editor()->disparar_limpieza_memoria();
        
$this->get_relacion()->resetear();
        
$this->set_pantalla('seleccion');
    }
    
    function 
evt__procesar()
    {
        
$this->dependencia('editor')->disparar_limpieza_memoria();
        
$this->get_relacion()->sincronizar();
        
$this->get_relacion()->resetear();
        
$this->set_pantalla('seleccion');
    }

    
//-------------------------------------------------------------------
    //-- DEPENDENCIAS
    //-------------------------------------------------------------------

    //-------- FILTRO ----

    
function evt__filtro_personas__filtrar($datos)
    {
        
$this->s__filtro $datos;
    }

    function 
conf__filtro_personas($filtro)
    {
        if (isset(
$this->s__filtro)) {
            
$filtro->set_datos($this->s__filtro);
        }
    }

    function 
evt__filtro_personas__cancelar()
    {
        unset(
$this->s__filtro);    
    }

    
//-------- CUADRO ----

    
function conf__cuadro_personas($cuadro)
    {
        if (isset(
$this->s__filtro)) {
            
$datos consultas::get_personas($this->s__filtro);
        } else {
            
$datos consultas::get_personas();
        }
        
$cuadro->set_datos($datos);
    }

    function 
evt__cuadro_personas__seleccion($id)
    {
        
$this->get_relacion()->cargar($id);
        
$this->set_pantalla('edicion');
    }
    
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.8278 ]--