278,285d277 < if (1 == 1) { < if ($country == '') { < echo ' function weatherfor() { var citycountry="' . $place . ' weather"; window.open("https://www.google.com.au/search?q=" + encodeURIComponent(citycountry) + "&client=firefox-a&rls=org.mozilla:en-US:official&source=lnms&sa=X&ei=de-XUrCELIXSkwXL9ICIDg&ved=0CAgQ_AUoAA&biw=1243&bih=609&dpr=1#q=" + encodeURIComponent(citycountry) + "+weather", "_blank", "top=200,height=200,width=400,height=400"); } '; < } else { < echo ' function weatherfor() { var citycountry="' . $place . "," . $country . ' weather"; window.open("https://www.google.com.au/search?q=" + encodeURIComponent(citycountry) + "&client=firefox-a&rls=org.mozilla:en-US:official&source=lnms&sa=X&ei=de-XUrCELIXSkwXL9ICIDg&ved=0CAgQ_AUoAA&biw=1243&bih=609&dpr=1#q=" + encodeURIComponent(citycountry) + "+weather", "_blank", "top=200,height=200,width=400,height=400"); } '; < } < exit; < } 291,298d282 < if (1 == 1) { < if ($country == '') { < echo ' function weatherfor() { var citycountry="' . $place . ' weather"; window.open("https://www.google.com.au/search?q=" + encodeURIComponent(citycountry) + "&client=firefox-a&rls=org.mozilla:en-US:official&source=lnms&sa=X&ei=de-XUrCELIXSkwXL9ICIDg&ved=0CAgQ_AUoAA&biw=1243&bih=609&dpr=1#q=" + encodeURIComponent(citycountry) + "+weather", "_blank", "top=200,height=200,width=400,height=400"); } '; < } else { < echo ' function weatherfor() { var citycountry="' . $place . "," . $country . ' weather"; window.open("https://www.google.com.au/search?q=" + encodeURIComponent(citycountry) + "&client=firefox-a&rls=org.mozilla:en-US:official&source=lnms&sa=X&ei=de-XUrCELIXSkwXL9ICIDg&ved=0CAgQ_AUoAA&biw=1243&bih=609&dpr=1#q=" + encodeURIComponent(citycountry) + "+weather", "_blank", "top=200,height=200,width=400,height=400"); } '; < } < exit; < }