<?php
//programmes


    $applylink = './forms/';
    $date = date('d-n-Y');
    $year = date('Y');

    $cambridge_file = file_get_contents("includes/cambridge.txt");
    $jupeb_file = file_get_contents("includes/jupeb.txt");
    $toefl_file = file_get_contents("includes/toefl.txt");
    $french_file = file_get_contents("includes/french.txt");
    $sat_file = file_get_contents("includes/sat.txt");
    $eilts_file = file_get_contents("includes/eilts.txt");


    $programmes = array(
        array(
            'id' => 1,
            'name' => 'Cambridge Examinations (Science)',
            'logo' => 'assets/img/alevels/partner-1.png',
            'price' => 0,
            'price_range' => 'Semester',
            'students' => 10,
            'lecture_room' => 1,
            'start_date' => '2nd March '. $year,
            'end_date' => '25th Sept. '. $year,
            'status' => 'Open',
            'apply_text' => 'Apply Now!',
            'apply_link' => $applylink,
            'image' => 'assets/img/programmes/1.jpg',
            'desc' => 'Our Cambridge A Level (GCE A-Level) is a One Year Program that allows a student secure admission directly into 200 Level in Universities in Nigeria and Abroad',
            'body_text' => $cambridge_file
        ),
        array(
            'id' => 2,
            'name' => 'JUPEB Examinations',
            'logo' => 'assets/img/alevels/partner-3.png',
            'price' => 0,
            'price_range' => 'Semester',
            'price_2' => null,
            'students' => 14,
            'lecture_room' => 1,
            'start_date' => '2nd March '. $year,
            'end_date' => '25th Sept. '. $year,
            'status' => 'Closed',
            'apply_text' => 'Check Later',
            'apply_link' => $applylink,
            'image' => 'assets/img/programmes/2.jpg',
            'desc' => 'It’s a 7-month programme that enables students to have access to gain admission into 200level and would only be accepted in selective schools in Nigeria universities',
            'body_text' => $jupeb_file
        ),
        array(
            'id' => 3,
            'name' => 'TOEFL Examination',
            'logo' => 'assets/img/alevels/partner-2.jpg',
            'price' => 0,
            'price_range' => 'Month',
            'price_2' => null,
            'students' => 6,
            'lecture_room' => 1,
            'start_date' => '2-3-'. $year,
            'end_date' => '2-3-'. $year,
            'status' => 'Open',
            'apply_text' => 'Apply Now!',
            'apply_link' => $applylink,
            'image' => 'assets/img/programmes/3.jpg',
            'desc' => 'TOEFL is the most widely recognized and accepted English Language Test in then world, TOEFL is a core requirement to meet to study English in English-speaking countries',
            'body_text' => $toefl_file
        ),
        array(
            'id' => 4,
            'name' => 'French Institute',
            'logo' => 'assets/img/alevels/partner-8.jpg',
            'price' => 0,
            'price_range' => 'Month',
            'price_2' => null,
            'students' => 4,
            'lecture_room' => 1,
            'start_date' => '1st Jan. '. $year,
            'end_date' => '20th Oct. '. $year,
            'status' => 'Open',
            'apply_text' => 'Apply Now!',
            'apply_link' => $applylink,
            'image' => 'assets/img/programmes/4.jpg',
            'desc' => 'STC French Institute offers a varied and comprehensive course of study in French that comprises specializations in language training, linguistics, translation, the literatures and cultures of the francophone world.',
            'body_text' => $french_file
        ),
        array(
            'id' => 5,
            'name' => 'SAT',
            'logo' => 'assets/img/alevels/partner-7.png',
            'price' => 0,
            'price_range' => 'Month',
            'price_2' => null,
            'students' => 4,
            'lecture_room' => 1,
            'start_date' => '1st Jan. '. $year,
            'end_date' => '20th Oct. '. $year,
            'status' => 'Open',
            'apply_text' => 'Apply Now!',
            'apply_link' => $applylink,
            'image' => 'assets/img/programmes/4.jpg',
            'desc' => 'This is a test designed to measure a secondary school student’s reasoning skills. It is usually a requirement for some international universities, especially in the U.S. SAT measures mathematical and verbal reasoning skills, as well as critical writing skills.',
            'body_text' => $sat_file
        ),
        array(
            'id' => 6,
            'name' => 'IELTS',
            'logo' => 'assets/img/alevels/partner-6.png',
            'price' => 0,
            'price_range' => 'Month',
            'price_2' => null,
            'students' => 4,
            'lecture_room' => 1,
            'start_date' => '1st Jan. '. $year,
            'end_date' => '20th Dec. '. $year,
            'status' => 'Open',
            'apply_text' => 'Apply Now!',
            'apply_link' => $applylink,
            'image' => 'assets/img/programmes/4.jpg',
            'desc' => 'The International English Testing System (IELTS) is a professional English Language Examinations taken by intending migrants into English Speaking Countries. ',
            'body_text' => $eilts_file
        ),
        array(
            'id' => 7,
            'name' => 'Cambridge Examinations (Social Science)',
            'logo' => 'assets/img/alevels/partner-1.png',
            'price' => 0,
            'price_range' => 'Semester',
            'students' => 10,
            'lecture_room' => 1,
            'start_date' => '2nd March '. $year,
            'end_date' => '25th Sept. '. $year,
            'status' => 'Open',
            'apply_text' => 'Apply Now!',
            'apply_link' => $applylink,
            'image' => 'assets/img/programmes/1.jpg',
            'desc' => 'Our Cambridge A Level (GCE A-Level) is a One Year Program that allows a student secure admission directly into 200 Level in Universities in Nigeria and Abroad',
            'body_text' => $cambridge_file
        )
        );
       
    shuffle($programmes);
