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/Scheduler/Schedule/ScheduleClass/ScheduleClassUpdate/ |
Upload File : |
<? // Schedule/ScheduleClass/ScheduleClassUpdate/VerifyMeeting.phpinc // included_file_purpose t_Begin(d_O()); // Begin TRACKing included_file. // Define variables. $error = array(); $idPrefixes = array('chk','id','inp','rad','sel','txt'); f('id'); f('value'); f('value'); f('replaceValue'); d_V(); // Get form element name from the id. $idParts = explode('_',$f['id']); if ( isset($idParts[1]) ) { $formElementName = $idParts[1]; } else { $formElementName = NULL; } // Create the return variable. $return = array(); $return['id'] = $f['id']; $return['name'] = $formElementName; $return['value'] = $f['value']; $return['replaceValue'] = $f['replaceValue']; d_Var('$return',$return); // Check id for needed parts if ( !in_array($idParts[0],$idPrefixes) ) { // Is this a valid id prefix? // Error: id is in an incorrect form. $error['js'] = 'The id is in an incorrect form.'; } elseif ( !isset($idParts[1]) ) { // Is there no name part to the id? // Error: there is no name part to the id. $error['js'] = 'The id does not have a field name part.'; } elseif (!file_exists($_SESSION['ROOT']['directory'].'/Schedule/ScheduleClass/Verify/'.$formElementName.'.phpinc')) { // Is there NOT a verification file for this element? $error['js'] = 'The id ['.$formElementName.'] has no verification php programming.'; } else { // All is OK. $f[$formElementName] = $f['value']; // Put value in $f array as if it had been sent by the form. require('Schedule/ScheduleClass/Verify/'.$formElementName.'.phpinc'); // Call the verification file for this element. } d_Var('$return',$return); f($formElementName); #d_Var("\$f[$formElementName]",$f[$formElementName]); if ( !count($error) ) { $return['error'] = false; } else { // There are error(s). There should be only one but return all. $return['error'] = ''; foreach ( $error as $thisError ) { d_Var('$thisError',$thisError); $return['error'] = listAppend($return['error'],str_replace(array('"','''),array('"',"'"),$thisError),'|');//str_replace('"','\\"',$thisError),'|');//str_replace("'","\\'", " ' } } d_Var('$return',$return); $returnJSON = json_encode($return); echo $returnJSON; #require('Schedule/ScheduleClass/ScheduleClassForm_Verify.phpinc'); // Verify all! #d_On('foot'); t_End(); // End TRACKing included_file. ?>