Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
PK!K50  verMgrDownload.phpnu[

Version Management - Downloading New Release

Release Notes

Downloading In-Progress, this may take a few minutes ...

... Please wait ...
PK!nrealtimeReqReport.phpnu['Top 5', '10'=>'Top 10', '20'=>'Top 20', '50'=>'Top 50', '0'=>'All'); } else if ($selType == 'REQ_SHOW_SORTBY') { $options = array( 'vhname'=>'Virtual Host Name', 'client'=>'Client IP', 'req_time'=>'Request Time (Desc)', 'extproc_time'=>'ExtApp Process Time (Desc)', 'in'=>'Req Body Size (Desc)', 'out'=>'Resp Bytes Out (Desc)'); } return DUtil::genOptions($options, $selValue); } $req_show_top = DUtil::getGoodVal(DUtil::grab_input("request","req_show_top")); $req_show_sort = DUtil::getGoodVal(DUtil::grab_input("request","req_show_sort","string")); $vhname_filter = DUtil::getGoodVal(DUtil::grab_input("request","vhname_filter","string")); $ip_filter = DUtil::getGoodVal(DUtil::grab_input("request","ip_filter","string")); $url_filter = DUtil::getGoodVal(DUtil::grab_input("request","url_filter","string")); $reqtime_filter = DUtil::getGoodVal(DUtil::grab_input("request","reqtime_filter","string")); $extproctime_filter = DUtil::getGoodVal(DUtil::grab_input("request","extproctime_filter","string")); $reqbodysize_filter = DUtil::getGoodVal(DUtil::grab_input("request","reqbodysize_filter","string")); $outsize_filter = DUtil::getGoodVal(DUtil::grab_input("request","outsize_filter","string")); $extapp_more = DUtil::getGoodVal(DUtil::grab_input("request","extapp_more","string")); // setting defaults if ($req_show_top == '') { $req_show_top = '10'; } if ($req_show_sort == '') { $req_show_sort = 'req_time'; } $show_more = ''; if ($extapp_more == 'on') { $show_more = 'checked'; } $probe = new ReqProbe(); $filters = array('SHOW_TOP' => $req_show_top, 'SHOW_SORT' => $req_show_sort, 'VHNAME' => $vhname_filter, 'IP' => $ip_filter, 'URL' => $url_filter, 'REQ_TIME' => $reqtime_filter, 'PROC_TIME' => $extproctime_filter, 'IN'=> $reqbodysize_filter, 'OUT' => $outsize_filter); $total_count = 0; $filtered_count = 0; $reqlist = $probe->retrieve($filters, $total_count, $filtered_count); $cur_time = gmdate("D M j H:i:s T"); $server_info = "at $cur_time for server {$service->serv['name']}"; ?>
Real-Time Statistics: Requests Snapshot
Filters: (* Will accept regular expression)'; $buf .= 'Display: '."\n"; $buf .= 'Sort by: '."\n"; $buf .= '
'; $buf .= '
VHost Name*: ' ."\n"; $buf .= 'Client IP*:
' ."\n"; $buf .= '
Request URL*:
' ."\n"; $buf .= '
Req Time > secs' ."\n"; $buf .= 'ExtApp Proc Time > secs' ."\n"; $buf .= 'ExtApp Detail ' ."\n"; $buf .= 'Req Body Size > KB' ."\n"; $buf .= 'Resp Output Bytes > KB' ."
\n"; echo $buf; ?>
\n"; } echo $buf; ?>
Client Ka M R In/Total Out/Total VHost Handler P ExtApp Socket pid RP Request
' . $d[FLD_IP] . '' . $d[FLD_KAReqServed] . '' . $d[FLD_Mode] . '' . $d[FLD_ReqTime] . '' . $d[FLD_InBytesCurrent] . '/' . $d[FLD_InBytesTotal] . '' . $d[FLD_OutBytesCurrent] . '/' . $d[FLD_OutBytesTotal] . '' . $d[FLD_VHost] //vhost . '' . $d[FLD_Handler] //handler . '' . $d[FLD_ExtappProcessTime]; // P if ($show_more != '') { $buf .= '' . $d[FLD_ExtappSocket] // socket . '' . $d[FLD_ExtappPid] //pid . '' . $d[FLD_ExtappConnReqServed]; //RP } $url = trim($d[FLD_Url], '"'); if (strlen($url) > 50) { $buf .= '' . substr($url, 0, 50) . ' ..."'; } else { $buf .= '' . $url; } $buf .= "
PK!Xga))graph_html.phpnu[" . $JScode . "\n"; } function js_var($vars) { $JScode = ''; foreach ($vars as $k => $v) { $JScode .= "var $k='$v';"; } echo '\n"; } $graph_type = input_val('gtype'); $jsvars = ['graph_type' => $graph_type]; switch ($graph_type) { case 'Server': $title = 'Server'; break; case 'VH': $vhost = input_val('vhost'); $jsvars['vhost'] = $vhost; $title = "VHost $vhost"; break; case 'EXTAPP': $vhost = input_val('vhost'); $extapp = input_val('extapp'); $jsvars['vhost'] = $vhost; $jsvars['extapp'] = $extapp; $title = ($vhost == '_Server') ? 'Server Level' : "VHost $vhost"; $title .= " -> $extapp"; break; default: die('illegal access'); } $jsvars['graph_title'] = $title; js_var($jsvars); echo GUI::header(); ?>
Real-Time Statistics
Requests in Processing:0
Requests/Sec:0
Total Requests:0
Total Static Hits:00 Hits/Sec
Total Public Cache Hits:00 Hits/Sec
Total Private Cache Hits:00 Hits/Sec
Free Conn:0
HTTP Used:0
Max Conn:0
Free SSL Conn:0
HTTPS Used:0
Max SSL Conn:0
Requests in Processing:0
Requests/Sec:0
Total Requests:0
Total Static Hits:00 Hits/Sec
Total Public Cache Hits:00 Hits/Sec
Total Private Cache Hits:00 Hits/Sec
ExtApp Processes:0
EAProc In Use:0
EAProc Idle:0
EAProc WaitQ:0
EAProc Req/Sec:0
  
