!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)

/usr/share/phppgadmin/   drwxr-xr-x
Free 1.49 GB of 7.22 GB (20.59%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

    
/**
     * Manage opclasss in a database
     *
     * $Id: opclasses.php,v 1.10 2007/08/31 18:30:11 ioguix Exp $
     */

    // Include application functions
    
include_once('./libraries/lib.inc.php');
    
    
$action = (isset($_REQUEST['action'])) ? $_REQUEST['action'] : '';
    if (!isset(
$msg)) $msg '';

    
/**
     * Show default list of opclasss in the database
     */
    
function doDefault($msg '') {
        global 
$data$conf$misc;
        global 
$lang;
        
        
$misc->printTrail('schema');
        
$misc->printTabs('schema','opclasses');
        
$misc->printMsg($msg);
        
        
$opclasses $data->getOpClasses();
        
        
$columns = array(
            
'accessmethod' => array(
                
'title' => $lang['straccessmethod'],
                
'field' => field('amname'),
            ),
            
'opclass' => array(
                
'title' => $lang['strname'],
                
'field' => field('opcname'),
            ),
            
'type' => array(
                
'title' => $lang['strtype'],
                
'field' => field('opcintype'),
            ),
            
'default' => array(
                
'title' => $lang['strdefault'],
                
'field' => field('opcdefault'),
                
'type'  => 'yesno',
            ),
            
'comment' => array(
                
'title' => $lang['strcomment'],
                
'field' => field('opccomment'),
            ),
        );
        
        
$actions = array();
        
        
$misc->printTable($opclasses$columns$actions$lang['strnoopclasses']);
    }
    
    
/**
     * Generate XML for the browser tree.
     */
    
function doTree() {
        global 
$misc$data;
        
        
$opclasses $data->getOpClasses();
        
        
// OpClass prototype: "op_class/access_method"
        
$proto concat(field('opcname'),'/',field('amname'));
        
        
$attrs = array(
            
'text'   => $proto,
            
'icon'   => 'OperatorClass',
            
'toolTip'=> field('opccomment'),
        );
        
        
$misc->printTreeXML($opclasses$attrs);
        exit;
    }
    
    if (
$action == 'tree'doTree();
    
    
$misc->printHeader($lang['stropclasses']);
    
$misc->printBody();

    switch (
$action) {
        default:
            
doDefault();
            break;
    }    

    
$misc->printFooter();

?>

:: 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 PinoyWH1Z | C99Shell Github | Generation time: 0.0256 ]--