0) {
print(' |
' . $_SESSION['msg'] . '
|
');
}
$data = $_SESSION['teacherscheduledata'];
print $_SESSION['name'] . ',';
print '';
print 'Here you will find the class information for your the term 2003.';
print 'Please note that courses mentioned are forcasts and may ';
print 'change upon student availability.';
print '
';
if (count($data) > 0) {
print '
';
//print '';
print '';
print ' Course Name | ';
print ' Start Date | ';
print ' End Date | ';
print ' Day [Time] | ';
print ' Room | ';
print ' Students | ';
print ' Status | ';
print '
';
for ($i=0; $i < count($data); $i++) {
print '';
print '' . $data[$i][1] . ' | ';
print '' . $data[$i][2] . ' | ';
print '' . $data[$i][3] . ' | ';
print '' . $data[$i][4] . ' | ';
if ($data[$i][7] == 1) {
print 'TALIM | ';
} else if ($data[$i][7] == 2) {
print 'IRSHAD | ';
} else {
print 'TBA | ';
}
if ($data[$i][9] == 0) {
print '0 | ';
} else {
print '' . $data[$i][9] . ' | ';
}
print '' . $data[$i][8] . ' | ';
print '
';
}
print '
';
} else {
print 'Sorry there are no courses assigned to you at this time. Please contact ';
print 'the CRC Manager in charge if you require further information. |
';
}
print '';
print ' FreeSMS Team (Team DM)';
print '
';
print '';
?>