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

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/old.zt-rada.gov.ua/modules-alien/smarty/libs/sysplugins/   drwxrwxrwx
Free 116.64 GB of 200.55 GB (58.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     smarty_internal_debug.php (3.31 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
* Smarty Internal Plugin Debug

* Class to collect data for the Smarty Debugging Consol

* @package Smarty
* @subpackage Debug
* @author Uwe Tews 
*/
/**
* Smarty Internal Plugin Debug Class
*/
class Smarty_Internal_Debug extends Smarty_Internal_Data {
    
// template data
    
static $template_data = array();

    
/**
    * Start logging of compile time
    */
    
public static function start_compile($template)
    {
        
$key self::get_key($template);
        
self::$template_data[$key]['start_time'] = microtime(true);
    } 

    
/**
    * End logging of compile time
    */
    
public static function end_compile($template)
    {
        
$key self::get_key($template);
        
self::$template_data[$key]['compile_time'] += microtime(true) - self::$template_data[$key]['start_time'];
    } 

    
/**
    * Start logging of render time
    */
    
public static function start_render($template)
    {
        
$key self::get_key($template);
        
self::$template_data[$key]['start_time'] = microtime(true);
    } 

    
/**
    * End logging of compile time
    */
    
public static function end_render($template)
    {
        
$key self::get_key($template);
        
self::$template_data[$key]['render_time'] += microtime(true) - self::$template_data[$key]['start_time'];
    } 

    
/**
    * Start logging of cache time
    */
    
public static function start_cache($template)
    {
        
$key self::get_key($template);
        
self::$template_data[$key]['start_time'] = microtime(true);
    } 

    
/**
    * End logging of cache time
    */
    
public static function end_cache($template)
    {
        
$key self::get_key($template);
        
self::$template_data[$key]['cache_time'] += microtime(true) - self::$template_data[$key]['start_time'];
    } 
    
/**
    * Opens a window for the Smarty Debugging Consol and display the data
    */
    
public static function display_debug($smarty)
    { 
        
// prepare information of assigned variables
        
$_assigned_vars $smarty->tpl_vars;
        
ksort($_assigned_vars);
        
$_config_vars $smarty->config_vars;
        
ksort($_config_vars);
        
$_template = new Smarty_Template ($smarty->debug_tpl$smarty);
        
$_template->caching false;
        
$_template->force_compile false;
        
$_template->security false;
        
$_template->cache_id null;
        
$_template->compile_id null;
        
$_template->assign('template_data'self::$template_data);
        
$_template->assign('assigned_vars'$_assigned_vars);
        
$_template->assign('config_vars'$_config_vars);
        
$_template->assign('execution_time'microtime(true) - $smarty->start_time);
        echo 
$smarty->fetch($_template);
    } 

    
/**
    * get_key
    */
    
static function get_key($template)
    {
        
// calculate Uid if not already done
        
if ($template->templateUid == '') {
            
$template->getTemplateFilepath();
        } 
        
$key $template->templateUid;
        if (isset(
self::$template_data[$key])) {
            return 
$key;
        } else {
            
self::$template_data[$key]['name'] = $template->getTemplateFilepath();
            
self::$template_data[$key]['compile_time'] = 0;
            
self::$template_data[$key]['render_time'] = 0;
            
self::$template_data[$key]['cache_time'] = 0;
            return 
$key;
        } 
    } 



?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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

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