!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/lampp/lib/php/doc/Tree/docs/TreeView/   drwxr-xr-x
Free 13.74 GB of 61.93 GB (22.19%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     index.php (2.77 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
//
    //  $Id: index.php 118113 2003-02-25 12:14:30Z cain $
    //
ini_set('include_path',realpath(dirname(__FILE__).'/../../../').':'.realpath(dirname(__FILE__).'/../../../../includes').':'.ini_get('include_path'));
ini_set('error_reporting',E_ALL);

    
##################################################
    #
    #       init template engine
    #
    // you need the template class from http://sf.net/projects/simpltpl
    
if (!@include('HTML/Template/Xipe.php')) {
        print   
'sorry, you need the template class PEAR::HTML_Template_Xipe<br>'.
                
'or if i have time i put the examples <a href="http://os.visionp.de/">here online</a>';
        die();
    }
    require_once(
'HTML/Template/Xipe/Filter/TagLib.php');
    
$options = array(   'templateDir'   => dirname(__FILE__) );
    
$tpl = new HTML_Template_Xipe($options);


    
##################################################
    #
    #       actual tree stuff, using Dynamic_DBnested
    #
    
require_once('Tree/Tree.php');
    
$tree Tree::setup'Dynamic_DBnested' 'mysql://root@localhost/test' , array('table'=>'Tree_Nested') );
    
    if( @
$_REQUEST['action_add'] )
    {
        
$methodCall "tree->add( {$_REQUEST['newData']} , {$_REQUEST['parentId']} , {$_REQUEST['prevId']} )";
        
$result $tree->add$_REQUEST['newData'] , $_REQUEST['parentId'] , $_REQUEST['prevId'] );
    }

    if( @
$_REQUEST['action_remove'] )
    {
        
$methodCall "$tree->remove{$_REQUEST['removeId']} )";
        
$result $tree->remove$_REQUEST['removeId'] );
    }

    if( @
$_REQUEST['action_update'] )
    {
        
$methodCall "tree->update( {$_REQUEST['updateId']} , {$_REQUEST['updateData']} )";
        
$result $tree->update$_REQUEST['updateId'] , $_REQUEST['updateData'] );
    }

    if( @
$_REQUEST['action_move'] )
    {
        
$methodCall "tree->move( {$_REQUEST['move_id']} , {$_REQUEST['move_newParentId']} , {$_REQUEST['move_newPrevId']} )";
        
$result $tree->move$_REQUEST['move_id'] , $_REQUEST['move_newParentId'] , $_REQUEST['move_newPrevId'] );
    }

    
$methodFailed false;
    if( @
PEAR::isError($result) )
        
$methodFailed true;

    
$fid = @$_REQUEST['fid'];
    if( !
$fid )
        
$fid $tree->getRootId();

    
$path $tree->getPath$fid );
    
$children $tree->getChildren$fid );

    
##################################################
    #
    #       actual tree stuff to show the entire tree using Memory_DBnested
    #
    
require_once('Tree/Tree.php');
    
$memTree Tree::setup'Memory_DBnested' 'mysql://root@localhost/test' 
                            array(
'table'=>'Tree_Nested') );

    
$memTree->setup();
    
$entireTree $memTree->getNode();
    
$treeDepth $memTree->getDepth();

    
$tpl->compile('index.tpl');
    include(
$tpl->compiledTemplate);
?>

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