{$partner['part_info']}
\n {$ucasText}\n") : print("\n")); // Retrieve the apply online information for the course $applicationRegistration = $courseApplyOnline->getCourseApplicationRegistrationDetails($courseCode, $partner['part_info']); if(($courseLevel == "Undergraduate" && $partner['part_info'] == "") && $courseCode != "B952") { //print("If you are applying for this course from outside of the UK/EU, click apply now.
"); } elseif ($courseCode == "B952"){ } else { print("Students must apply via one of the following online application forms:-
"); } // Determine if any apply online information has been returned if (count($applicationRegistration) > 0) { foreach ($applicationRegistration as $registrationInfo) { // If UK only flag is set, only show link to visitors in the UK // If UK only flag is not set, show link regardless of location if (!array_key_exists("uk_only",$registrationInfo) || $registrationInfo['uk_only'] != '1' || ($registrationInfo['uk_only'] == '1' && ($geoIpCountryCode == 'GB-ENG' || $geoIpCountryCode == 'GB-NIR' || $geoIpCountryCode == 'GB-SCT' || $geoIpCountryCode == 'GB-WLS')) ) { if(strlen($registrationInfo['altLink'])>0){ print("".html_entity_decode($registrationInfo['free_text'])."
"); print("Course starts: " . date("d F Y", strtotime($registrationInfo['dt_prgstart'])) . ""); print("Apply now
\n"); } else { print("".html_entity_decode($registrationInfo['free_text'])."
"); print("Course starts: " . date("d F Y", strtotime($registrationInfo['dt_prgstart'])) . ""); print("Apply now
\n"); } } } if($courseCampus == "On-campus (Sunderland)" && $courseLevel == "Postgraduate" && $courseCode != "CID1191" && $courseCode != "CID1496" && $courseCode != "CID1360" && $courseCode != "CID1361" && $courseCode != "CID1218" && $courseCode != "CID1519"){ print("Current undergraduate students of the University of Sunderland, please use this apply link"); print("Apply now
\n"); } } // Display the end of the content wrapper print("