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


Viewing file:     form_nombre.php (1.94 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
class form_nombre extends toba_ei_formulario
{

    
/*function generar_input_ef($ef)
    {
        if ($ef == 'archivo') {
            $path = toba::instancia()->get_path_proyecto(toba_editor::get_proyecto_cargado()).'/php/';
            echo $path;
        }
        parent::generar_input_ef($ef);
    }*/

    //-----------------------------------------------------------------------------------
    //---- JAVASCRIPT -------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function extender_objeto_js()
    {
        
$path $this->controlador->get_path_relativo();
        
$prefijo $this->controlador->get_prefijo_clase();
        echo 
"
        
{$this->objeto_js}.evt__nombre__validar = function()
        {
            var nombre = this.ef('nombre').get_estado();
            if (nombre.indexOf(' ') != -1) {
                this.ef('nombre').set_error('No puede contener espacios');
                return false;
            }
            if (nombre.toLowerCase() .indexOf('.php') != -1) {
                this.ef('nombre').set_error('La clase no debe contener extension .php');
                return false;
            }         
            if (nombre == '
$prefijo') {
                this.ef('nombre').set_error('Ingrese un nombre de clase válido');
                return false;            
            }   
            return true;
                    
        }
        
        //---- Procesamiento de EFs --------------------------------
        var path_base = '
$path';
        
{$this->objeto_js}.evt__nombre__procesar = function(es_inicial)
        {
            if (es_inicial) {
                var funcion = function() {
                    var estado = 
{$this->objeto_js}.ef('nombre').get_estado();
                    if (estado != '') {
                        
{$this->objeto_js}.ef('archivo').mostrar();
                        var path_relativo = (path_base == '') ? 'php' : 'php/' + path_base;
                        
{$this->objeto_js}.ef('archivo').set_estado(path_relativo + '/' + estado + '.php');
                    } else {
                        
{$this->objeto_js}.ef('archivo').ocultar();
                    }                 
                };
                this.ef('nombre').input().onkeyup = funcion;
                funcion();
            }
        }
        "
;
    }
}

?>

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