".$lang_label["view_servers"].""; echo "
".$lang_label["name"]; echo " | ".$lang_label['status']; echo " | ".$lang_label['ip_address']; echo " | ".$lang_label['description']; echo " | ".$lang_label['network']; echo " | ".$lang_label['data']; echo " | ".$lang_label['snmp']; echo " | ".$lang_label['master']; echo " | ".$lang_label['checksum']; echo " | ".$lang_label['laststart']; echo " | ".$lang_label['lastupdate']; $color=1; while ($row=mysql_fetch_array($result)){ if ($color == 1){ $tdcolor = "datos"; $color = 0; } else { $tdcolor = "datos2"; $color = 1; } $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"]; $master = $row["master"]; $checksum = $row["checksum"]; $description = $row["description"]; echo " |
---|---|---|---|---|---|---|---|---|---|---|
"; echo "$name"; echo " | "; if ($status ==0){ echo ""; } else { echo ""; } echo " | "; echo "$address"; echo " | ".substr($description,0,25); echo " | "; if ($network_server == 1){ echo ""; } echo " | "; if ($data_server == 1){ echo ""; } echo " | "; if ($snmp_server == 1){ echo ""; } echo " | "; if ($master == 1){ echo ""; } echo " | "; if ($checksum == 1){ echo ""; } echo " | ".substr($laststart,0,25); echo " | ".substr($keepalive,0,25); } echo ' |