$link = mysql_connect("mysql10.powweb.com", "mapzones_map", "sachinlovegk") or die("Could not connect".mysql_error());
mysql_select_db("mapzones_map") or die("Could not select Database");
$URL = $_SERVER['REQUEST_URI'];
$URL = explode('/', $URL);
for ($j = 0; $j <= 4; $j++) {
$Delete = $URL[0];
$World = $URL[1];
$Continent = $URL[2];
$Country = $URL[3];
$File = $URL[4];
}
//$Country = (str_replace("_", " ", $Country));
$Title = $Country;
$Title = ucwords(str_replace("_", " ", $Title));
?>
MapZones.com : Bhutan Live Time and Date
?>
include "http://www.mapzones.com/ad/asia.php";
?>
?>
include "link.php";
?>
include "time.php";
?>
$query = "SELECT c.Country_ID, c.CountryName, StateName FROM country c, state s where 1=1 and CountryName = '" . $Country . "' and c.Country_ID = s.Country_ID";
$xresult = mysql_query($query) or die("Failed".mysql_error());
$htmlstr = "
";
$i = 0;
if (mysql_num_rows($xresult)==0):
$query = "SELECT c.Country_ID, c.CountryName, CityName FROM country c, city ct where 1=1 and CountryName = '" . $Country . "' and ct.Country_ID = c.Country_ID";
$result = mysql_query($query) or die("Failed".mysql_error());
$CityName = $row -> CityName ;
if (mysql_num_rows($result)==0):
else:
while ($row = mysql_fetch_object($result)){
$htmlstr = $htmlstr . "