$thisUrl = $_SERVER['REQUEST_URI']; $ageN = "60"; $countryId = "ie"; $siteName = "Easy Mature Dating"; $region = $_REQUEST["region"]; $regionID = $_REQUEST["regionid"]; $country = $_REQUEST["country"]; $gender = $_REQUEST["gender"]; $siteDomainUK = "easymaturedating.co.uk"; $siteDomainWorld = "easymaturedating.com"; if ($countryId == "au" ) { $supportTel = "1-800-982-597"; $supHours = "24x7"; } elseif ($countryId == "ca" ) { $supportTel = "1-800-865-2193"; $supHours = "24x7"; } elseif ($countryId == "ie" ) { $supportTel = "1-800-902-285"; $supHours = "24x7"; } elseif ($countryId == "nz" ) { $supportTel = "0800-000136"; $supHours = "24x7"; } elseif ($countryId == "uk" ) { $supportTel = "0800 987 5555"; } elseif ($countryId == "us" ) { $supportTel = "1800-849-9439"; $supHours = "24x7"; } elseif ($countryId == "za" ) { $supportTel = "0800 992 992"; $supHours = "24x7"; } if ( $countryId == "uk" ) { $the = "The "; $siteNameUrl = "EasySeniorDating.co.uk"; $siteDomain = "easymaturedating.co.uk"; $logo = "easy-senior-dating-logo-uk.png"; $smallLogo = "easy-senior-dating-small-logo-uk.png"; } else { $siteNameUrl = "EasyMatureDating.com"; $siteDomain = "easymaturedating.com"; $logo = "easy-senior-dating-logo-net.png"; $smallLogo = "easy-senior-dating-small-logo-net.png"; } if ( $countryId == "au" ) { $wldID = "29329"; $country2 = "Australia"; $country3 = "Australian"; $siteUrl = "http://au.easymaturedating.com"; $appUrl = "http://members.au.easymaturedating.com"; } elseif ( $countryId == "ca" ) { $wldID = " 29330"; $country2 = "Canada"; $country3 = "Canadian"; $siteUrl = "http://ca.easymaturedating.com"; $appUrl = "http://members.ca.easymaturedating.com"; } elseif ( $countryId == "ie" ) { $wldID = "29331"; $country2 = "Ireland"; $country3 = "Irish"; $siteUrl = "http://ie.easymaturedating.com"; $appUrl = "http://members.ie.easymaturedating.com"; } elseif ( $countryId == "nz" ) { $wldID = "29332"; $country2 = "New Zealand"; $country3 = "New Zealand"; $siteUrl = "http://nz.easymaturedating.com"; $appUrl = "http://members.nz.easymaturedating.com"; } elseif ( $countryId == "us" ) { $wldID = "29333"; $country2 = "USA"; $country3 = "American"; $siteUrl = "http://us.easymaturedating.com"; $appUrl = "http://members.us.easymaturedating.com"; } elseif ( $countryId == "uk" ) { $wldID = "29328"; $country2 = "UK"; $country3 = "UK"; $siteUrl = "http://www.easymaturedating.co.uk"; $appUrl = "http://members.easymaturedating.co.uk"; $facebookPage = "https://www.facebook.com/pages/Easy-Senior-Dating-UK/408170752615000"; } elseif ( $countryId == "za" ) { $wldID = "29334"; $country2 = "South Africa"; $country3 = "South African"; $siteUrl = "http://za.easymaturedating.com"; $appUrl = "http://members.za.easymaturedating.com"; } if ($gender=="male") { $gendername1 = "men"; $gendername2 = "man"; $gendername3 = "male"; } elseif ($gender=="female") { $gendername1 = "women"; $gendername2 = "woman"; $gendername3 = "female"; } if ($platform=="Mobile") { include ("../includes/regions.inc.$countryId.php"); $regionTown="../content/towns/"."$region".".php"; } else { include ("includes/regions.inc.$countryId.php"); $regionTown="content/towns/"."$region".".php"; } # Create region name link # $regionNameLink = str_replace(" ","_",$regionName); # $regionNameLink = strtolower($regionNameLink); # Set Arrays $theList = array("36","71","38","39"); $scottish = array("6","19","24","29","36","47","62","67","71"); $welsh = array("12","21","31","32","25","56","26","27"); $northernIrish = array("1","2","46","18","23","69"); $english = array("3","4","5","7","8","9","10","11","13","20","14","15","16","17","65","22","28","35","57","33","34","37","42","43","44","45","41","48","49","53","50","74","51","52","55","60","75","61","63","64.","68","70","72","66","76","73","34"); $channelIslands = array("30","40","58"); $isleOfMan = array("38"); $isleOfWight = array("39"); $orkney = array("54"); $shetland = array("59"); # Set "The" if (in_array($regionID, $theList)) { $the = "The "; } # Set Nationality if (in_array($region, $scottish)) { $nationality = "Scottish"; } elseif (in_array($region, $welsh)) { $nationality = "Welsh"; } elseif (in_array($region, $northernIrish)) { $nationality = "Northern Irish"; } # Set country name if (in_array($region, $scottish)) { $country = "Scotland"; } elseif (in_array($region, $welsh)) { $country = "Wales"; } elseif (in_array($region, $northernIrish)) { $country = "Northern Ireland"; } elseif (in_array($region, $english)) { $country = "UK"; } elseif (in_array($region, $channelIslands)) { $country = "Channel Islands"; } # Add "The" to UK if ($country =="UK") { $theUK = "The " ;} if ($page == "Homepage") { if ($region){$socialTitle = " - Online Dating For The Over 60s In "."$the"."$regionName";} else{$socialTitle = " - 60s Singles Dating In The UK";}} if ($page == "Search") { if ($region){$socialTitle = " - Search 60s Singles in "."$the"."$regionName";} else{$socialTitle = " - Search 60s Singles In The UK";}} if ($page == "Login") { $socialTitle = " - Login";} if ($page == "Register") { if ($region){$socialTitle = " - Sign Up For Online 60s Dating In "."$the"."$regionName";} else{$socialTitle = " - Sign Up For Online 60s Dating In The UK";}} if ($page == "More") { $socialTitle = " - More 60s Singles In The UK";} if ($page == "Tips") { $socialTitle = " - 60s Dating Tips";} ?>