call('getSupportedCountries', array()); $output = ""; if(checkWsError($client)) { // Check for errors from enrico if(strlen($result["error"]) > 0) { die("Error from Enrico: " . $result["error"]); } } else { die("ERROR: calling webservice failed"); } $year = date("Y"); ?> Public holidays - List of supported countries and its regions
banner
Public holidays - List of supported countries and its regions
0) { $regions = ""; for($j = 0; $j < count($result["supportedCountries"][$i]["regions"]); $j++) { if($j == 0 && strcmp($result["supportedCountries"][$i]["countryCode"], "fra") != 0) { $firstRegion = $result["supportedCountries"][$i]["regions"][$j]; } $regions .= "" . $result["supportedCountries"][$i]["regions"][$j] . ""; if($j % 5 == 4) $regions .= "
"; } } $href = "public_holidays.php?country=" . $result["supportedCountries"][$i]["countryCode"] . "&year=" . $year; if(strlen($firstRegion) > 0) { $href .= "&region=" . urlencode($firstRegion); } $txt = "" . $result["supportedCountries"][$i]["fullName"] . ""; print ""; } ?>
No. Country Name Country Code Available from Available until Regions
" . ($i+1) . "." . $txt . "" . $result["supportedCountries"][$i]["countryCode"] . "" . convertDateToString($result["supportedCountries"][$i]["fromDate"]) . "" . convertDateToString($result["supportedCountries"][$i]["toDate"]) . "" . $regions . "
Powered by Enrico Service. If you have any questions, suggestions or corrections please send it to enrico@kayaposoft.com. Thank you for helping us keep Enrico Service up-to-date.