'.ucwords($topic).''; $html .= '

' . $locality . '

'; $locality = convToFile($locality); $county = convToFile($countyCode); $region = convToFile($q); $countryCode = strtolower($countryCode); $namespace = $topic; $path = $topic . ':earth:' . $continent . ':' . $countryCode . ':' . $region . ':' . $county . ':' . $locality; $wikiData = pullInWikiData($path, $namespace, $topic); if ($wikiData != '') $html .= $wikiData; else $html .= '

'. htmlentities($exploreErrors['editPg']['en'], ENT_NOQUOTES) . htmlentities($exploreErrors['ckBack']['en'], ENT_NOQUOTES) .'

'; $html .= '

'; $html .= htmlentities($exploreErrors['update']['en'], ENT_NOQUOTES); } else $html = '

'. $exploreErrors['noMore']['en'] .'

'; } else $html = '

'. $exploreErrors['mtBotm']['en'] .'

'; echo $html; ?>