'.ucwords($topic).'';
$html .= '
' . $countyCode . '
';
$county = convToFile($countyCode);
$region = convToFile($q);
$countryCode = strtolower($countryCode);
$namespace = $topic;
$path = $topic . ':earth:' . $continent . ':' . $countryCode. ':' . $region . ':' . $county;
$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['unDefn']['en'] .'
';
}
echo $html;
?>