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

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/sitepad/editor/site-inc/IXR/   drwxr-xr-x
Free 293.38 GB of 429.69 GB (68.28%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     class-IXR-date.php (1.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * IXR_Date
 *
 * @package IXR
 * @since 1.5.0
 */
class IXR_Date {
    var 
$year;
    var 
$month;
    var 
$day;
    var 
$hour;
    var 
$minute;
    var 
$second;
    var 
$timezone;

    
/**
     * PHP5 constructor.
     */
    
function __construct$time )
    {
        
// $time can be a PHP timestamp or an ISO one
        
if (is_numeric($time)) {
            
$this->parseTimestamp($time);
        } else {
            
$this->parseIso($time);
        }
    }

    
/**
     * PHP4 constructor.
     */
    
public function IXR_Date$time ) {
        
self::__construct$time );
    }

    function 
parseTimestamp($timestamp)
    {
        
$this->year date('Y'$timestamp);
        
$this->month date('m'$timestamp);
        
$this->day date('d'$timestamp);
        
$this->hour date('H'$timestamp);
        
$this->minute date('i'$timestamp);
        
$this->second date('s'$timestamp);
        
$this->timezone '';
    }

    function 
parseIso($iso)
    {
        
$this->year substr($iso04);
        
$this->month substr($iso42);
        
$this->day substr($iso62);
        
$this->hour substr($iso92);
        
$this->minute substr($iso122);
        
$this->second substr($iso152);
        
$this->timezone substr($iso17);
    }

    function 
getIso()
    {
        return 
$this->year.$this->month.$this->day.'T'.$this->hour.':'.$this->minute.':'.$this->second.$this->timezone;
    }

    function 
getXml()
    {
        return 
'<dateTime.iso8601>'.$this->getIso().'</dateTime.iso8601>';
    }

    function 
getTimestamp()
    {
        return 
mktime($this->hour$this->minute$this->second$this->month$this->day$this->year);
    }
}

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