<?php



$tdataSchools_Module = array();
$tdataSchools_Module[".searchableFields"] = array();
$tdataSchools_Module[".ShortName"] = "Schools_Module";
$tdataSchools_Module[".OwnerID"] = "";
$tdataSchools_Module[".OriginalTable"] = "applicform";


$defaultPages = my_json_decode( "{\"export\":\"export\",\"import\":\"import\",\"list\":\"list\",\"print\":\"print\",\"search\":\"search\"}" );

$tdataSchools_Module[".pagesByType"] = my_json_decode( "{\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"]}" );
$tdataSchools_Module[".pages"] = types2pages( my_json_decode( "{\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"]}" ) );
$tdataSchools_Module[".defaultPages"] = $defaultPages;

//	field labels
$fieldLabelsSchools_Module = array();
$fieldToolTipsSchools_Module = array();
$pageTitlesSchools_Module = array();
$placeHoldersSchools_Module = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsSchools_Module["English"] = array();
	$fieldToolTipsSchools_Module["English"] = array();
	$placeHoldersSchools_Module["English"] = array();
	$pageTitlesSchools_Module["English"] = array();
	$fieldLabelsSchools_Module["English"]["Surname"] = "Surname";
	$fieldToolTipsSchools_Module["English"]["Surname"] = "";
	$placeHoldersSchools_Module["English"]["Surname"] = "";
	$fieldLabelsSchools_Module["English"]["Gender"] = "Gender";
	$fieldToolTipsSchools_Module["English"]["Gender"] = "";
	$placeHoldersSchools_Module["English"]["Gender"] = "";
	$fieldLabelsSchools_Module["English"]["NewApplicant"] = "New Applicant";
	$fieldToolTipsSchools_Module["English"]["NewApplicant"] = "";
	$placeHoldersSchools_Module["English"]["NewApplicant"] = "";
	$fieldLabelsSchools_Module["English"]["JudgeComment"] = "Judge Comment";
	$fieldToolTipsSchools_Module["English"]["JudgeComment"] = "";
	$placeHoldersSchools_Module["English"]["JudgeComment"] = "";
	$fieldLabelsSchools_Module["English"]["Reapply"] = "Reapply";
	$fieldToolTipsSchools_Module["English"]["Reapply"] = "";
	$placeHoldersSchools_Module["English"]["Reapply"] = "";
	$fieldLabelsSchools_Module["English"]["FirstName"] = "First Name";
	$fieldToolTipsSchools_Module["English"]["FirstName"] = "";
	$placeHoldersSchools_Module["English"]["FirstName"] = "";
	$fieldLabelsSchools_Module["English"]["DateofBirth"] = "Dateof Birth";
	$fieldToolTipsSchools_Module["English"]["DateofBirth"] = "";
	$placeHoldersSchools_Module["English"]["DateofBirth"] = "";
	$fieldLabelsSchools_Module["English"]["EmailAddrssAppl"] = "Email Addrss Appl";
	$fieldToolTipsSchools_Module["English"]["EmailAddrssAppl"] = "";
	$placeHoldersSchools_Module["English"]["EmailAddrssAppl"] = "";
	$fieldLabelsSchools_Module["English"]["MobileNoAppl"] = "Mobile No Appl";
	$fieldToolTipsSchools_Module["English"]["MobileNoAppl"] = "";
	$placeHoldersSchools_Module["English"]["MobileNoAppl"] = "";
	$fieldLabelsSchools_Module["English"]["TertiaryInstitutionAdmitted"] = "Institution Admitted";
	$fieldToolTipsSchools_Module["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersSchools_Module["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsSchools_Module["English"]["MPGID"] = "MPGID";
	$fieldToolTipsSchools_Module["English"]["MPGID"] = "";
	$placeHoldersSchools_Module["English"]["MPGID"] = "";
	$fieldLabelsSchools_Module["English"]["1styear"] = "1styear";
	$fieldToolTipsSchools_Module["English"]["1styear"] = "";
	$placeHoldersSchools_Module["English"]["1styear"] = "";
	$fieldLabelsSchools_Module["English"]["Year2nd"] = "Year2nd";
	$fieldToolTipsSchools_Module["English"]["Year2nd"] = "";
	$placeHoldersSchools_Module["English"]["Year2nd"] = "";
	$fieldLabelsSchools_Module["English"]["Year3rd"] = "Year3rd";
	$fieldToolTipsSchools_Module["English"]["Year3rd"] = "";
	$placeHoldersSchools_Module["English"]["Year3rd"] = "";
	$fieldLabelsSchools_Module["English"]["Year4th"] = "Year4th";
	$fieldToolTipsSchools_Module["English"]["Year4th"] = "";
	$placeHoldersSchools_Module["English"]["Year4th"] = "";
	$fieldLabelsSchools_Module["English"]["Year5th"] = "Year5th";
	$fieldToolTipsSchools_Module["English"]["Year5th"] = "";
	$placeHoldersSchools_Module["English"]["Year5th"] = "";
	if (count($fieldToolTipsSchools_Module["English"]))
		$tdataSchools_Module[".isUseToolTips"] = true;
}


	$tdataSchools_Module[".NCSearch"] = true;



