$rsData = new CAdminResult($rsData, $sTableID); while ($arRes = $rsData->Fetch()) { if (!$arRes["GROUP_ID"]) { $arRes = CClusterMemcache::GetByID($arRes["ID"]); $cData->Update($arRes["ID"], $arRes); $arRes = CClusterMemcache::GetByID($arRes["ID"]); } if ($arRes["GROUP_ID"] != $group_id) { continue; } $row =& $lAdmin->AddRow($arRes["ID"], $arRes); $row->AddViewField("ID", '<a href="cluster_memcache_edit.php?lang=' . LANGUAGE_ID . '&group_id=' . $group_id . '&ID=' . $arRes["ID"] . '">' . $arRes["ID"] . '</a>'); $html = ''; if (true) { $html .= '<table width="100%">'; $arSlaveStatus = CClusterMemcache::GetStatus($arRes["ID"]); foreach ($arSlaveStatus as $key => $value) { if ($key == 'uptime') { $uptime = $value; } elseif ($key == 'get_misses') { $get_misses = $value; } elseif ($key == 'limit_maxbytes') { $limit_maxbytes = $value; } elseif ($key == 'bytes') { $key = 'using_bytes'; } if ($key == 'uptime') { } elseif ($key == 'limit_maxbytes') { $html .= ' <tr> <td width="50%" align=right>' . $key . ':</td>