0 AND accesslevel=0'); $donnees = mysql_fetch_array($retour); $retour1 = mysql_query('SELECT COUNT(*) AS nbre_entrees FROM characters WHERE online>0 AND accesslevel=200'); $donnees1 = mysql_fetch_array($retour1); echo ''; echo ''; $ts_ip = "ts3.l2hommage.eu"; // Change to your server's IP external or domain name $ts_port = "9987"; // Make sure this port is open on the router or firewall function check_ts($ip, $tcp, $udp, $timeout=1) { //Function for the Check $fp = @fsockopen($ip, $tcp, $errno, $errstr, $timeout); if (!$fp) { $stat = false; } else { if (fgets($fp) == "[TS]\r\n") { fputs($fp, "SEL $udp\r\n"); if (fgets($fp) == "OK\r\n") { $stat = true; } else { $stat = false; } } else { $stat = false; } if (is_resource($fp)) @fclose($fp); return $stat; } } echo' Joueurs IG--....--' . $donnees['nbre_entrees'] .'
'; echo 'GM/Adm IG-..--' . $donnees1['nbre_entrees'] .'
'; echo 'Monstres.---...27634
'; echo 'Raidboss-.----.-276
'; echo 'Instances--------73
'; echo 'Qučtes----------761
'; echo 'Donjons---------17
'; echo 'Mondes----------4
'; ?>