city(''.$ip.''); $geoIpCountryCode = ((isset($_GET['geoIpCountryCode'])) ? filter_input(INPUT_GET, "geoIpCountryCode", FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW) : $geoIpData->country->isoCode); } catch (\Exception $ex) { print(""); } //$geoIpCountryCode = isset($_GET["geoIpCountryCode"]) ? $_GET["geoIpCountryCode"] : "GB"; if($geoIpCountryCode != "") { $geoIpContinentCode = $courseEntryReq->COUNTRY_CONTINENTS[$geoIpCountryCode]; } else { $geoIpContinentCode = ""; } if ($geoIpCountryCode == "" || $geoIpCountryCode == "GB") { $geoIpCountryCode = "GB-ENG"; } $geoIpCountryName = $courseEntryReq->countryList[$geoIpCountryCode]; echo""; $courseLevel=filter_var('Undergraduate', FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW); $courseCampus=filter_var('On-campus (Sunderland)', FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW); $courseName=filter_var("BA (Hons) Community and Youth Work", FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW); $entryType=filter_var('ug112', FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW); $courseMode=filter_var('Full', FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW); $courseCode=filter_var('L522', FILTER_SANITIZE_SPECIAL_CHARS, FILTER_FLAG_STRIP_LOW); $ip=isset($ip)?$ip:NULL; echo ""; if (ip_in_range($ip,"10.0.0.0/8") || ip_in_range($ip,"172.16.0.0/12") || ip_in_range($ip,"196.168.0.0/16") || ip_in_range($ip,"157.228.0.0/16") || ip_in_range($ip,"195.58.128.0/19") || ip_in_range($ip,"212.219.243.160/28") ) {//echo" "; } else { ?>

Community and Youth Work BA (Hons)

Apply now\n"); } else { /** * Apply online */ // Include class file if(isset($url) && strpos($url,'beta.sunderland.ac.uk') !== false) { require_once("/efs/www.sunderland.ac.uk/lib/classes/CourseApplyOnlineV2.php"); } else{ require_once("/efs/www.sunderland.ac.uk/lib/classes/CourseApplyOnline.php"); } try { // Initalise the class $courseApplyOnline = new \UosCommon\CourseApplyOnline(); // Specify the course code $courseCode = "L522"; $courseLevel = "Undergraduate"; //$courseCode = "CID904"; // Sanitise the course code $courseCode = preg_replace('#[^A-Za-z0-9]#', '', $courseCode); // Retrieve the partner information for the course $partners = $courseApplyOnline->getCoursePartnerInformation($courseCode); if (count($partners) > 0) { // Partner information has been returned //$applyOnlineLinkURL="https://www.sunderland.ac.uk/study/maintenance/"; //$applyOnlineLinkURL="https://sunduni.eu.qualtrics.com/jfe/form/SV_1ThUyh4ewHfGO8u?course={$courseTitle}&level={$courseLevel}&idl={$IDLApply}&campus={$courseCampus}"; //$applyOnlineLinkClass = ""; //$applyOnlineLinkTarget = "_blank"; // Setup the environment $applyOnlineLinkURL = "#apply-online-modal"; $applyOnlineLinkClass = " popup-apply"; $applyOnlineLinkTarget = "_self"; $ucasText = ""; // Display the beginning of the content wrapper print("

Apply Online


\n"); // Display the content foreach ($partners as $partner) { // Display the beginning of the content wrapper //if(($courseLevel == "Undergraduate" && $partner['part_info'] == "") && $courseCode != "B952") { //$ucasText = "

If you are applying for this course from within the UK/EU, please apply through UCAS.Apply via UCAS

"; //} print("
\n"); (($partner != NULL) ? print("

{$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("
"); } // Display the end of the content wrapper print("
"); } else{ // Partner information has not been returned // Setup the environment $applyOnlineLinkURL = "https://www.sunderland.ac.uk/study/apply-now/on-campus-undergraduate-full-time-courses/"; $applyOnlineLinkClass = ""; $applyOnlineLinkTarget = ""; } } catch (\Exception $ex) { print(""); } // Display the button to the online application //print(" Apply Now\n"); print(" Apply now\n"); } ?>

Transform the lives of vulnerable communities. Empower disadvantaged young people to achieve their potential. Qualify for an incredibly satisfying career in youth and community work where you'll be changing lives every day.

href="#register-interest" class="featured_link">Register your interest
= $currentDate) $datesArray[$key]=formatDisplayDate($startDate1); } if(strlen($startDate2)) { $key = getUnixDate($startDate2); // If timestamp has been set (i.e. $startDate2 is valid date) and is on or after today, append to array if(strlen($key) && $key >= $currentDate) $datesArray[$key]=formatDisplayDate($startDate2); } if(strlen($startDate3)) { $key = getUnixDate($startDate3); // If timestamp has been set (i.e. $startDate3 is valid date) and is on or after today, append to array if(strlen($key) && $key >= $currentDate) $datesArray[$key]=formatDisplayDate($startDate3); } if(strlen($startDate4)) { $key = getUnixDate($startDate4); // If timestamp has been set (i.e. $startDate4 is valid date) and is on or after today, append to array if(strlen($key) && $key >= $currentDate) $datesArray[$key]=formatDisplayDate($startDate4); } // Sort dates in ascending order ksort($datesArray); ?>