Sleepless Nights Image Map Toolbar
The Seadog Inn

News
Projects
The Tome
Bulletin Board
Mudmail
Search the Tome for records of killers and their victims.
"; $proceed = false; } ?> Search for Player Name... "; ?>
...where player was the hapless victim Victim"; echo $line; ?>
...where player was the brutal murderer Murderer"; echo $line; ?>
...for all occurrences All"; echo $line; ?>
"; $proceed = false; } ?> Sort...
...in order of occurance Occurance"; echo $line; ?>
...using number of points Points"; echo $line; ?>
...using name of killer / victim Name"; echo $line; ?>
"; $proceed = false; } ?> Sort Order...
...from lowest to highest value Ascending"; echo $line; ?>
...from highest to lowest value Descending"; echo $line; ?>
"; $proceed = false; } ?> Display...
...kills separate from deaths Separate"; echo $line; ?>
...kills and deaths together Together"; echo $line; ?>

0) { SwitchString($deathdata[$i], $deathdata[$i+1]); $done = false; } } } $done = false; while(!$done) { $done = true; for($i = 0; $i < count($killdata) - 1; $i++) { $n1 = substr(strtolower($killdata[$i]), 0, strpos($killdata[$i], " has been")); $n2 = substr(strtolower($killdata[$i+1]), 0, strpos($killdata[$i+1], " has been")); if(strcasecmp($killdata[$i], $killdata[$i+1]) > 0) { SwitchString($killdata[$i], $killdata[$i+1]); $done = false; } } } $tomedata = array_merge($deathdata, $killdata); $done = false; while(!$done) { $done = true; for($i = 0; $i < count($tomedata) - 1; $i++) { $n1 = substr(strtolower($tomedata[$i]), 0, strpos($tomedata[$i], " has been")); $n2 = substr(strtolower($tomedata[$i+1]), 0, strpos($tomedata[$i+1], " has been")); if(strcasecmp($tomedata[$i], $tomedata[$i+1]) > 0) { SwitchString($tomedata[$i], $tomedata[$i+1]); $done = false; } } } } if($Sort == "Points") { $done = false; while(!$done) { $done = true; for($i = 0; $i < count($tomedata) - 1; $i++) { $p1 = substr($tomedata[$i], strpos($tomedata[$i], "having reached ") + 15, strlen($tomedata[$i])-strpos($tomedata[$i], "having reached ") - 25); $p2 = substr($tomedata[$i+1], strpos($tomedata[$i+1], "having reached ") + 15, strlen($tomedata[$i+1])-strpos($tomedata[$i+1], "having reached ") - 25); if($p1 > $p2) { SwitchString($tomedata[$i], $tomedata[$i+1]); $done = false; } } } SplitData(&$tomedata, &$deathdata, &$killdata, $Player); } if($SortOrder == "Descending") { $tomedata = array_reverse($tomedata); $deathdata = array_reverse($deathdata); $killdata = array_reverse($killdata); } if($Sort == "Occurance") SplitData($tomedata, &$deathdata, &$killdata, $Player); if(($Split == "Yes") || (($PlayerIs == "Murderer") || ($PlayerIs == "Victim"))) { $deathcount = count($deathdata); $killcount = count($killdata); if((count($deathdata) > 0) && (($PlayerIs == "Both") || ($PlayerIs == "Victim"))) { echo "

  " . $OriginalPN . " as the Hapless Victim  "; echo ""; foreach ($deathdata as $td) echo $td . "
"; echo "

  " . $OriginalPN . " has been killed " . $deathcount . " times.  
"; } if((count($killdata) > 0) && (($PlayerIs == "Both") || ($PlayerIs == "Murderer"))) { echo "

  " . $OriginalPN . " as the Brutal Murderer  "; echo ""; foreach ($killdata as $td) echo $td . "
"; echo "
  " . $OriginalPN . " has murdered " . $killcount . " times.  
"; } } else { $tomecount = count($tomedata); echo "

  Tome entries for " . $OriginalPN . "  "; echo ""; foreach ($tomedata as $td) echo $td . "
"; echo "
  There are " . $tomecount . " entries for " . $OriginalPN . ".  
"; } } else echo "The name \"" . $OriginalPN . "\" does not show up in the tome."; } else echo "Unable to find the Tome Record
Please contact the Sleepless Nights Admin"; } ?>

Next Page

[ Home Seadog Inn Beginners Traveller's Guide Information Play Now! Feedback ]

If you have any comments, complaints or suggestions about these pages, please mail : shaka@cheese.org