$tdataSchools_Module[".shortTableName"] = "Schools_Module";
$tdataSchools_Module[".nSecOptions"] = 0;

$tdataSchools_Module[".mainTableOwnerID"] = "";
$tdataSchools_Module[".entityType"] = 1;

$tdataSchools_Module[".strOriginalTableName"] = "applicform";

	



$tdataSchools_Module[".showAddInPopup"] = false;

$tdataSchools_Module[".showEditInPopup"] = false;

$tdataSchools_Module[".showViewInPopup"] = false;

//page's base css files names
$popupPagesLayoutNames = array();
$tdataSchools_Module[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


	$tdataSchools_Module[".listAjax"] = true;
//	temporary
$tdataSchools_Module[".listAjax"] = false;

	$tdataSchools_Module[".audit"] = false;

	$tdataSchools_Module[".locking"] = false;


$pages = $tdataSchools_Module[".defaultPages"];

if( $pages[PAGE_EDIT] ) {
	$tdataSchools_Module[".edit"] = true;
	$tdataSchools_Module[".afterEditAction"] = 1;
	$tdataSchools_Module[".closePopupAfterEdit"] = 1;
	$tdataSchools_Module[".afterEditActionDetTable"] = "";
}

if( $pages[PAGE_ADD] ) {
$tdataSchools_Module[".add"] = true;
$tdataSchools_Module[".afterAddAction"] = 1;
$tdataSchools_Module[".closePopupAfterAdd"] = 1;
$tdataSchools_Module[".afterAddActionDetTable"] = "";
}

if( $pages[PAGE_LIST] ) {
	$tdataSchools_Module[".list"] = true;
}

$tdataSchools_Module[".updateSelected"] = true;


$tdataSchools_Module[".strSortControlSettingsJSON"] = "";




if( $pages[PAGE_VIEW] ) {
$tdataSchools_Module[".view"] = true;
}

if( $pages[PAGE_IMPORT] ) {
$tdataSchools_Module[".import"] = true;
}

if( $pages[PAGE_EXPORT] ) {
$tdataSchools_Module[".exportTo"] = true;
}

if( $pages[PAGE_PRINT] ) {
$tdataSchools_Module[".printFriendly"] = true;
}



$tdataSchools_Module[".showSimpleSearchOptions"] = true; // temp fix #13449

// Allow Show/Hide Fields in GRID
$tdataSchools_Module[".allowShowHideFields"] = true; // temp fix #13449
//

// Allow Fields Reordering in GRID
$tdataSchools_Module[".allowFieldsReordering"] = true; // temp fix #13449
//

$tdataSchools_Module[".isUseAjaxSuggest"] = true;

$tdataSchools_Module[".rowHighlite"] = true;



						

$tdataSchools_Module[".ajaxCodeSnippetAdded"] = false;

$tdataSchools_Module[".buttonsAdded"] = false;

$tdataSchools_Module[".addPageEvents"] = false;

// use timepicker for search panel
$tdataSchools_Module[".isUseTimeForSearch"] = false;


$tdataSchools_Module[".badgeColor"] = "CD5C5C";


$tdataSchools_Module[".allSearchFields"] = array();
$tdataSchools_Module[".filterFields"] = array();
$tdataSchools_Module[".requiredSearchFields"] = array();

$tdataSchools_Module[".googleLikeFields"] = array();
$tdataSchools_Module[".googleLikeFields"][] = "MPGID";
$tdataSchools_Module[".googleLikeFields"][] = "Surname";
$tdataSchools_Module[".googleLikeFields"][] = "FirstName";
$tdataSchools_Module[".googleLikeFields"][] = "TertiaryInstitutionAdmitted";
$tdataSchools_Module[".googleLikeFields"][] = "Gender";
$tdataSchools_Module[".googleLikeFields"][] = "DateofBirth";
$tdataSchools_Module[".googleLikeFields"][] = "MobileNoAppl";
$tdataSchools_Module[".googleLikeFields"][] = "EmailAddrssAppl";
$tdataSchools_Module[".googleLikeFields"][] = "JudgeComment";
$tdataSchools_Module[".googleLikeFields"][] = "NewApplicant";
$tdataSchools_Module[".googleLikeFields"][] = "Reapply";
$tdataSchools_Module[".googleLikeFields"][] = "1styear";
$tdataSchools_Module[".googleLikeFields"][] = "Year2nd";
$tdataSchools_Module[".googleLikeFields"][] = "Year3rd";
$tdataSchools_Module[".googleLikeFields"][] = "Year4th";
$tdataSchools_Module[".googleLikeFields"][] = "Year5th";



$tdataSchools_Module[".tableType"] = "list";

$tdataSchools_Module[".printerPageOrientation"] = 0;
$tdataSchools_Module[".nPrinterPageScale"] = 100;

$tdataSchools_Module[".nPrinterSplitRecords"] = 40;

$tdataSchools_Module[".geocodingEnabled"] = false;




$tdataSchools_Module[".isDisplayLoading"] = true;

$tdataSchools_Module[".isResizeColumns"] = true;





$tdataSchools_Module[".pageSize"] = 20;

$tdataSchools_Module[".warnLeavingPages"] = true;



$tstrOrderBy = "ORDER BY TertiaryInstitutionAdmitted";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdataSchools_Module[".strOrderBy"] = $tstrOrderBy;

$tdataSchools_Module[".orderindexes"] = array();
	$tdataSchools_Module[".orderindexes"][] = array(4, (1 ? "ASC" : "DESC"), "TertiaryInstitutionAdmitted");


$tdataSchools_Module[".sqlHead"] = "SELECT MPGID,  Surname,  FirstName,  TertiaryInstitutionAdmitted,  Gender,  DateofBirth,  MobileNoAppl,  EmailAddrssAppl,  JudgeComment,  NewApplicant,  Reapply,  `1styear`,  Year2nd,  Year3rd,  Year4th,  Year5th";
$tdataSchools_Module[".sqlFrom"] = "FROM applicform";
$tdataSchools_Module[".sqlWhereExpr"] = "(TertiaryInstitutionAdmitted <> ' ') AND (NewApplicant IS TRUE) AND (approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)";
$tdataSchools_Module[".sqlTail"] = "";










//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataSchools_Module[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataSchools_Module[".arrGroupsPerPage"] = $arrGPP;


$tableKeysSchools_Module = array();
$tableKeysSchools_Module[] = "MPGID";
$tdataSchools_Module[".Keys"] = $tableKeysSchools_Module;


$tdataSchools_Module[".hideMobileList"] = array();




//	MPGID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "MPGID";
	$fdata["GoodName"] = "MPGID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","MPGID");
	$fdata["FieldType"] = 3;

	
		$fdata["AutoInc"] = true;

	
			

		$fdata["strField"] = "MPGID";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MPGID";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["MPGID"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "MPGID";
//	Surname
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "Surname";
	$fdata["GoodName"] = "Surname";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","Surname");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Surname";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Surname";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["Surname"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "Surname";
//	FirstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "FirstName";
	$fdata["GoodName"] = "FirstName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","FirstName");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "FirstName";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "FirstName";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["FirstName"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "FirstName";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","TertiaryInstitutionAdmitted");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "TertiaryInstitutionAdmitted";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "TertiaryInstitutionAdmitted";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["TertiaryInstitutionAdmitted"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	Gender
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "Gender";
	$fdata["GoodName"] = "Gender";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","Gender");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Gender";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Gender";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["Gender"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "Gender";
//	DateofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "DateofBirth";
	$fdata["GoodName"] = "DateofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","DateofBirth");
	$fdata["FieldType"] = 135;

	
	
	
			

		$fdata["strField"] = "DateofBirth";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "DateofBirth";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Short Date");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Date");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 13;
	$edata["InitialYearFactor"] = 47;
	$edata["LastYearFactor"] = 0;

	
	
	
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["DateofBirth"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "DateofBirth";
//	MobileNoAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "MobileNoAppl";
	$fdata["GoodName"] = "MobileNoAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","MobileNoAppl");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "MobileNoAppl";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "MobileNoAppl";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["MobileNoAppl"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "MobileNoAppl";
//	EmailAddrssAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "EmailAddrssAppl";
	$fdata["GoodName"] = "EmailAddrssAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","EmailAddrssAppl");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "EmailAddrssAppl";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "EmailAddrssAppl";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["EmailAddrssAppl"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "EmailAddrssAppl";
//	JudgeComment
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "JudgeComment";
	$fdata["GoodName"] = "JudgeComment";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","JudgeComment");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "JudgeComment";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "JudgeComment";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["JudgeComment"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "JudgeComment";
//	NewApplicant
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "NewApplicant";
	$fdata["GoodName"] = "NewApplicant";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","NewApplicant");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "NewApplicant";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "NewApplicant";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["NewApplicant"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "NewApplicant";
//	Reapply
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "Reapply";
	$fdata["GoodName"] = "Reapply";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","Reapply");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "Reapply";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Reapply";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 143;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

	// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 1;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["Reapply"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "Reapply";
//	1styear
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "1styear";
	$fdata["GoodName"] = "1styear";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","1styear");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "1styear";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`1styear`";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["1styear"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "1styear";
//	Year2nd
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "Year2nd";
	$fdata["GoodName"] = "Year2nd";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","Year2nd");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Year2nd";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Year2nd";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["Year2nd"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "Year2nd";
//	Year3rd
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "Year3rd";
	$fdata["GoodName"] = "Year3rd";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","Year3rd");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Year3rd";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Year3rd";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["Year3rd"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "Year3rd";
//	Year4th
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "Year4th";
	$fdata["GoodName"] = "Year4th";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","Year4th");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Year4th";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Year4th";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["Year4th"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "Year4th";
//	Year5th
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "Year5th";
	$fdata["GoodName"] = "Year5th";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Schools_Module","Year5th");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "Year5th";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "Year5th";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataSchools_Module["Year5th"] = $fdata;
		$tdataSchools_Module[".searchableFields"][] = "Year5th";


$tables_data["Schools Module"]=&$tdataSchools_Module;
$field_labels["Schools_Module"] = &$fieldLabelsSchools_Module;
$fieldToolTips["Schools_Module"] = &$fieldToolTipsSchools_Module;
$placeHolders["Schools_Module"] = &$placeHoldersSchools_Module;
$page_titles["Schools_Module"] = &$pageTitlesSchools_Module;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["Schools Module"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["Schools Module"] = array();



// -----------------end  prepare master-details data arrays ------------------------------//


require_once(getabspath("classes/sql.php"));










function createSqlQuery_Schools_Module()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "MPGID,  Surname,  FirstName,  TertiaryInstitutionAdmitted,  Gender,  DateofBirth,  MobileNoAppl,  EmailAddrssAppl,  JudgeComment,  NewApplicant,  Reapply,  `1styear`,  Year2nd,  Year3rd,  Year4th,  Year5th";
$proto0["m_strFrom"] = "FROM applicform";
$proto0["m_strWhere"] = "(TertiaryInstitutionAdmitted <> ' ') AND (NewApplicant IS TRUE) AND (approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)";
$proto0["m_strOrderBy"] = "ORDER BY TertiaryInstitutionAdmitted";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "(TertiaryInstitutionAdmitted <> ' ') AND (NewApplicant IS TRUE) AND (approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)";
$proto2["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(TertiaryInstitutionAdmitted <> ' ') AND (NewApplicant IS TRUE) AND (approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)"
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
						$proto4=array();
$proto4["m_sql"] = "TertiaryInstitutionAdmitted <> ' '";
$proto4["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
$proto4["m_strCase"] = "<> ' '";
$proto4["m_havingmode"] = false;
$proto4["m_inBrackets"] = true;
$proto4["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto4);

			$proto2["m_contained"][]=$obj;
						$proto6=array();
$proto6["m_sql"] = "NewApplicant IS TRUE";
$proto6["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto6["m_column"]=$obj;
$proto6["m_contained"] = array();
$proto6["m_strCase"] = "IS TRUE";
$proto6["m_havingmode"] = false;
$proto6["m_inBrackets"] = true;
$proto6["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto6);

			$proto2["m_contained"][]=$obj;
						$proto8=array();
$proto8["m_sql"] = "approved1 IS TRUE";
$proto8["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "approved1",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto8["m_column"]=$obj;
$proto8["m_contained"] = array();
$proto8["m_strCase"] = "IS TRUE";
$proto8["m_havingmode"] = false;
$proto8["m_inBrackets"] = true;
$proto8["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto8);

			$proto2["m_contained"][]=$obj;
						$proto10=array();
$proto10["m_sql"] = "approved2 IS TRUE";
$proto10["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "approved2",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto10["m_column"]=$obj;
$proto10["m_contained"] = array();
$proto10["m_strCase"] = "IS TRUE";
$proto10["m_havingmode"] = false;
$proto10["m_inBrackets"] = true;
$proto10["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto10);

			$proto2["m_contained"][]=$obj;
						$proto12=array();
$proto12["m_sql"] = "approved3 IS TRUE";
$proto12["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "approved3",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto12["m_column"]=$obj;
$proto12["m_contained"] = array();
$proto12["m_strCase"] = "IS TRUE";
$proto12["m_havingmode"] = false;
$proto12["m_inBrackets"] = true;
$proto12["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto12);

			$proto2["m_contained"][]=$obj;
$proto2["m_strCase"] = "";
$proto2["m_havingmode"] = false;
$proto2["m_inBrackets"] = false;
$proto2["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto2);

$proto0["m_where"] = $obj;
$proto14=array();
$proto14["m_sql"] = "";
$proto14["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto14["m_column"]=$obj;
$proto14["m_contained"] = array();
$proto14["m_strCase"] = "";
$proto14["m_havingmode"] = false;
$proto14["m_inBrackets"] = false;
$proto14["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto14);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto16=array();
			$obj = new SQLField(array(
	"m_strName" => "MPGID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto16["m_sql"] = "MPGID";
$proto16["m_srcTableName"] = "Schools Module";
$proto16["m_expr"]=$obj;
$proto16["m_alias"] = "";
$obj = new SQLFieldListItem($proto16);

$proto0["m_fieldlist"][]=$obj;
						$proto18=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto18["m_sql"] = "Surname";
$proto18["m_srcTableName"] = "Schools Module";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "";
$obj = new SQLFieldListItem($proto18);

$proto0["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLField(array(
	"m_strName" => "FirstName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto20["m_sql"] = "FirstName";
$proto20["m_srcTableName"] = "Schools Module";
$proto20["m_expr"]=$obj;
$proto20["m_alias"] = "";
$obj = new SQLFieldListItem($proto20);

$proto0["m_fieldlist"][]=$obj;
						$proto22=array();
			$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto22["m_sql"] = "TertiaryInstitutionAdmitted";
$proto22["m_srcTableName"] = "Schools Module";
$proto22["m_expr"]=$obj;
$proto22["m_alias"] = "";
$obj = new SQLFieldListItem($proto22);

$proto0["m_fieldlist"][]=$obj;
						$proto24=array();
			$obj = new SQLField(array(
	"m_strName" => "Gender",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto24["m_sql"] = "Gender";
$proto24["m_srcTableName"] = "Schools Module";
$proto24["m_expr"]=$obj;
$proto24["m_alias"] = "";
$obj = new SQLFieldListItem($proto24);

$proto0["m_fieldlist"][]=$obj;
						$proto26=array();
			$obj = new SQLField(array(
	"m_strName" => "DateofBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto26["m_sql"] = "DateofBirth";
$proto26["m_srcTableName"] = "Schools Module";
$proto26["m_expr"]=$obj;
$proto26["m_alias"] = "";
$obj = new SQLFieldListItem($proto26);

$proto0["m_fieldlist"][]=$obj;
						$proto28=array();
			$obj = new SQLField(array(
	"m_strName" => "MobileNoAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto28["m_sql"] = "MobileNoAppl";
$proto28["m_srcTableName"] = "Schools Module";
$proto28["m_expr"]=$obj;
$proto28["m_alias"] = "";
$obj = new SQLFieldListItem($proto28);

$proto0["m_fieldlist"][]=$obj;
						$proto30=array();
			$obj = new SQLField(array(
	"m_strName" => "EmailAddrssAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto30["m_sql"] = "EmailAddrssAppl";
$proto30["m_srcTableName"] = "Schools Module";
$proto30["m_expr"]=$obj;
$proto30["m_alias"] = "";
$obj = new SQLFieldListItem($proto30);

$proto0["m_fieldlist"][]=$obj;
						$proto32=array();
			$obj = new SQLField(array(
	"m_strName" => "JudgeComment",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto32["m_sql"] = "JudgeComment";
$proto32["m_srcTableName"] = "Schools Module";
$proto32["m_expr"]=$obj;
$proto32["m_alias"] = "";
$obj = new SQLFieldListItem($proto32);

$proto0["m_fieldlist"][]=$obj;
						$proto34=array();
			$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto34["m_sql"] = "NewApplicant";
$proto34["m_srcTableName"] = "Schools Module";
$proto34["m_expr"]=$obj;
$proto34["m_alias"] = "";
$obj = new SQLFieldListItem($proto34);

$proto0["m_fieldlist"][]=$obj;
						$proto36=array();
			$obj = new SQLField(array(
	"m_strName" => "Reapply",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto36["m_sql"] = "Reapply";
$proto36["m_srcTableName"] = "Schools Module";
$proto36["m_expr"]=$obj;
$proto36["m_alias"] = "";
$obj = new SQLFieldListItem($proto36);

$proto0["m_fieldlist"][]=$obj;
						$proto38=array();
			$obj = new SQLField(array(
	"m_strName" => "1styear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto38["m_sql"] = "`1styear`";
$proto38["m_srcTableName"] = "Schools Module";
$proto38["m_expr"]=$obj;
$proto38["m_alias"] = "";
$obj = new SQLFieldListItem($proto38);

$proto0["m_fieldlist"][]=$obj;
						$proto40=array();
			$obj = new SQLField(array(
	"m_strName" => "Year2nd",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto40["m_sql"] = "Year2nd";
$proto40["m_srcTableName"] = "Schools Module";
$proto40["m_expr"]=$obj;
$proto40["m_alias"] = "";
$obj = new SQLFieldListItem($proto40);

$proto0["m_fieldlist"][]=$obj;
						$proto42=array();
			$obj = new SQLField(array(
	"m_strName" => "Year3rd",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto42["m_sql"] = "Year3rd";
$proto42["m_srcTableName"] = "Schools Module";
$proto42["m_expr"]=$obj;
$proto42["m_alias"] = "";
$obj = new SQLFieldListItem($proto42);

$proto0["m_fieldlist"][]=$obj;
						$proto44=array();
			$obj = new SQLField(array(
	"m_strName" => "Year4th",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto44["m_sql"] = "Year4th";
$proto44["m_srcTableName"] = "Schools Module";
$proto44["m_expr"]=$obj;
$proto44["m_alias"] = "";
$obj = new SQLFieldListItem($proto44);

$proto0["m_fieldlist"][]=$obj;
						$proto46=array();
			$obj = new SQLField(array(
	"m_strName" => "Year5th",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto46["m_sql"] = "Year5th";
$proto46["m_srcTableName"] = "Schools Module";
$proto46["m_expr"]=$obj;
$proto46["m_alias"] = "";
$obj = new SQLFieldListItem($proto46);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto48=array();
$proto48["m_link"] = "SQLL_MAIN";
			$proto49=array();
$proto49["m_strName"] = "applicform";
$proto49["m_srcTableName"] = "Schools Module";
$proto49["m_columns"] = array();
$proto49["m_columns"][] = "MPGID";
$proto49["m_columns"][] = "StudentSchoolID";
$proto49["m_columns"][] = "Surname";
$proto49["m_columns"][] = "FirstName";
$proto49["m_columns"][] = "Photo";
$proto49["m_columns"][] = "Gender";
$proto49["m_columns"][] = "DateofBirth";
$proto49["m_columns"][] = "PlaceofBirth";
$proto49["m_columns"][] = "DistrictOfBirth";
$proto49["m_columns"][] = "ProvinceOfBirth";
$proto49["m_columns"][] = "FatherVillage";
$proto49["m_columns"][] = "FatherLLG";
$proto49["m_columns"][] = "FatherDistrict";
$proto49["m_columns"][] = "FATHERJOB";
$proto49["m_columns"][] = "FATHERSNAME";
$proto49["m_columns"][] = "FATHERSURNAME";
$proto49["m_columns"][] = "FATHERPROV";
$proto49["m_columns"][] = "MOTHERJOB";
$proto49["m_columns"][] = "MOTHERNAME";
$proto49["m_columns"][] = "MOTHERSURNAME";
$proto49["m_columns"][] = "MOTHERNATIONAL";
$proto49["m_columns"][] = "FATHERNATIONAL";
$proto49["m_columns"][] = "FATHERCLAN";
$proto49["m_columns"][] = "MOTHERCLAN";
$proto49["m_columns"][] = "MOTHERRELIGION";
$proto49["m_columns"][] = "FATHERRELIGION";
$proto49["m_columns"][] = "FATHERBIRTHPLACE";
$proto49["m_columns"][] = "MOTHERBIRTHPLACE";
$proto49["m_columns"][] = "MotherVillage";
$proto49["m_columns"][] = "MotherLLG";
$proto49["m_columns"][] = "MotherDistrict";
$proto49["m_columns"][] = "MOTHERPROV";
$proto49["m_columns"][] = "LastInstitutuonAttended";
$proto49["m_columns"][] = "HighestGradeCompleted";
$proto49["m_columns"][] = "YearHighestGradeCompleted";
$proto49["m_columns"][] = "TertiaryInstitutionAdmitted";
$proto49["m_columns"][] = "ProgramName";
$proto49["m_columns"][] = "ProgramCode";
$proto49["m_columns"][] = "WitnessName";
$proto49["m_columns"][] = "WitnessOccupation";
$proto49["m_columns"][] = "WitnessAddress";
$proto49["m_columns"][] = "1styear";
$proto49["m_columns"][] = "1styearTesas";
$proto49["m_columns"][] = "1styearFee";
$proto49["m_columns"][] = "Paid1stYearFee";
$proto49["m_columns"][] = "Repeat1stYear";
$proto49["m_columns"][] = "Repeat1stTESAS";
$proto49["m_columns"][] = "Repeatd1stYearFee";
$proto49["m_columns"][] = "Paid1stYrRepeatFee";
$proto49["m_columns"][] = "Passd1stYear";
$proto49["m_columns"][] = "sem1year1";
$proto49["m_columns"][] = "Year2nd";
$proto49["m_columns"][] = "TESAS2ndYear";
$proto49["m_columns"][] = "Fee2ndYear";
$proto49["m_columns"][] = "Paid2ndYearFee";
$proto49["m_columns"][] = "Repeated2ndYear";
$proto49["m_columns"][] = "Repeat2ndYrTESAS";
$proto49["m_columns"][] = "Repeat2ndYearFee";
$proto49["m_columns"][] = "Paid2ndYrRepeatFee";
$proto49["m_columns"][] = "Passd2ndYear";
$proto49["m_columns"][] = "sem1year2";
$proto49["m_columns"][] = "Year3rd";
$proto49["m_columns"][] = "TESAS3rdYear";
$proto49["m_columns"][] = "Fee3rdYear";
$proto49["m_columns"][] = "Paid3rdYrFee";
$proto49["m_columns"][] = "Repeatd3rdYear";
$proto49["m_columns"][] = "Repeat3rdYrTESAS";
$proto49["m_columns"][] = "Repeatd3rdYrFee";
$proto49["m_columns"][] = "Paid3rdYrRepeatFee";
$proto49["m_columns"][] = "Passd3rdYear";
$proto49["m_columns"][] = "sem1year3";
$proto49["m_columns"][] = "Year4th";
$proto49["m_columns"][] = "TESAS4thYear";
$proto49["m_columns"][] = "Fee4thYear";
$proto49["m_columns"][] = "Paid4thYearFee";
$proto49["m_columns"][] = "Repeated4thYear";
$proto49["m_columns"][] = "Repeath4thYrTESAS";
$proto49["m_columns"][] = "Repeat4thYrFee";
$proto49["m_columns"][] = "Paid4thYrRepeatFee";
$proto49["m_columns"][] = "Passd4thYear";
$proto49["m_columns"][] = "sem1year4";
$proto49["m_columns"][] = "Year5th";
$proto49["m_columns"][] = "TESAS5thYear";
$proto49["m_columns"][] = "Fee5thYear";
$proto49["m_columns"][] = "Paid5thYearFee";
$proto49["m_columns"][] = "Repeat5thYear";
$proto49["m_columns"][] = "Repeat5thYrTESAS";
$proto49["m_columns"][] = "Repeat5thYrFEE";
$proto49["m_columns"][] = "Paid5thYrRepeatFee";
$proto49["m_columns"][] = "Passdd5thYr";
$proto49["m_columns"][] = "sem1year5";
$proto49["m_columns"][] = "Graduated";
$proto49["m_columns"][] = "YearGraduated";
$proto49["m_columns"][] = "PostingtoSchool";
$proto49["m_columns"][] = "PostingsLLG";
$proto49["m_columns"][] = "ScholarshipType";
$proto49["m_columns"][] = "Comments";
$proto49["m_columns"][] = "NewApplicant";
$proto49["m_columns"][] = "Judge1Comment";
$proto49["m_columns"][] = "Reapply";
$proto49["m_columns"][] = "EmailAddrssAppl";
$proto49["m_columns"][] = "MobileNoAppl";
$proto49["m_columns"][] = "GPA";
$proto49["m_columns"][] = "approved1";
$proto49["m_columns"][] = "approved2";
$proto49["m_columns"][] = "approved3";
$proto49["m_columns"][] = "Judge2Comment";
$proto49["m_columns"][] = "Judge3Comment";
$proto49["m_columns"][] = "JudgeComment";
$proto49["m_columns"][] = "Lat";
$proto49["m_columns"][] = "Lng";
$proto49["m_columns"][] = "Documents";
$proto49["m_columns"][] = "judge1id";
$proto49["m_columns"][] = "judee2id";
$proto49["m_columns"][] = "judge3id";
$proto49["m_columns"][] = "username";
$proto49["m_columns"][] = "transcripts";
$proto49["m_columns"][] = "acceptletter";
$proto49["m_columns"][] = "gradetencert";
$proto49["m_columns"][] = "grade12cert";
$proto49["m_columns"][] = "natid";
$proto49["m_columns"][] = "sem2year1";
$proto49["m_columns"][] = "sem2year2";
$proto49["m_columns"][] = "sem2year3";
$proto49["m_columns"][] = "sem2year4";
$proto49["m_columns"][] = "sem2year5";
$proto49["m_columns"][] = "y1housingtype";
$proto49["m_columns"][] = "y2housingtype";
$proto49["m_columns"][] = "y3housingtype";
$proto49["m_columns"][] = "y4housingtype";
$proto49["m_columns"][] = "y5housingtype";
$proto49["m_columns"][] = "comment1";
$proto49["m_columns"][] = "comment2";
$proto49["m_columns"][] = "comment3";
$proto49["m_columns"][] = "comment4";
$proto49["m_columns"][] = "comment5";
$proto49["m_columns"][] = "assessed";
$proto49["m_columns"][] = "assessed1";
$proto49["m_columns"][] = "assessed2";
$proto49["m_columns"][] = "assessed3";
$proto49["m_columns"][] = "assessed4";
$proto49["m_columns"][] = "assessed5";
$proto49["m_columns"][] = "parentsnowliving";
$proto49["m_columns"][] = "active";
$proto49["m_columns"][] = "reset_token";
$proto49["m_columns"][] = "reset_date";
$obj = new SQLTable($proto49);

$proto48["m_table"] = $obj;
$proto48["m_sql"] = "applicform";
$proto48["m_alias"] = "";
$proto48["m_srcTableName"] = "Schools Module";
$proto50=array();
$proto50["m_sql"] = "";
$proto50["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto50["m_column"]=$obj;
$proto50["m_contained"] = array();
$proto50["m_strCase"] = "";
$proto50["m_havingmode"] = false;
$proto50["m_inBrackets"] = false;
$proto50["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto50);

$proto48["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto48);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
												$proto52=array();
						$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Schools Module"
));

$proto52["m_column"]=$obj;
$proto52["m_bAsc"] = 1;
$proto52["m_nColumn"] = 0;
$obj = new SQLOrderByItem($proto52);

$proto0["m_orderby"][]=$obj;					
$proto0["m_srcTableName"]="Schools Module";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_Schools_Module = createSqlQuery_Schools_Module();


	
		;

																

$tdataSchools_Module[".sqlquery"] = $queryData_Schools_Module;

$tableEvents["Schools Module"] = new eventsBase;
$tdataSchools_Module[".hasEvents"] = false;

?>