".lang_string ("name")."";
echo " | ".lang_string ('status')."";
echo " | ".lang_string ('load')."";
echo " | ".lang_string ('modules')."";
echo " | ".lang_string ('lag')."";
$color=1;
while ($row=mysql_fetch_array($result)){
if ($color == 1){
$tdcolor = "datos";
$color = 0;
}
else {
$tdcolor = "datos2";
$color = 1;
}
$id_server = $row["id_server"];
$name = $row["name"];
$address = $row["ip_address"];
$status = $row["status"];
$laststart = $row["laststart"];
$keepalive = $row["keepalive"];
$network_server = $row["network_server"];
$data_server = $row["data_server"];
$snmp_server = $row["snmp_server"];
$recon_server = $row["recon_server"];
$master = $row["master"];
$checksum = $row["checksum"];
$description = $row["description"];
$version = $row["version"];
$modules_server = 0;
$serverinfo = server_status ($id_server);
// Name of server
echo " |
";
echo $name;
// Status
echo " | ";
if ($status ==0){
echo "";
} else {
echo "";
}
// Load
echo " | ";
if ($total_modules > 0)
$percentil = $serverinfo["modules"] / ($total_modules / 100);
else
$percentil = 0;
if ($percentil > 100)
$percentil = 100;
// Progress bar render
echo '';
// Modules
echo " | ";
echo $serverinfo["modules"] . " ".lang_string("of")." ". $total_modules;
// Lag
echo " | ";
echo human_time_description_raw ($serverinfo["lag"]) . " / ". $serverinfo["module_lag"];
}
echo ' |