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


Viewing file:     eiform_ap.php (3.78 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class eiform_ap extends toba_ei_formulario
{
    protected 
$js_abrir ''
    protected 
$texto_recarga null;
    
    function 
set_js_abrir($js)
    {
        
$this->js_abrir $js;
    }
    
    function 
set_modo_recarga($texto)
    {
        
$this->texto_recarga $texto;
    }
    
    function 
extender_objeto_js()
    {
        echo 
"
        
{$this->objeto_js}.evt__ap_archivo__procesar = function(inicial) {
            if (!inicial && this.ef('ap_clase').valor() == '') {
                var archivo = this.ef('ap_archivo').valor();
                var basename = archivo.replace( /.*\//, '' );
                var clase = basename.substring(0, basename.lastIndexOf('.'));
                this.ef('ap_clase').cambiar_valor(clase);
            }
        }
        
        
{$this->objeto_js}.evt__ap__procesar = function () {
            var flag;
            flag = this.ef('ap').valor();
            switch (flag) {
                case '0':
                    this.ef('ap_clase').mostrar();
                    this.ef('ap_archivo').mostrar();
                    this.ef('modificar_claves').mostrar();
                    this.ef('punto_montaje').mostrar();
                    this.ef('tabla_ext').ocultar(true);
                    this.ef('esquema_ext').ocultar(true);
                    if (this.hay_cambios()) {
                        this.set_evento(new evento_ei('cargar_tablas',true,''));
                    }
                    break;
                case '1':
                    this.ef('ap_clase').ocultar(true);
                    this.ef('ap_archivo').ocultar(true);
                    this.ef('tabla_ext').ocultar(true);
                    this.ef('esquema_ext').ocultar(true);
                    this.ef('punto_montaje').ocultar(true);
                    this.ef('modificar_claves').mostrar();
                    if (this.hay_cambios()) {
                        this.set_evento(new evento_ei('cargar_tablas',true,''));
                    }
                    break;
                case '4':
                    this.ef('esquema_ext').mostrar();
                    this.ef('tabla_ext').mostrar();                    
                    this.ef('modificar_claves').ocultar(true);
                    this.ef('ap_clase').ocultar(true);
                    this.ef('ap_archivo').ocultar(true);
                    this.ef('punto_montaje').ocultar(true);
            }
        
            if (this.get_boton('extender_ap')) {
                if (flag == 0) {
                    this.mostrar_boton('extender_ap');
                } else {
                    this.ocultar_boton('extender_ap');
                }
            }            
        }
        
        
{$this->objeto_js}.evt__abrir_php = function () {
            
$this->js_abrir;
            return false;
        }
        
        
{$this->objeto_js}.modificar_vinculo__ef_ap_archivo = function(id_vinculo)
         {
            var estado = this.ef('punto_montaje').get_estado();
            vinculador.agregar_parametros(id_vinculo, {'punto_montaje': estado});
        }
        
        
{$this->objeto_js}.modificar_vinculo__extender_ap = function(id_vinculo)
        {
            var estado = this.ef('punto_montaje').get_estado();
            vinculador.agregar_parametros(id_vinculo, {'punto_montaje': estado});
        }
        
        
{$this->objeto_js}.evt__punto_montaje__procesar = function(inicial) {
              if (!inicial) {
                  this.ef('ap_archivo').cambiar_valor('');
                  this.ef('ap_clase').cambiar_valor('');
              }
          }
        
        
{$this->objeto_js}.evt__esquema__procesar = function(es_inicial)
        {
            if (! es_inicial) {
                this.set_evento(new evento_ei('modificacion', true, ''));        //Disparo el submit de manera adrede
            }
        }        
        
        
{$this->objeto_js}.evt__esquema_ext__procesar = function(es_inicial)
        {
            if (! es_inicial) {
                this.set_evento(new evento_ei('modificacion', true, ''));        //Disparo el submit de manera adrede
            }
        }        

        "
;
        
        if ( isset(
$this->texto_recarga) ) {
            
$usar_confirm = ($this->texto_recarga == '') ? 'true' 'false';
            echo 
"
                
{$this->objeto_js}.evt__tabla__procesar = function(es_inicial)
                {
                    if (! es_inicial && this.ef('tabla').get_estado() != apex_ef_no_seteado) {
                        if( 
$usar_confirm || confirm('{$this->texto_recarga}')) {
                            this.set_evento(new evento_ei('cargar_tablas',true,''));
                        }
                    }
                }
                        
                
{$this->objeto_js}.evt__tabla_ext__procesar = function(es_inicial)
                {
                    if (! es_inicial && this.ef('tabla_ext').get_estado() != apex_ef_no_seteado) {
                        if( 
$usar_confirm || confirm('{$this->texto_recarga}')) {
                            this.set_evento(new evento_ei('cargar_tablas',true,''));
                        }
                    }
                }
        "
;
        }
    }
}
?>

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