HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: //opt/cpanel/ea-php54/root/usr/share/pear/RVSeagullMod/modules/tryout/classes/TryoutAdminMgr.php
<?php

class TryoutAdminMgr extends SGL_Manager 
{
    function  TryoutAdminMgr()
    {
       SGL::logMessage(null, PEAR_LOG_DEBUG);
        parent::SGL_Manager();
        
        $this->pageTitle        = 'Tryout Admin';
        $this->template         = 'tryout.html';
        
        $this->_aActionsMapping =  array(
            'list'   => array('list') 
        );   
    }
    
    function validate($req, &$input)
    {
        SGL::logMessage(null, PEAR_LOG_DEBUG);
        $this->validated    = true;
        $input->error       = array();
        $input->pageTitle   = $this->pageTitle;
        $input->masterTemplate = 'masterLeftCol.html';
        $input->template    = $this->template;
        $input->action      = ($req->get('action')) ? $req->get('action') : 'list';
    }
    
    function _cmd_list($input, &$output)
    {

    }

    function display(&$output)
    {
        
    }
    
    function getUserByUserId()
    {
         $query = sprintf("    
                        SELECT 
                                    *
                        FROM 
                                    %s 
                        WHERE 
                                    usr_id = '%s'
                    "
                    , $this->conf['table']['user']
                    , $_SESSION['uid']
                    );
        $aUserInfo = $this->dbh->getAll($query);
        return $aUserInfo;
    }
    
}

 ?>