Player Info
User: = htmlentities($user) ?>
Class: = htmlentities($class) ?>
Admin?: = $isadmin ? "Yes" : "No" ?>
Level: = $level ?>
Next level: = duration($secs) ?>
Status: = $online ? "Online" : "Offline" ?>
Host: = $uhost ? $uhost : "Unknown" ?>
Account Created: = date("D M j H:i:s Y", $created) ?>
Last login: = date("D M j H:i:s Y", $lastlogin) ?>
Total time idled: = duration($idled) ?>
Current position: [= $x ?>,= $y ?>]
Alignment: = $alignment == 'e' ? "Evil" : ($alignment == 'n' ? "Neutral" : "Good") ?>
XML: [link]
= $showmap ? "
" : "
Show map" ?>
Items
$val) {
$valInt = intval($val); // Extract integer value
$sum += $valInt; // Add to sum
$uniquecolor="#be9256";
if ($key == "helm" && substr($val,-1,1) == "a") {
$val = intval($val)." [
Mattt's Omniscience Grand Crown]";
}
if ($key == "tunic" && substr($val,-1,1) == "b") {
$val = intval($val)." [
Res0's Protectorate Plate Mail]";
}
if ($key == "amulet" && substr($val,-1,1) == "c") {
$val = intval($val)." [
Dwyn's Storm Magic Amulet]";
}
if ($key == "weapon" && substr($val,-1,1) == "d") {
$val = intval($val)." [
Jotun's Fury Colossal Sword]";
}
if ($key == "weapon" && substr($val,-1,1) == "e") {
$val = intval($val)." [
Drdink's Cane of Blind Rage]";
}
if ($key == "boots" && substr($val,-1,1) == "f") {
$val = intval($val)." [
Mrquick's Magical Boots of Swiftness]";
}
if ($key == "weapon" && substr($val,-1,1) == "g") {
$val = intval($val)." [
Jeff's Cluehammer of Doom]";
}
if ($key == "ring" && substr($val,-1,1) == "h") {
$val = intval($val)." [
Juliet's Glorious Ring of Sparkliness]";
} echo "
$key: $val
";
}
echo "
Sum: $sum
";
?>
Penalties
$val) {
$sum += $val; // Add to sum
echo "
$key: " . duration($val) . "
";
}
echo "
Total: " . duration($sum) . "
";
?>
Character Modifiers
" . htmlentities(trim($line)) . "";
}
} else {
end($temp);
for ($i = 0; $i < 4; ++$i) prev($temp);
for ($line = trim(current($temp)); $line; $line = trim(next($temp))) {
echo "
" . htmlentities(trim($line)) . "
";
}
}
}
if ($_GET['allmods'] != 1 && count($temp) > 5) {
echo "
[View all Character Modifiers (" . count($temp) . ")
";
}
?>