!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_led/proyectos/toba_referencia/php/componentes/ei_filtro/   drwxrwxr-x
Free 13.83 GB of 61.93 GB (22.33%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ci_ei_filtro.php (1.92 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once('condicion_funcion_es_activo.php');
php_referencia::instancia()->agregar(__FILE__);

class 
ci_ei_filtro extends toba_ci
{
    protected 
$s__datos;

    function 
conf__filtro($filtro)
    {
        if (isset(
$this->s__datos)) {
            
$filtro->set_datos($this->s__datos);
        }
        
        
$filtro->columna('importe')->set_condicion_default('es_menor_que');        //Seteo la condicion default para la columna importe
        
$filtro->columna('deporte')->set_condicion_fija('es_igual_a'true);        //Fijo la condicion de la columna para que no se pueda cambiar
    
}
    
    function 
evt__filtro__where($datos)
    {
        
$this->s__datos $datos;
        
$where $this->dep('filtro')->get_sql_where();
        
$this->pantalla()->set_descripcion('Cláusula where generada: <pre>'.$where.'</pre>');
    }
    
    function 
evt__filtro__where_particular($datos)
    {
        
$this->s__datos $datos;
        
        
//-- Se cambia la condición de la cadena para que invoque una funcion durante la evaluacion
        
if (isset($datos['nombre'])) {
            
$this->dep('filtro')->columna('nombre')->condicion()->set_pre_evaluacion('funcion_x(');
            
$this->dep('filtro')->columna('nombre')->condicion()->set_post_evaluacion(')');
        }
        
//-----

        //-- Se aplica un condicion totalmente distinta al campo activo, para que llame a una funcion sql con el campo como parametro
        
if (isset($datos['activo'])) {
            
$this->dep('filtro')->columna('activo')->set_condicion(new condicion_funcion_es_activo());
        }
        
//-----
        
        
$where $this->dep('filtro')->get_sql_where();
        
        
$this->pantalla()->set_descripcion('Cláusula where generada: <pre>'.$where.'</pre>');
    }    
    
    function 
evt__filtro__clausulas($datos)
    {
        
$this->s__datos $datos;
        
$clausulas $this->dep('filtro')->get_sql_clausulas();
        
$this->pantalla()->set_descripcion('Cláusulas: <pre>'.print_r($clausulastrue).'</pre>');
    }

    function 
evt__filtro__datos($datos)
    {
        
$this->pantalla()->set_descripcion('Datos: <pre>'.print_r($datostrue).'</pre>');        
        
$this->s__datos $datos;
    }
    
    
}


?>

:: 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.8106 ]--