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 : /nginx/html/Scheduler/admin/parse/ |
Upload File : |
<? // admin/parse/parseProcess_classmeeting_instructors.phpinc // BEGIN Process classmeeting Instructors. #d_Var("\$thisClassmeeting['INSTRUCTOR']",$thisClassmeeting['INSTRUCTOR'],'d'); $instructorName = $thisClassmeeting['INSTRUCTOR']; $instructorNameExplode = explode(',',$instructorName); $instructorLastname = trim($instructorNameExplode[0]); if ( $instructorLastname != '' && $instructorLastname != 'Staff' ) { // Is there a valid instructor name? if ( isset($instructorNameExplode[1]) ) { // Get first name. $instructorFirstname = trim($instructorNameExplode[1]); } else { // The lastname is actually a first name and there is no last name. $instructorFirstname = $instructorLastname; $instructorLastname = ''; } if ( !isset($instructor[$instructorFirstname.$instructorLastname]) ) { // Do we not know the instructorId for this instructor? // No we do not know, so get instructor Id. require('parseProcess_Get_instructorId.phpinc'); $instructor[$instructorFirstname.$instructorLastname] = $instructorId; // Store in array so we do not have to SELECT again for this instructor. d_Var('The instructorId for '.$instructorFirstname.' '.$instructorLastname, $instructorId,''); } else { // Do we not know the instructorId for this instructor? // Yes. $instructorId = $instructor[$instructorFirstname.$instructorLastname]; d_Var('The instructorId for '.$instructorFirstname.' '.$instructorLastname, $instructorId,''); } // Do we not know the instructorId for this instructor? // INSERT classmeetinginstructor. #d_Var('$thisClassmeeting',$thisClassmeeting,'d'); #d_Var('$instructorId',$instructorId,'d'); $query = " INSERT INTO `classmeetinginstructor` ( classmeetingId , userId ) VALUES ( ".$thisClassmeeting['classmeetingId']." , ".$instructorId." ) "; d_Var('classmeetinginstructorINSERT',$query,'q'); $classmeetinginstructorINSERT = query_do($query); d_Var('$classmeetinginstructorINSERT',$classmeetinginstructorINSERT,'l'); } // Is there a valid instructor name? ?>