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


Viewing file:     ci_ejemplo_1.php (2.02 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class ci_ejemplo_1 extends toba_ci
{
    protected 
$s__fuente;
    
//-----------------------------------------------------------------------------------
    //---- grafico ----------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function conf__grafico(toba_ei_grafico $grafico)
    {
        
$grafico->conf()->canvas__set_titulo('Gráfico de torta');
        if (isset(
$this->s__fuente) && $this->s__fuente == 'verdana') {
            
$grafico->conf()->canvas()->title->SetFont(FF_VERDANAFS_BOLD14);
        } else {
            
$grafico->conf()->canvas()->title->SetFont(FF_FONT2FS_BOLD);
        }
        
        
/**********************PRIMER SERIE********************************/
        
$datos = array(13531510);
        
$leyendas = array('lunes''martes''miercoles''jueves''viernes');
        
        
$grafico->conf()
                ->
serie__agregar('nombre'$datos)    // Automáticamente setea la serie actual
                
->serie__set_leyendas($leyendas)
                ->
serie__set_titulo('Semana uno')
                ->
serie__set_tema('water')
                ->
serie__set_centro(0.2);


        
/**********************SEGUNDA SERIE********************************/
        
foreach (array_keys($datos) as $key) {
            
$datos[$key] = rand(113);
        }
        
        
$grafico->conf()
                ->
serie__agregar('otro_nombre'$datos)
                ->
serie__set_titulo('Semana dos')
                ->
serie__set_tema('water')
                ->
serie__separar_porciones(array(13))
                ->
serie__set_centro(0.6);
    }

    
//-----------------------------------------------------------------------------------
    //---- form -------------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function evt__form__modificacion($datos)
    {
        
$this->s__fuente $datos['fuente'];
    }
    
    function 
conf__form(form_torta_fuente $form)
    {
        if (isset(
$this->s__fuente) && $this->s__fuente == 'verdana') {
            
$form->ef('fuente')->set_estado('verdana');
        } else {
            
$form->ef('fuente')->set_estado('default');
        }
    }

}
?>

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