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


Viewing file:     ci_principal.php (2.43 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once('objetos_toba/ci_editores_toba.php');

class 
ci_principal extends ci_editores_toba
{
    protected 
$clase_actual 'toba_cn';

    
// *******************************************************************
    // *******************  tab DEPENDENCIAS  ****************************
    // *******************************************************************
    /*
        Metodos necesarios para que el CI de eventos funcione
    */
    
function evt__1__salida()
    {
        
$this->dep('dependencias')->limpiar_seleccion();
    }

    function 
get_dbr_dependencias()
    {
        return 
$this->get_entidad()->tabla('dependencias');
    }    

    
// *******************************************************************
    // *******************  tab CONSUMO  ****************************
    // *******************************************************************
    
    
function get_lista_objetos_toba()
    {
        
$datos toba_info_editores::get_lista_objetos_toba(',toba_cn');
        
// Elimino de la lista el objeto actual
        
$objeto_editado $this->get_entidad()->tabla('base')->get_columna('objeto');
        foreach(
array_keys($datos) as $id) {
            if (
$datos[$id]['objeto'] == $objeto_editado) {
                unset(
$datos[$id]);
            }
        }
        return 
$datos;
    }
    
    function 
get_tabla_consumo()
    {
        return 
$this->get_entidad()->tabla('consumo');    
    }
    
    
//-------------------------------------------------------------
    //-- Formulario
    //-------------------------------------------------------------

    
function evt__form_consumo__alta($datos)
    {
        
$this->get_tabla_consumo()->nueva_fila($datos);
    }
    
    function 
evt__form_consumo__baja()
    {
        
$this->get_tabla_consumo()->eliminar_fila($this->get_tabla_consumo()->get_cursor());
        
$this->evt__form_consumo__cancelar();
    }
    
    function 
evt__form_consumo__modificacion($datos)
    {
        
$this->get_tabla_consumo()->set($datos);
        
$this->evt__form_consumo__cancelar();
    }
    
    function 
conf__form_consumo()
    {
        if (
$this->get_tabla_consumo()->hay_cursor()) {
            return 
$this->get_tabla_consumo()->get();
        }
    }

    function 
evt__form_consumo__cancelar()
    {
        
$this->get_tabla_consumo()->resetear_cursor();
    }

    
//-------------------------------------------------------------
    //-- Cuadro
    //-------------------------------------------------------------

    
function evt__cuadro_consumo__seleccion($id)
    {
        
$this->get_tabla_consumo()->set_cursor($id);
    }

    function 
conf__cuadro_consumo()
    {
        return 
$this->get_tabla_consumo()->get_filas();
    }
}

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