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


Viewing file:     toba_rf_componente_cuadro.php (1.84 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
class toba_rf_componente_cuadro extends toba_rf_componente
{
    function 
inicializar()
    {
        
$this->cargar_columnas();
    }    

    function 
cargar_columnas()
    {
        
$cols $this->cargar_datos_columnas();
        if(
count($cols) > 0) {
            
$grupo = new toba_rf_grupo_columnas('<b>COLUMNAS</b>',$this);
            
$c = array();
            foreach(
$cols as $col) {
                
$c[] = new toba_rf_subcomponente_columna($col['etiqueta'], $grupo$col['id'], $col['proyecto'], $this->item
                                                        
$this->restriccion,
                                                        
$col['no_visible'], $col['cuadro']);        
            }
            
$grupo->set_hijos($c);
            
$this->agregar_hijo($grupo);
        }
    }

    function 
cargar_datos_columnas()
    {
        
$item quote($this->item);
        
$restriccion quote($this->restriccion);
        
$componente quote($this->componente);
        
$proyecto quote($this->proyecto);
        
$sql "SELECT     col.objeto_cuadro_proyecto as         proyecto,
                        col.objeto_cuadro as                cuadro,
                        col.objeto_cuadro_col as            id,
                        col.titulo as                        etiqueta, 
                        rcol.no_visible as                    no_visible
                FROM     apex_objeto_ei_cuadro_columna col
                        LEFT OUTER JOIN apex_restriccion_funcional_cols rcol
                            ON col.objeto_cuadro_col = rcol.objeto_cuadro_col 
                                AND col.objeto_cuadro = rcol.objeto_cuadro
                                AND col.objeto_cuadro_proyecto = rcol.proyecto
                                AND rcol.item = 
$item
                                AND rcol.restriccion_funcional = 
$restriccion
                WHERE    col.objeto_cuadro = 
$componente
                AND        col.objeto_cuadro_proyecto = 
$proyecto
                ORDER BY col.orden"
;
        return 
toba::db()->consultar($sql);
    }
    
    function 
sincronizar()
    {
        if(
$this->no_visible_original != $this->no_visible_actual) {
            if (
$this->no_visible_actual == 1) {
                
$this->agregar_restriccion();
            }else{
                
$this->eliminar_restriccion();
            }
        }
        foreach (
$this->get_hijos() as $hijo){
            
$hijo->sincronizar();
        }
    }
    
}
?>

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