echo "</td>"; echo "<td class=\"Node_ID\">"; if ($client_host != "") { echo "<FONT COLOR=gray>" . $sh_host_afisat . "</FONT>"; } else { if ($nodes["Info"][0] == "") { echo "<A HREF=" . $pagina . "?nodeDns={$sh_host_afisat}><FONT COLOR=red>" . $sh_host_afisat . "</FONT></A>"; } else { echo "<A HREF=" . $pagina . "?nodeDns={$sh_host_afisat}>" . $sh_host_afisat . "</A>"; } } echo "</td>"; if ($country_whois == true) { echo "<td class=\"tabel_hop_total2\">" . $tara_DNS . "</td>"; } echo "<td class=\"tabel_hop_total2\"><A HREF=" . $pagina . "?nodeDns=" . $sh_host . "&checkPing=1>" . pingColor(SavedPing($sh_host)) . "</A></td>"; //echo "<td class=\"tabel_hop_total2\"><A HREF=".$pagina."?nodeDns=".$sh_host."&checkPing=1>".pingColorBest(SavedPing($sh_host))."</A></td>"; //------------- RESHARE $reshare = "<FONT COLOR=red>! NO !</FONT>"; if (!isset($total_reshare[$sh_host]["maxim"])) { $reshare = "-"; } else { if ($fullReshare) { if ($total_reshare[$sh_host]["maxim"] > 0) { $reshare = $total_reshare[$sh_host]["maxim"]; } } else { if ($total_reshare[$sh_host]["maxim"] > 0) { $reshare = "<FONT COLOR=yellow>YES</FONT>"; } }
usleep(100000); $pingTry3 = pingDomain($host_IP, $host_PORT, 1); if ($pingTry3 > 0) { $textPing = $textPing . ", " . $pingTry3 . "ms "; $pingMax = max($pingTry1, $pingTry2, $pingTry3); $pingTry = (int) (($pingTry1 + $pingTry2 + $pingTry3 - $pingMax) / 2); SavePing($sh_host, $pingTry); $LastPingError = ""; } } } } echo "<table border=0 cellpadding=1 cellspacing=1>"; echo "<tr>"; echo "<td width=250 class=\"Node_ID\"><A HREF=" . $pagina . "?nodeDns={$sh_host}>" . $sh_host . "</A></td>"; if ($LastPingError == "") { echo "<td width=150 class=\"tabel_normal\">" . $textPing . "</td>"; } else { echo "<td width=150 class=\"tabel_normal\"><FONT COLOR=red>" . $LastPingError . "</FONT></td>"; } if ($pingTry == "") { echo "<td width=60 class=\"Node_IDr\"></td>"; } else { echo "<td width=60 class=\"Node_IDr\">" . $pingTry . "<FONT COLOR=gray> ms</FONT></td>"; } echo "<td width=100 class=\"tabel_normal\">" . pingResultColor($pingTry) . "</td>"; echo "<td width=50 class=\"tabel_hop_total2\"><B>" . pingColor(SavedPing($sh_host)) . "</B></td>"; echo "</tr>"; echo "</table>"; } ENDPage();