GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
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/StudentProfile/ |
Upload File : |
<? // StudentProfile/StudentProfileView.phpinc if ($TRACK != '') $_SESSION['TRACK'] .= "<li><b>".basename(__FILE__)."</b> (".__FILE__.")<ol>\n"; if (dc()) echo "<b>",basename(__FILE__),"</b>: ",__FILE__."<br>\n"; #setDebugOn(); $skipAuthentication = false; // Get classId. $f_classId = formValue('classId'); // Get userId. if ( !isset($f_userId) || !$f_userId) { $f_userId = formValue('userId'); } if ( !$f_userId ) { $f_userId = $_SESSION['userId']; } // Get userStudentId. $f_userStudentId = ''; #printVar('$f_userId',$f_userId); if ( $f_userId != '' ) { $query = " SELECT user.*, userdata.userAdvisor, userdata.userClassification, userdata.userMajor FROM user LEFT JOIN userdata ON user.userStudentId = userdata.userStudentId WHERE userId = ".$f_userId." "; $userResult = query_do($query); $userCount = $_SESSION['qry']['count']; #printVar('$userCount',$userCount); if ($userCount) { $userRow = mysqli_fetch_assoc($userResult); $f_userStudentId = $userRow['userStudentId']; } #printVar('$userRow',$userRow); // Get studentprofile. $query = " SELECT * FROM studentprofile WHERE userId = ".$f_userId." ORDER BY lastModified DESC "; $studentprofileResult = query_do($query); $studentprofileCount = $_SESSION['qry']['count']; if ($studentprofileCount) { // Display the current Student Profile. mysqli_data_seek($studentprofileResult, 0); while ($studentprofileRow = mysqli_fetch_assoc($studentprofileResult)) { if ($f_subtask == 'Save') { $f_subtask = ''; } $sectionTitle = $f_subtask." Student Profile"; if ($studentprofileCount > 1) { $sectionTitle .= ' ('.$studentprofileCount.' profiles)'; } if ( isset($IsADMIN) && $IsADMIN ) { $sectionTitle .= '<div style="float:right;"><a href="List/">List</a></div>'; } include('common/sectionHeader.phpinc'); $f_studentprofileId = $studentprofileRow['studentprofileId']; $f_studentprofileImage = $studentprofileRow['studentprofileImage']; $f_studentprofileCredential = '<br>'.trim($studentprofileRow['studentprofileCredential']); if ($f_studentprofileCredential == '<br>') $f_studentprofileCredential = ''; $f_studentprofilePast = '<br>'.str_replace("\n","<br>",trim($studentprofileRow['studentprofilePast'])); if ($f_studentprofilePast == '<br>') $f_studentprofilePast = ''; $f_studentprofileFuture = '<br>'.str_replace("\n","<br>",trim($studentprofileRow['studentprofileFuture'])); if ($f_studentprofileFuture == '<br>') $f_studentprofileFuture = ''; $f_studentprofileSubmitted = $studentprofileRow['studentprofileSubmitted']; $f_studentprofileEmail1 = $studentprofileRow['studentprofileEmail1']; $f_studentprofileEmail2 = $studentprofileRow['studentprofileEmail2']; $f_studentprofilePhone1 = $studentprofileRow['studentprofilePhone1']; $f_studentprofilePhone2 = $studentprofileRow['studentprofilePhone2']; $f_studentprofilePhoneType1 = $studentprofileRow['studentprofilePhoneType1']; $f_studentprofilePhoneType2 = $studentprofileRow['studentprofilePhoneType2']; $f_studentprofileGrade = $studentprofileRow['studentprofileGrade']; $f_studentprofileGraded = $studentprofileRow['studentprofileGraded']; $f_studentprofileComment = $studentprofileRow['studentprofileComment']; $f_studentprofileInternalComment = $studentprofileRow['studentprofileInternalComment']; $f_studentprofilePrimaryCampus = $studentprofileRow['studentprofilePrimaryCampus']; $f_studentprofile_lastModified = $studentprofileRow['lastModified']; if (!isset($f_HTTP_REFERER)) { if (isset($_SERVER['HTTP_REFERER'])) { $f_HTTP_REFERER = $_SERVER['HTTP_REFERER']; } else { $f_HTTP_REFERER = ""; } } include('StudentProfile/StudentProfileViewForm.phpinc'); } } else { // There is no current Student Profile. $f_studentprofileId = 0; $f_studentprofileImage = ''; $f_studentprofileCredential = ''; $f_studentprofilePast = ''; $f_studentprofileFuture = ''; $f_studentprofileSubmitted = 0; $f_studentprofileEmail1 = ''; $f_studentprofileEmail2 = ''; $f_studentprofilePhone1 = ''; $f_studentprofilePhone2 = ''; $f_studentprofilePhoneType1 = ''; $f_studentprofilePhoneType2 = ''; $f_studentprofilePrimaryCampus = ''; $f_studentprofileGrade = ''; $f_studentprofileGraded = 0; $f_studentprofileComment = ''; $f_studentprofileInternalComment = ''; $f_studentprofile_lastModified = ''; include('StudentProfile/StudentProfileViewForm.phpinc'); } } else { #setDebugOn(); } debugTrackEnd(); include('common/sectionFooter.phpinc');