Max Conn:0
Effective Max Conn:0
Pool:0
In Use:0
Idle:0
WaitQ:0
Req/Sec:0
  
PK!LLserviceMgr.phpnu[getToken()) { echo "Illegal Entry Point!"; return; // illegal entry } } $confCenter = ConfCenter::singleton(); $service = new Service(); $service->init(); $service->refreshConf($confCenter->ExportConf()); //check if require restart if ( ($act == 'restart' && $actId == '') || $act == 'switchTo') { header("location:restart.html"); $service->process($act, $actId); return; } elseif ($act == 'upgrade') { if ($service->download($actId)) { header("location:restart.html"); $service->process($act, $actId); return; } else { $error = "Failed to download release $actId! Please try upgrade manually."; } } elseif (in_array($act, array('toggledbg', 'enable', 'disable', 'restart', 'remove', 'validatelicense', 'RESET_ALL_PHP_PROCESSES'))) //other no-restart actions { if ($act == 'disable' || $act == 'enable') { $confCenter->enableDisableVh($act, $actId); } $service->process($act, $actId); } echo GUI::header($service->serv['name']); echo GUI::top_menu(); switch($vl) { case '1': include 'logViewer.php'; break; case '2': include 'realtimeReport.php'; break; case '3': if ($act == 'download') { include 'verMgrDownload.php'; } else { include 'verMgrCont.php'; } break; case '4': include 'realtimeReqReport.php'; break; default: include 'homeCont.php'; break; } echo GUI::footer(); PK!vϺzz restart.htmlnu[ Restarting LiteSpeed server ...

Graceful Restart in Progress

Please wait...

PK!)!g verMgrCont.phpnu[

Version Management

Release Notes

'; if (isset($error) && $error != NULL) { echo '

Error: ' . $error . '

'; } $product->getNewVersion(); $product->getInstalled(); if (isset($service->license['type'])) { ?>
License Info
TypeSerialExpiration DateSoftware Update ExpirationAction
license['updateExpires_date']; $timeleft = $service->license['updateExpires'] - time(); if ($timeleft < 172800) // 2 days { $exptag = ($timeleft < 0) ? 'Expired' : 'Expiring soon'; $updexpdate .= '' . $exptag . ''; } $features = ''; $feature = $service->license['feature'] & 11; // 1011 if ($feature == 1) { $features = ' (LSCache Standard)'; } elseif ($feature == 9) { $features = ' (LiteMage Starter)'; } elseif ($feature == 11) { $features = ' (LiteMage Standard)'; } elseif ($feature == 3) { $features = ' (LiteMage Unlimited)'; } echo $service->license['type'] . $features . '' . $service->license['serial'] . '' . $service->license['expires_date'] . '' . $updexpdate . '' . 'Validate License'; ?>
new_release != NULL) { ?>
Latest Release
ReleaseAction
new_version . ''; if ($product->isInstalled($product->new_version)) echo 'Force Reinstall'; else echo 'Download/Upgrade'; ?>
installed_releases); $product->installed_releases = array_reverse($product->installed_releases); foreach( $product->installed_releases as $rel ) { echo '\n"; } ?>
Installed Versions
VersionActions
' . $rel . ''; if ( $product->version !== $rel ) { echo 'SwitchTo  '; echo 'Remove  '; } else { echo 'Active (Build ' . $product->cur_build . ')  '; } echo 'Force Reinstall'; echo "
PK! 0--realtimeReport.phpnu[parse_all(); function getSelectOptions($selType, $selValue) { if ($selType == 'REFRESH') { $options = ['0'=>'Stop', '10'=>'10 Seconds','15'=>'15 Seconds', '30'=>'30 Seconds','60'=>'60 Seconds', '120' => '2 Minutes', '300' => '5 Minutes']; } else if ($selType == 'SHOW_TOP') { $options = ['5'=>'Top 5', '10'=>'Top 10', '20'=>'Top 20', '50'=>'Top 50', '0'=>'All']; } else if ($selType == 'VH_SHOW_SORTBY') { $options = [ 'vhname'=>'Virtual Host Name', 'req_processing'=>'Requests in Processing', 'req_per_sec'=>'Request/Second', 'eap_process'=>'ExtApp Processes', 'eap_inuse'=>'EAProc In Use', 'eap_idle'=>'EAProc Idle', 'eap_waitQ'=>'EAProc WaitQ', 'eap_req_per_sec'=>'EAProc Req/Sec']; } else if ($selType == 'EAP_SHOW_SORTBY') { $options = [ 'vhost'=>'Scope', 'type'=>'Type', 'extapp'=>'Name', 'config_max_conn'=>'Max CONN', 'effect_max_conn'=>'Eff Max', 'pool_size'=>'Pool', 'inuse_conn'=>'In Use', 'idle_conn'=>'Idle', 'waitqueue_depth'=>'WaitQ', 'req_per_sec'=>'Req/Sec']; } return DUtil::genOptions($options, $selValue); } function td_number($label, $number, $suffix = '', $decimals = 0, $col = 1) { $colspan = ($col == 1) ? '' : "colspan=\"$col\" "; return sprintf('%s%s%s', $label, $colspan, number_format($number, $decimals), $suffix); } function td_num2($number, $decimals = 0) { return '' . number_format($number, $decimals) . ''; } function td_num3($hits, $hits_per_sec) { return '' . number_format($hits) . ' | ' . number_format($hits_per_sec, 1) . ''; } function td_val($value) { return ''. $value . ''; } function td_label($label, $width = 0, $help_key = '') { if ($help_key) { $dhelp_item = DATTR_HELP::GetInstance()->GetItem($help_key); $help = '    ' . $dhelp_item->render($help_key); } else { $help = ''; } return '' . $label . $help . ''; } function input_val($name) { return DUtil::getGoodVal(DUtil::grab_input('REQUEST', $name)); } function graph_icon($gtype, $vhost='', $extapp='') { $param = ['gtype' => $gtype]; if ($vhost) { $param['vhost'] = $vhost; } if ($extapp) { $param['extapp'] = $extapp; } $url = 'graph_html.php?' . http_build_query($param); $window_name = md5($url); return '"; } $etr = "\n"; $refresh = input_val('refresh'); $vh_show_ind = input_val('vh_show_ind'); $vh_show_top = input_val('vh_show_top'); $vh_show_filter = input_val('vh_show_filter'); $vh_show_sort = input_val('vh_show_sort'); $eap_show_ind = input_val('eap_show_ind'); $eap_show_top = input_val('eap_show_top'); $eap_show_filter = input_val('eap_show_filter'); $eap_show_sort = input_val('eap_show_sort'); $cur_time = gmdate("D M j H:i:s T"); $server_info = "server {$service->serv['name']} snapshot at $cur_time"; // setting defaults if ($vh_show_ind == '') { $vh_show_ind = 'Show'; } if ($vh_show_top === '') { $vh_show_top = '5'; } if ($vh_show_sort == '') { $vh_show_sort = 'req_per_sec'; } if ($eap_show_ind == '') { $eap_show_ind = 'Show'; } if ($eap_show_top === '') { $eap_show_top = '5'; } if ($eap_show_sort == '') { $eap_show_sort = 'req_per_sec'; } if ($refresh > 0 && $refresh < 10) { $refresh = 10; } if($refresh >= 10) { echo ''; } ?>
Real-Time Statistics    Refresh Interval:
' . td_label('Uptime', 120) . td_val(ucwords($stats->uptime)) . $etr; $buf .= '' . td_label('Load', 120) . td_val($stats->load_avg) . $etr; $blocked_count = count($stats->blocked_ip); $blocked_sample = 'NONE'; if ($blocked_count > 14) { $blocked_sample = join(', ', array_slice($stats->blocked_ip, 0, 14) ); $blocked_sample .= '
...
Total ' . $blocked_count . ' blocked    Show All'; } else if ($blocked_count > 0) { $blocked_sample = join(', ', $stats->blocked_ip); } $buf .= ''. td_label('Anti-DDoS Blocked IP', 120, 'antiddos_blocked_ip') . td_val($blocked_sample) . $etr; echo $buf; ?>
Server Health
$etr"; $buf .= '' . td_label('Network Throughput') . td_number('Http In', $stats->bps_in, 'KB') . td_number('Http Out', $stats->bps_out, 'KB') . $etr; $buf .= '' . td_val('') . td_number('Https In', $stats->ssl_bps_in, 'KB') . td_number('Https Out', $stats->ssl_bps_out, 'KB') . $etr; $buf .= '' . td_label('Connections') . td_number('Max', $stats->max_conn) . td_number('Idle', $stats->idle_conn) . $etr; $buf .= '' . td_val('') . td_number('Http Used', $stats->plain_conn) . td_number('Http Free', $stats->avail_conn) . $etr; $buf .= '' . td_val('') . td_number('Https Used', $stats->ssl_conn) . td_number('Https Free', $stats->avail_ssl_conn) . $etr; $buf .= '' . td_label('Requests   (Details)') . td_number('In Processing', $stats->serv->req_processing) . td_number('Req/Sec', $stats->serv->req_per_sec, '', 1) . $etr; $buf .= '' . td_val('') . td_number('Total Req', $stats->serv->req_total, '', 0, 3) . $etr; $buf .= '' . td_val('') . td_number('Total Static Hits', $stats->serv->total_static_hits) . td_number('Static Hits/Sec', $stats->serv->static_hits_per_sec, '', 1) . $etr; $buf .= '' . td_val('') . td_number('Total Public Cache Hits', $stats->serv->total_cache_hits) . td_number('Public Cache Hits/Sec', $stats->serv->cache_hits_per_sec, '', 1) . $etr; $buf .= '' . td_val('') . td_number('Total Private Cache Hits', $stats->serv->total_private_cache_hits) . td_number('Private Cache Hits/Sec', $stats->serv->private_cache_hits_per_sec, '', 1) . $etr; echo $buf; ?>
Server ' . graph_icon('Server') . "
' . '' . '' . '' . '' . '' . "\n"; $vhlist = $stats->apply_vh_filter($vh_show_top, $vh_show_filter, $vh_show_sort); foreach ($vhlist as $vhname) { if ($vhname == '_Server') continue; $vh = $stats->vhosts[$vhname]; $buf .= ''; $buf .= ''; $buf .= td_num2($vh->req_processing) . td_num2($vh->req_per_sec, 1) . td_num3($vh->total_static_hits, $vh->static_hits_per_sec) . td_num3($vh->total_cache_hits, $vh->cache_hits_per_sec) . td_num3($vh->total_private_cache_hits, $vh->private_cache_hits_per_sec) . td_num2($vh->eap_process) . td_num2($vh->eap_inuse) . td_num2($vh->eap_idle) . td_num2($vh->eap_waitQ) . td_num2($vh->eap_req_per_sec, 1) . $etr; } echo $buf; } ?>
' . "\n"; $buf .= '' . "\n"; $buf .= '' . "\n"; $buf .= '
Virtual Host Hide'; } else { $buf = ''; } $buf .= 'Display: Filter by Name (take regExp): Sort by: '; echo $buf; ?>
VH Name Req in ProcessingReq/SecTotal Static Hits | Hits/SecPublic Cache Hits | Hits/SecPrivate Cache Hits | Hits/SecExtApp ProcessesEAProc In UseEAProc IdleEAProc WaitQEAProc Req/Sec
' . $vhname . '' . graph_icon('VH', $vhname) . '
' . "\n"; if ($eap_show_ind == 'Show') { $buf .= '' . '' . '' . '' . $etr; $exapps = $stats->apply_eap_filter($eap_show_top, $eap_show_filter, $eap_show_sort); foreach ($exapps as $eap) { $buf .= ''; $buf .= ''; $buf .= ''; $buf .= ''; $buf .= td_num2($eap->config_max_conn) . td_num2($eap->effect_max_conn) . td_num2($eap->pool_size) . td_num2($eap->inuse_conn) . td_num2($eap->idle_conn) . td_num2($eap->waitqueue_depth) . td_num2($eap->req_per_sec, 1) . $etr; } } echo $buf; ?>
' . '' . '' . "\n"; $buf .= '' . "\n"; $buf .= '' . "\n"; $buf .= '' . '
External Application'; if ($eap_show_ind == 'Show') { $buf .= ''; } else { $buf .= ''; } $buf .= 'Display: Filter by Name (take regExp): Sort by:
ScopeTypeName Max ConnEff MaxPoolIn UseIdleWaitQReq/Sec
' . $eap->vhost . '' . $eap->type . '' . $eap->extapp . '' . graph_icon('EXTAPP', $eap->vhost, $eap->extapp) . '
PK!G;okk logViewer.phpnu[ $value ) { $output .= '