$b[level] ? -1 : 1; } $fh = fopen("http://localhost:34000/who", "rb"); if (!$fh) { unavailable("Connected Players"); } else { $who = array(); while (!feof($fh)) { $line = fgets($fh, 1024); $ary = mudExtractFields($line, array(name, level, race, clss, topkiller, solokills, groupkills, deaths, pkills, pkilled, arenakills, arenawins, arenakilled, title)); if (count($ary) == 14) { array_push($who, $ary); } } fclose($fh); mudHeader("Connected Players"); /* ?> Hide statistics
Show statistics

= 70) { echo " \n"; } else { echo " \n"; } ?> = 51 && $ch[level] <= 69) { $nobles++; } } ?>
  Lv Class   Name / Title  Race 
Statistics (legend at end of page)

[ Immortal$ch[level]" . ($ch[level] >= 50 ? "" : "") . $ch[clss] . ($ch[level] >= 51 ? "" : "") . "] ()

.

Statistics legend: