' . $GLOBALS['messages']['sionoff'][$onoff] . '' : '' . $GLOBALS['messages']['sionoff'][$onoff] . ''; } function get_server_software() { if (isset($_SERVER['SERVER_SOFTWARE'])) { return $_SERVER['SERVER_SOFTWARE']; } else if (($sf = getenv('SERVER_SOFTWARE'))) { return $sf; } else { return 'n/a'; } } function system_info() { $version = $GLOBALS['ext_version']; //$tab = extGetParam( $_REQUEST, 'tab', 'tab1' ); $width = 400; // width of 100% switch( extGetParam($GLOBALS['__POST'],'action2', 'panel') ) { case 'systeminfo': ?>
Logged in as:
:
:   = '4.3' ? '' : $GLOBALS['messages']['siphpupdate']; ?>
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
: ' . $GLOBALS['messages']['miscyesno'][0] . '' : '' . $GLOBALS['messages']['miscyesno'][1] . ''; ?>
: ' . $GLOBALS['messages']['miscyesno'][0] . '' : '' . $GLOBALS['messages']['miscyesno'][1] . ''; ?>
:
]*>(.*)#siU', $phpinfo, $output); $output = preg_replace('#'; $output = preg_replace('#(\w),(\w)#', '\1, \2', $output); $output = preg_replace('#border="0" cellpadding="3" width="600"#', 'border="0" cellspacing="1" cellpadding="4" width="95%"', $output); $output = preg_replace('#
#', '', $output); echo $output; break; case 'about': show_about(); break; default: ?> { "xtype": "tabpanel", "height": 350, "activeTab": 0, "items": [{ "title": "", "autoScroll": true, "autoLoad": { "url": "", "params": { "option": "com_extplorer", "action": "get_about", "action2": "about" } } },{ "title": "", "autoScroll": true, "autoLoad": { "url": "", "params": { "option": "com_extplorer", "action": "get_about", "action2": "systeminfo" } } },{ "title": "", "autoScroll": true, "autoLoad": { "url": "", "params": { "option": "com_extplorer", "action": "get_about", "action2": "phpinfo" } } }] } \"eXtplorer
".ext_Lang::msg('your_version').": eXtplorer {$GLOBALS['ext_version']}
(".$GLOBALS["messages"]["check_version"].") "; $size = disk_free_space($GLOBALS['home_dir']. $GLOBALS['separator']); $free=parse_file_size($size); echo '
'.$GLOBALS["messages"]["miscfree"].": ".$free." \n"; if( extension_loaded( "posix" )) { $owner_info = '

'.ext_Lang::msg('current_user').' '; if( ext_isFTPMode() ) { $my_user_info = posix_getpwnam( $_SESSION['ftp_login'] ); $my_group_info = posix_getgrgid( $my_user_info['gid'] ); } else { $my_user_info = posix_getpwuid( posix_geteuid() ); $my_group_info = posix_getgrgid(posix_getegid() ); } $owner_info .= $my_user_info['name'].' ('. $my_user_info['uid'].'), '. $my_group_info['name'].' ('. $my_group_info['gid'].')'; echo $owner_info; } echo " "; } ?>