mirror of
https://github.com/easy-wi/developer.git
synced 2025-02-20 11:23:28 +08:00
#17: Partial
This commit is contained in:
parent
8c1ac0ab79
commit
3a5a00558e
@ -821,7 +821,9 @@ if (!isset($template_file) and ((!isset($servertype) and isset($page_include) an
|
||||
foreach ($leftservers as $keys => $arrays) {
|
||||
$percent = 0;
|
||||
foreach ($arrays as $key => $count) {
|
||||
$percent = $percent + ((100 / $switchcount[$keys][$key]['exist']) * ($count));
|
||||
if (isset($switchcount[$keys][$key]['exist'])) {
|
||||
$percent = $percent + ((100 / $switchcount[$keys][$key]['exist']) * ($count));
|
||||
}
|
||||
}
|
||||
$mostleft[$keys] = $percent;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user