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


Viewing file:     toba_pm_a_registro.php (1.77 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Clase que provee utilidades para convertir toba_punto_montaje a toba_registro.
 * La conversión se realiza en esta clase para alivianar la clase toba_punto_montaje
 */
class toba_pm_a_registro
{
    static function 
insert(toba_punto_montaje $punto$db)
    {
        
$registro = new toba_registro_insert($db'apex_puntos_montaje');
        
$registro->add_columna('etiqueta'$punto->get_etiqueta());
        
$registro->add_columna('proyecto'$punto->get_proyecto());
        
$registro->add_columna('descripcion'$punto->get_descripcion());
        
$registro->add_columna('tipo'$punto->get_tipo());
        if (
$punto->es_de_proyecto()) {
            
$registro->add_columna('proyecto_ref'$punto->get_proyecto_referenciado());
            
$registro->add_columna('path_pm'$punto->get_path());
        } else {
            
$registro->add_columna('proyecto_ref''');
            
$registro->add_columna('path_pm''');
        }
        
        return 
$registro;
    }

    static function 
update(toba_punto_montaje $punto$db)
    {
        
$registro = new toba_registro_update($db'apex_puntos_montaje');
        
$registro->add_clave('id'$punto->get_id());
        
$registro->add_columna('etiqueta'$punto->get_etiqueta());
        
$registro->add_columna('proyecto'$punto->get_proyecto());
        
$registro->add_columna('descripcion'$punto->get_descripcion());
        
$registro->add_columna('tipo'$punto->get_tipo());
        if (
$punto->es_de_proyecto()) {
            
$registro->add_columna('proyecto_ref'$punto->get_proyecto_referenciado());
            
$registro->add_columna('path_pm'$punto->get_path());
        } else {
            
$registro->add_columna('proyecto_ref''');
            
$registro->add_columna('path_pm''');
        }

        return 
$registro;
    }

    static function 
delete(toba_punto_montaje $punto$db)
    {
        
$registro = new toba_registro_delete($db'apex_puntos_montaje');
        
$registro->add_clave('id'$punto->get_id());

        return 
$registro;
    }
}
?>

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