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


Viewing file:     toba_referencia_modelo.php (1.88 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

class toba_referencia_modelo extends toba_aplicacion_modelo_base 
{
    private 
$instalar_complemento_gis false;
    
    function 
__construct()
    {
        
$this->permitir_exportar_modelo false;
        
$this->schema_modelo 'referencia';
    }
    
    function 
get_id_base()
    {
        
$parametros $this->get_instancia()->get_parametros_db();
        return 
$parametros['base'];
    }    
    
    function 
get_fuente_defecto() {
        return 
'toba_referencia';
    }    
    
    function 
get_version_nueva()
    {
        return 
$this->get_instalacion()->get_version_actual();
    }

    function 
crear_modelo_gis()
    {
        
$this->manejador_interface->enter();
        
$this->manejador_interface->mensaje("Si lo desea puede incorporar datos GIS al modelo, es necesario tener instalado postGIS previamente en la base de datos.");
        
$this->instalar_complemento_gis $this->manejador_interface->dialogo_simple('Desea incorporar la estructura y los datos GIS?: ');
        return 
$this->instalar_complemento_gis;
    }
    
    function 
crear_estructura(toba_db $base)
    {
        
$estructura $this->proyecto->get_dir().'/sql/estructura.sql';
        if (
file_exists($estructura)) {
            
$this->manejador_interface->mensaje('Creando estructura'false);
            
$this->manejador_interface->progreso_avanzar();
            
$base->ejecutar_archivo($estructura);
            
$this->manejador_interface->progreso_fin();
        }
    }

    function 
cargar_datos(toba_db $base)
    {
        
$locales =  $this->proyecto->get_dir().'/sql/datos_locales.sql';
        if (
file_exists($locales)) {
            
$this->manejador_interface->mensaje('Cargando datos locales'false);
            
$this->manejador_interface->progreso_avanzar();
            
$base->ejecutar_archivo($locales);
            
$this->manejador_interface->progreso_fin();
        } else {
            
$datos $this->proyecto->get_dir().'/sql/datos_basicos.sql';
            if (
file_exists($datos)) {
                
$this->manejador_interface->mensaje('Cargando datos básicos'false);
                
$base->ejecutar_archivo($datos);
                
$this->manejador_interface->progreso_fin();
            }
        }

    }
}

?>

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