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


Viewing file:     toba_recuperador_utildb_componentes.php (2.25 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

class toba_recuperador_utildb_componentes
{
    protected 
$proyecto;
    protected 
$db;

    function 
__construct($proyecto)
    {
        
$this->proyecto $proyecto;
        
$this->db $this->proyecto->get_db();
    }

    static function 
get_lista_tipos_componentes()
    {
        
$datos toba_info_editores::get_lista_tipo_componentes(false);
        
$datos[] = 'toba_item';
        return 
$datos;
    }

    function 
get_componentes($tipo$condicion$schema)
    {
        
$comp_sano $this->db->quote($tipo);
        if (
$tipo == 'toba_item') {
            
$datos $this->get_toba_items($condicion$schema);
        } elseif(
strpos($tipo,'toba_asistente')!== false) {
            
$datos $this->get_asistentes($comp_sano$condicion$schema);
        } else {
            
$datos $this->get_resto($comp_sano$condicion$schema);
        }
        return 
$datos;
    }

    private function 
get_toba_items($condicion null$schema null)
    {
        
$proyecto $this->db->quote($this->proyecto->get_id());
        
$schema = (is_null($schema)) ? '' "$schema.";
        
$condicion = (is_null($condicion)) ? '' "AND $condicion";

        
$sql "SELECT     proyecto as         proyecto,
                        item as             componente
                FROM 
$schema apex_item
                WHERE proyecto = 
$proyecto
                
$condicion
                ORDER BY 1,2;"
;

        return 
$this->db->consultar($sql);
    }

    private function 
get_asistentes($tipo$condicion null$schema null)
    {
        
$proyecto $this->db->quote($this->proyecto->get_id());
        
$schema = (is_null($schema)) ? '' "$schema.";
        
$condicion = (is_null($condicion)) ? '' "AND $condicion";
        
$sql "SELECT     o.proyecto as         proyecto,
                        o.molde as             componente,
                        t.clase
                FROM     
$schema apex_molde_operacion o,
                        
$schema apex_molde_operacion_tipo t
                WHERE     o.operacion_tipo = t.operacion_tipo
                AND        t.clase = 
$tipo
                AND        proyecto = 
$proyecto
                
$condicion
                ORDER BY 1,2;"
;

        return 
$this->db->consultar($sql);
    }

    private function 
get_resto($tipo$condicion null$schema null)
    {
        
$proyecto $this->db->quote($this->proyecto->get_id());
        
$schema = (is_null($schema)) ? '' "$schema.";
        
$condicion = (is_null($condicion)) ? '' "AND $condicion";

        
$sql "SELECT     proyecto as         proyecto,
                        objeto as             componente
                FROM 
$schema apex_objeto
                WHERE proyecto = 
$proyecto
                AND clase = 
$tipo
                
$condicion
                ORDER BY 1,2;"
;

        return 
$this->db->consultar$sql );
    }
}
?>

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