'; } include_once('../classes/crc_profile.cls.php'); ?> '; ?>




'); } $data = $_SESSION['teacherscheduledata']; print $_SESSION['name'] . ','; print '

'; if (count($data) > 0) { print '  These are your courses, if any. Please note that courses mentioned are forcasts and may '; print 'change upon teacher and student availability.'; print '
  By clicking on the students number you will be able to mark the attendance for the current date.'; print '
  By clicking on the course name you will be able to see course statistics (attendance, course feedback).'; print '

'; print '
0) { print('

' . $_SESSION['msg'] . '
'; print ''; print ' '; print ' '; print ' '; print ' '; print ' '; print ' '; print ' '; print ''; for ($i=0; $i < count($data); $i++) { print ''; print ''; print ''; print ''; print ''; print ''; if ($data[$i][9] == 0) { print ''; } else { if (strtolower($data[$i][5]) == "in progress") { print ''; } else { print ''; } } print ''; print ''; } print '
Course NameStart DateEnd DateDay [Time]RoomStudentsStatus
' . $data[$i][0] . '' . $data[$i][1] . '' . $data[$i][2] . '' . $data[$i][3] . '' . $data[$i][8] . '0' . $data[$i][9] . '' . $data[$i][9] . '' . $data[$i][5] . '
'; } else { $profile = new crc_profile(false); $profile->fn_getprofile("admin"); print '
  Sorry there are no courses assigned to you at this time. Please contact '; print 'the m_data[5] . '>administrator if you require assistance.
'; } print '

'; print ' FreeSMS Team'; print '

'; print '