~zalongwa/saris-mnma/trunk

« back to all changes in this revision

Viewing changes to academic/includes/showexamresults.php

  • Committer: Charles Bundu
  • Date: 2016-08-18 06:35:25 UTC
  • Revision ID: rwige1@gmail.com-20160818063525-7wh87qmf1uisy4cq
Updated students results view

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
                                                  WHERE (examresult.RegNo='$key') AND (examresult.AYear = '$currentyear') AND
82
82
                                                                (examresult.Semester = '$currentsemester') AND  (examresult.Checked='1') 
83
83
                                                  ORDER BY examresult.AYear DESC, examresult.Semester ASC";
 
84
                                $getdue=1;
84
85
                                }
85
86
                                
86
87
                        else{
95
96
                                }
96
97
                        
97
98
                        //results blocking
98
 
                        if($getdue != '0'){
 
99
                        if($getdue != '0' && !empty($remarkDescription)){
99
100
                                echo "<tr><td colspan='6' bgcolor='#ff0000' scope='col'><b>Your Results for the academic year $currentyear - $currentsemester <br/> Overall Remark is $remarkDescription</b></td></tr>";
100
101
                                }
101
102
                                
256
257
                        } //ends while rowsemester
257
258
                
258
259
                
259
 
                if($semstr=='Semester II' && ($getdue == '0' || $inst == md5(1))){
 
260
                if($semstr=='Semester II' && ($getdue == '0' || $inst == md5(0))){
260
261
                        $gpa = @substr($gpa_tracker[$currentyear]['points']/$gpa_tracker[$currentyear]['units'], 0,3);
261
262
                        
262
263
                        if($currentyear>'2012/2013'){