include "/usr/home/knight/includes/overall.php"; include "/usr/home/knight/includes/itemname.php"; $zoneid = secure($_GET['id']); if (!is_numeric($zoneid)) die(); $enc = country_enc($sitelang); if ($zoneid > 101 && $zoneid < 200) $zoneid = 101;// Dungeon Instances (101 -> 255 maybe?) $name = zone_map2($zoneid); if ($name == "") { show_header($sitetext["zones"]); ko_error($sitetext["invalidzone"]); } $name = str_replace("\\","/",$name); $map = "images/".substr($name,0,strlen($name)-4).".png"; if (!$name || !file_exists($map)){ $height = 512; $map = <<< EOF
| '.$zname.' | '; if ($mobnum > 0) echo "$sitetext[mobs] | "; if ($npcnum > 0) echo "$sitetext[npcs] | "; echo '
|---|---|---|
| $description | "; if ($mobnum > 0) { echo '||
| '.$map.' |
| '.$sitetext["info"].' | |
|---|---|
| '.$info.' | |
| '.$sitetext["tpto"].': | '.$teleport_to.' |
| '.$sitetext["tpfrom"].': | '.$teleport_from.' |