<?php



$tdatafeecomponentsnewapplic2017 = array();
$tdatafeecomponentsnewapplic2017[".searchableFields"] = array();
$tdatafeecomponentsnewapplic2017[".ShortName"] = "feecomponentsnewapplic2017";
$tdatafeecomponentsnewapplic2017[".OwnerID"] = "";
$tdatafeecomponentsnewapplic2017[".OriginalTable"] = "applicform";


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

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

//	field labels
$fieldLabelsfeecomponentsnewapplic2017 = array();
$fieldToolTipsfeecomponentsnewapplic2017 = array();
$pageTitlesfeecomponentsnewapplic2017 = array();
$placeHoldersfeecomponentsnewapplic2017 = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsfeecomponentsnewapplic2017["English"] = array();
	$fieldToolTipsfeecomponentsnewapplic2017["English"] = array();
	$placeHoldersfeecomponentsnewapplic2017["English"] = array();
	$pageTitlesfeecomponentsnewapplic2017["English"] = array();
	$fieldLabelsfeecomponentsnewapplic2017["English"]["Surname"] = "Surname:";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["Surname"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["Surname"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["FirstName"] = "Full Name:";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["FirstName"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["FirstName"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["Gender"] = "Gender";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["Gender"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["Gender"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["FatherDistrict"] = "District";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["FatherDistrict"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["FatherDistrict"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["TertiaryInstitutionAdmitted"] = "Tertiary Institution Admitted";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["ProgramName"] = "Program Name";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["ProgramName"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["ProgramName"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["NewApplicant"] = "New Applicant";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["NewApplicant"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["NewApplicant"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["Reapply"] = "Reapply";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["Reapply"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["Reapply"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["EmailAddrssAppl"] = "Email Addrss Appl";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["EmailAddrssAppl"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["EmailAddrssAppl"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["MobileNoAppl"] = "Mobile No Appl";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["MobileNoAppl"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["MobileNoAppl"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["Judge1Comment"] = "Judge1Comment";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["Judge1Comment"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["Judge1Comment"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["FATHERSNAME"] = "Father's Name";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["FATHERSNAME"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["FATHERSNAME"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["MPGID"] = "MPGID";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["MPGID"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["MPGID"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["FATHERSURNAME"] = "Father's Surname";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["FATHERSURNAME"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["FATHERSURNAME"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["1styear"] = "1styear";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["1styear"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["1styear"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["assessed"] = "Assessed";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["assessed"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["assessed"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["sem2year1"] = "Sem2year1";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["sem2year1"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["sem2year1"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["sem2year2"] = "Sem2year2";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["sem2year2"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["sem2year2"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["sem1year2"] = "Sem1year2";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["sem1year2"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["sem1year2"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["Year2nd"] = "Year2nd";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["Year2nd"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["Year2nd"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["sem1year1"] = "Sem1year1";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["sem1year1"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["sem1year1"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["Fee2ndYear"] = "Fee2nd Year";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["Fee2ndYear"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["Fee2ndYear"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["1styearFee"] = "1styear Fee";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["1styearFee"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["1styearFee"] = "";
	$fieldLabelsfeecomponentsnewapplic2017["English"]["ProgramCode"] = "Program Code";
	$fieldToolTipsfeecomponentsnewapplic2017["English"]["ProgramCode"] = "";
	$placeHoldersfeecomponentsnewapplic2017["English"]["ProgramCode"] = "";
	if (count($fieldToolTipsfeecomponentsnewapplic2017["English"]))
		$tdatafeecomponentsnewapplic2017[".isUseToolTips"] = true;
}


	$tdatafeecomponentsnewapplic2017[".NCSearch"] = true;



$tdatafeecomponentsnewapplic2017[".shortTableName"] = "feecomponentsnewapplic2017";
$tdatafeecomponentsnewapplic2017[".nSecOptions"] = 0;

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

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

	



$tdatafeecomponentsnewapplic2017[".showAddInPopup"] = true;

$tdatafeecomponentsnewapplic2017[".showEditInPopup"] = true;

$tdatafeecomponentsnewapplic2017[".showViewInPopup"] = true;

//page's base css files names
$popupPagesLayoutNames = array();
					
;
$popupPagesLayoutNames["add"] = "add";
			;
$popupPagesLayoutNames["edit"] = "add";
			;
$popupPagesLayoutNames["view"] = "add";
$tdatafeecomponentsnewapplic2017[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


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

	$tdatafeecomponentsnewapplic2017[".audit"] = false;

	$tdatafeecomponentsnewapplic2017[".locking"] = false;


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

if( $pages[PAGE_EDIT] ) {
	$tdatafeecomponentsnewapplic2017[".edit"] = true;
	$tdatafeecomponentsnewapplic2017[".afterEditAction"] = 2;
	$tdatafeecomponentsnewapplic2017[".closePopupAfterEdit"] = 1;
	$tdatafeecomponentsnewapplic2017[".afterEditActionDetTable"] = "Detail tables not found!";
}

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

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

$tdatafeecomponentsnewapplic2017[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdatafeecomponentsnewapplic2017[".isUseAjaxSuggest"] = true;

$tdatafeecomponentsnewapplic2017[".rowHighlite"] = true;



						

$tdatafeecomponentsnewapplic2017[".ajaxCodeSnippetAdded"] = false;

$tdatafeecomponentsnewapplic2017[".buttonsAdded"] = false;

$tdatafeecomponentsnewapplic2017[".addPageEvents"] = false;

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




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

$tdatafeecomponentsnewapplic2017[".googleLikeFields"] = array();
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "Surname";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "FirstName";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "MPGID";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "MobileNoAppl";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "Gender";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "FatherDistrict";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "FATHERSNAME";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "FATHERSURNAME";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "TertiaryInstitutionAdmitted";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "NewApplicant";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "Reapply";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "EmailAddrssAppl";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "Judge1Comment";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "ProgramName";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "1styear";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "assessed";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "sem2year1";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "sem2year2";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "sem1year2";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "Year2nd";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "sem1year1";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "Fee2ndYear";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "1styearFee";
$tdatafeecomponentsnewapplic2017[".googleLikeFields"][] = "ProgramCode";



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

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

$tdatafeecomponentsnewapplic2017[".nPrinterSplitRecords"] = 40;

$tdatafeecomponentsnewapplic2017[".geocodingEnabled"] = false;




$tdatafeecomponentsnewapplic2017[".isDisplayLoading"] = true;

$tdatafeecomponentsnewapplic2017[".isResizeColumns"] = true;





$tdatafeecomponentsnewapplic2017[".pageSize"] = 20;

$tdatafeecomponentsnewapplic2017[".warnLeavingPages"] = true;



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

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


$tdatafeecomponentsnewapplic2017[".sqlHead"] = "SELECT Surname,  FirstName,  MPGID,  MobileNoAppl,  Gender,  FatherDistrict,  FATHERSNAME,  FATHERSURNAME,  TertiaryInstitutionAdmitted,  NewApplicant,  Reapply,  EmailAddrssAppl,  Judge1Comment,  ProgramName,  `1styear`,  assessed,  sem2year1,  sem2year2,  sem1year2,  Year2nd,  sem1year1,  Fee2ndYear,  `1styearFee`,  ProgramCode";
$tdatafeecomponentsnewapplic2017[".sqlFrom"] = "FROM applicform";
$tdatafeecomponentsnewapplic2017[".sqlWhereExpr"] = "((NewApplicant IS TRUE) AND (TertiaryInstitutionAdmitted is not null)) AND ((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) AND (`1styear` = '2017' = True)";
$tdatafeecomponentsnewapplic2017[".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;
$tdatafeecomponentsnewapplic2017[".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;
$tdatafeecomponentsnewapplic2017[".arrGroupsPerPage"] = $arrGPP;


$tableKeysfeecomponentsnewapplic2017 = array();
$tableKeysfeecomponentsnewapplic2017[] = "MPGID";
$tdatafeecomponentsnewapplic2017[".Keys"] = $tableKeysfeecomponentsnewapplic2017;


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




//	Surname
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "Surname";
	$fdata["GoodName"] = "Surname";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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"] = 110;

//	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


	$tdatafeecomponentsnewapplic2017["Surname"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "Surname";
//	FirstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "FirstName";
	$fdata["GoodName"] = "FirstName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 90;

//	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


	$tdatafeecomponentsnewapplic2017["FirstName"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "FirstName";
//	MPGID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "MPGID";
	$fdata["GoodName"] = "MPGID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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
	
			// 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


	$tdatafeecomponentsnewapplic2017["MPGID"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "MPGID";
//	MobileNoAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "MobileNoAppl";
	$fdata["GoodName"] = "MobileNoAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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


	$tdatafeecomponentsnewapplic2017["MobileNoAppl"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "MobileNoAppl";
//	Gender
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "Gender";
	$fdata["GoodName"] = "Gender";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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


	$tdatafeecomponentsnewapplic2017["Gender"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "Gender";
//	FatherDistrict
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "FatherDistrict";
	$fdata["GoodName"] = "FatherDistrict";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","FatherDistrict");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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


	$tdatafeecomponentsnewapplic2017["FatherDistrict"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "FatherDistrict";
//	FATHERSNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "FATHERSNAME";
	$fdata["GoodName"] = "FATHERSNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","FATHERSNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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"] = 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
	
			// 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


	$tdatafeecomponentsnewapplic2017["FATHERSNAME"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "FATHERSNAME";
//	FATHERSURNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "FATHERSURNAME";
	$fdata["GoodName"] = "FATHERSURNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","FATHERSURNAME");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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"] = 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


	$tdatafeecomponentsnewapplic2017["FATHERSURNAME"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "FATHERSURNAME";
//	TertiaryInstitutionAdmitted
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "TertiaryInstitutionAdmitted";
	$fdata["GoodName"] = "TertiaryInstitutionAdmitted";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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" => "Lookup wizard");

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


	
	

// Begin Lookup settings
				$edata["LookupType"] = 1;
	$edata["LookupTable"] = "universitydtls1";
	$edata["LookupConnId"] = "";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "InstitutionName";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "InstitutionName";

	

	
	$edata["LookupOrderBy"] = "";

	
	
	
		$edata["SimpleAdd"] = true;


	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$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


	$tdatafeecomponentsnewapplic2017["TertiaryInstitutionAdmitted"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "TertiaryInstitutionAdmitted";
//	NewApplicant
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "NewApplicant";
	$fdata["GoodName"] = "NewApplicant";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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" => "Checkbox");

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

	$fdata["ViewFormats"]["view"] = $vdata;
	$vdata = array("ViewFormat" => "Checkbox");

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

	$fdata["ViewFormats"]["list"] = $vdata;
	$vdata = array("ViewFormat" => "Checkbox");

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

	$fdata["ViewFormats"]["print"] = $vdata;
	$vdata = array("ViewFormat" => "Checkbox");

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

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

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
	$edata = array("EditFormat" => "Readonly");

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = true;




// 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


	$tdatafeecomponentsnewapplic2017["NewApplicant"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "NewApplicant";
//	Reapply
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "Reapply";
	$fdata["GoodName"] = "Reapply";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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" => "Checkbox");

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$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


	$tdatafeecomponentsnewapplic2017["Reapply"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "Reapply";
//	EmailAddrssAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "EmailAddrssAppl";
	$fdata["GoodName"] = "EmailAddrssAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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"] = 219;

//	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


	$tdatafeecomponentsnewapplic2017["EmailAddrssAppl"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "EmailAddrssAppl";
//	Judge1Comment
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "Judge1Comment";
	$fdata["GoodName"] = "Judge1Comment";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","Judge1Comment");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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

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

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
				$edata["nRows"] = 100;
			$edata["nCols"] = 200;

	
	
		$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
	
	// 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


	$tdatafeecomponentsnewapplic2017["Judge1Comment"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "Judge1Comment";
//	ProgramName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "ProgramName";
	$fdata["GoodName"] = "ProgramName";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","ProgramName");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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


	$tdatafeecomponentsnewapplic2017["ProgramName"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "ProgramName";
//	1styear
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "1styear";
	$fdata["GoodName"] = "1styear";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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


	$tdatafeecomponentsnewapplic2017["1styear"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "1styear";
//	assessed
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "assessed";
	$fdata["GoodName"] = "assessed";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","assessed");
	$fdata["FieldType"] = 3;

	
	
	
			

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

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

	
	
				$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"] = "number";

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

//	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"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatafeecomponentsnewapplic2017["assessed"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "assessed";
//	sem2year1
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "sem2year1";
	$fdata["GoodName"] = "sem2year1";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","sem2year1");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$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"] = "number";

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

//	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"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatafeecomponentsnewapplic2017["sem2year1"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "sem2year1";
//	sem2year2
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "sem2year2";
	$fdata["GoodName"] = "sem2year2";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","sem2year2");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$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"] = "number";

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

//	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"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatafeecomponentsnewapplic2017["sem2year2"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "sem2year2";
//	sem1year2
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "sem1year2";
	$fdata["GoodName"] = "sem1year2";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","sem1year2");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$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"] = "number";

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

//	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"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatafeecomponentsnewapplic2017["sem1year2"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "sem1year2";
//	Year2nd
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "Year2nd";
	$fdata["GoodName"] = "Year2nd";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","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


	$tdatafeecomponentsnewapplic2017["Year2nd"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "Year2nd";
//	sem1year1
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "sem1year1";
	$fdata["GoodName"] = "sem1year1";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","sem1year1");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$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"] = "number";

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

//	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"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatafeecomponentsnewapplic2017["sem1year1"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "sem1year1";
//	Fee2ndYear
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "Fee2ndYear";
	$fdata["GoodName"] = "Fee2ndYear";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","Fee2ndYear");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$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"] = "number";

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

//	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"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatafeecomponentsnewapplic2017["Fee2ndYear"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "Fee2ndYear";
//	1styearFee
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "1styearFee";
	$fdata["GoodName"] = "1styearFee";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","1styearFee");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$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"] = "number";

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

//	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"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatafeecomponentsnewapplic2017["1styearFee"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "1styearFee";
//	ProgramCode
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "ProgramCode";
	$fdata["GoodName"] = "ProgramCode";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("feecomponentsnewapplic2017","ProgramCode");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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"] = "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


	$tdatafeecomponentsnewapplic2017["ProgramCode"] = $fdata;
		$tdatafeecomponentsnewapplic2017[".searchableFields"][] = "ProgramCode";


$tables_data["feecomponentsnewapplic2017"]=&$tdatafeecomponentsnewapplic2017;
$field_labels["feecomponentsnewapplic2017"] = &$fieldLabelsfeecomponentsnewapplic2017;
$fieldToolTips["feecomponentsnewapplic2017"] = &$fieldToolTipsfeecomponentsnewapplic2017;
$placeHolders["feecomponentsnewapplic2017"] = &$placeHoldersfeecomponentsnewapplic2017;
$page_titles["feecomponentsnewapplic2017"] = &$pageTitlesfeecomponentsnewapplic2017;

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

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



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


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










function createSqlQuery_feecomponentsnewapplic2017()
{
$proto3=array();
$proto3["m_strHead"] = "SELECT";
$proto3["m_strFieldList"] = "Surname,  FirstName,  MPGID,  MobileNoAppl,  Gender,  FatherDistrict,  FATHERSNAME,  FATHERSURNAME,  TertiaryInstitutionAdmitted,  NewApplicant,  Reapply,  EmailAddrssAppl,  Judge1Comment,  ProgramName,  `1styear`,  assessed,  sem2year1,  sem2year2,  sem1year2,  Year2nd,  sem1year1,  Fee2ndYear,  `1styearFee`,  ProgramCode";
$proto3["m_strFrom"] = "FROM applicform";
$proto3["m_strWhere"] = "((NewApplicant IS TRUE) AND (TertiaryInstitutionAdmitted is not null)) AND ((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) AND (`1styear` = '2017' = True)";
$proto3["m_strOrderBy"] = "ORDER BY TertiaryInstitutionAdmitted";
	
		;
			$proto3["cipherer"] = null;
$proto5=array();
$proto5["m_sql"] = "((NewApplicant IS TRUE) AND (TertiaryInstitutionAdmitted is not null)) AND ((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) AND (`1styear` = '2017' = True)";
$proto5["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "((NewApplicant IS TRUE) AND (TertiaryInstitutionAdmitted is not null)) AND ((approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)) AND (`1styear` = '2017' = True)"
));

$proto5["m_column"]=$obj;
$proto5["m_contained"] = array();
						$proto7=array();
$proto7["m_sql"] = "(NewApplicant IS TRUE) AND (TertiaryInstitutionAdmitted is not null)";
$proto7["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(NewApplicant IS TRUE) AND (TertiaryInstitutionAdmitted is not null)"
));

$proto7["m_column"]=$obj;
$proto7["m_contained"] = array();
						$proto9=array();
$proto9["m_sql"] = "NewApplicant IS TRUE";
$proto9["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

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

			$proto7["m_contained"][]=$obj;
						$proto11=array();
$proto11["m_sql"] = "TertiaryInstitutionAdmitted is not null";
$proto11["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto11["m_column"]=$obj;
$proto11["m_contained"] = array();
$proto11["m_strCase"] = "is not null";
$proto11["m_havingmode"] = false;
$proto11["m_inBrackets"] = true;
$proto11["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto11);

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

			$proto5["m_contained"][]=$obj;
						$proto13=array();
$proto13["m_sql"] = "(approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)";
$proto13["m_uniontype"] = "SQLL_AND";
	$obj = new SQLNonParsed(array(
	"m_sql" => "(approved1 IS TRUE) AND (approved2 IS TRUE) AND (approved3 IS TRUE)"
));

$proto13["m_column"]=$obj;
$proto13["m_contained"] = array();
						$proto15=array();
$proto15["m_sql"] = "approved1 IS TRUE";
$proto15["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "approved1",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

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

			$proto13["m_contained"][]=$obj;
						$proto17=array();
$proto17["m_sql"] = "approved2 IS TRUE";
$proto17["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "approved2",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

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

			$proto13["m_contained"][]=$obj;
						$proto19=array();
$proto19["m_sql"] = "approved3 IS TRUE";
$proto19["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "approved3",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

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

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

			$proto5["m_contained"][]=$obj;
						$proto21=array();
$proto21["m_sql"] = "`1styear` = '2017' = True";
$proto21["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "1styear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto21["m_column"]=$obj;
$proto21["m_contained"] = array();
$proto21["m_strCase"] = "= '2017' = True";
$proto21["m_havingmode"] = false;
$proto21["m_inBrackets"] = true;
$proto21["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto21);

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

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

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

$proto3["m_having"] = $obj;
$proto3["m_fieldlist"] = array();
						$proto25=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto25["m_sql"] = "Surname";
$proto25["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto25["m_expr"]=$obj;
$proto25["m_alias"] = "";
$obj = new SQLFieldListItem($proto25);

$proto3["m_fieldlist"][]=$obj;
						$proto27=array();
			$obj = new SQLField(array(
	"m_strName" => "FirstName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto27["m_sql"] = "FirstName";
$proto27["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto27["m_expr"]=$obj;
$proto27["m_alias"] = "";
$obj = new SQLFieldListItem($proto27);

$proto3["m_fieldlist"][]=$obj;
						$proto29=array();
			$obj = new SQLField(array(
	"m_strName" => "MPGID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto29["m_sql"] = "MPGID";
$proto29["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto29["m_expr"]=$obj;
$proto29["m_alias"] = "";
$obj = new SQLFieldListItem($proto29);

$proto3["m_fieldlist"][]=$obj;
						$proto31=array();
			$obj = new SQLField(array(
	"m_strName" => "MobileNoAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto31["m_sql"] = "MobileNoAppl";
$proto31["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto31["m_expr"]=$obj;
$proto31["m_alias"] = "";
$obj = new SQLFieldListItem($proto31);

$proto3["m_fieldlist"][]=$obj;
						$proto33=array();
			$obj = new SQLField(array(
	"m_strName" => "Gender",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto33["m_sql"] = "Gender";
$proto33["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto33["m_expr"]=$obj;
$proto33["m_alias"] = "";
$obj = new SQLFieldListItem($proto33);

$proto3["m_fieldlist"][]=$obj;
						$proto35=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto35["m_sql"] = "FatherDistrict";
$proto35["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto35["m_expr"]=$obj;
$proto35["m_alias"] = "";
$obj = new SQLFieldListItem($proto35);

$proto3["m_fieldlist"][]=$obj;
						$proto37=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERSNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto37["m_sql"] = "FATHERSNAME";
$proto37["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto37["m_expr"]=$obj;
$proto37["m_alias"] = "";
$obj = new SQLFieldListItem($proto37);

$proto3["m_fieldlist"][]=$obj;
						$proto39=array();
			$obj = new SQLField(array(
	"m_strName" => "FATHERSURNAME",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto39["m_sql"] = "FATHERSURNAME";
$proto39["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto39["m_expr"]=$obj;
$proto39["m_alias"] = "";
$obj = new SQLFieldListItem($proto39);

$proto3["m_fieldlist"][]=$obj;
						$proto41=array();
			$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto41["m_sql"] = "TertiaryInstitutionAdmitted";
$proto41["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto41["m_expr"]=$obj;
$proto41["m_alias"] = "";
$obj = new SQLFieldListItem($proto41);

$proto3["m_fieldlist"][]=$obj;
						$proto43=array();
			$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto43["m_sql"] = "NewApplicant";
$proto43["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto43["m_expr"]=$obj;
$proto43["m_alias"] = "";
$obj = new SQLFieldListItem($proto43);

$proto3["m_fieldlist"][]=$obj;
						$proto45=array();
			$obj = new SQLField(array(
	"m_strName" => "Reapply",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto45["m_sql"] = "Reapply";
$proto45["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto45["m_expr"]=$obj;
$proto45["m_alias"] = "";
$obj = new SQLFieldListItem($proto45);

$proto3["m_fieldlist"][]=$obj;
						$proto47=array();
			$obj = new SQLField(array(
	"m_strName" => "EmailAddrssAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto47["m_sql"] = "EmailAddrssAppl";
$proto47["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto47["m_expr"]=$obj;
$proto47["m_alias"] = "";
$obj = new SQLFieldListItem($proto47);

$proto3["m_fieldlist"][]=$obj;
						$proto49=array();
			$obj = new SQLField(array(
	"m_strName" => "Judge1Comment",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto49["m_sql"] = "Judge1Comment";
$proto49["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto49["m_expr"]=$obj;
$proto49["m_alias"] = "";
$obj = new SQLFieldListItem($proto49);

$proto3["m_fieldlist"][]=$obj;
						$proto51=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto51["m_sql"] = "ProgramName";
$proto51["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto51["m_expr"]=$obj;
$proto51["m_alias"] = "";
$obj = new SQLFieldListItem($proto51);

$proto3["m_fieldlist"][]=$obj;
						$proto53=array();
			$obj = new SQLField(array(
	"m_strName" => "1styear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto53["m_sql"] = "`1styear`";
$proto53["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto53["m_expr"]=$obj;
$proto53["m_alias"] = "";
$obj = new SQLFieldListItem($proto53);

$proto3["m_fieldlist"][]=$obj;
						$proto55=array();
			$obj = new SQLField(array(
	"m_strName" => "assessed",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto55["m_sql"] = "assessed";
$proto55["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto55["m_expr"]=$obj;
$proto55["m_alias"] = "";
$obj = new SQLFieldListItem($proto55);

$proto3["m_fieldlist"][]=$obj;
						$proto57=array();
			$obj = new SQLField(array(
	"m_strName" => "sem2year1",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto57["m_sql"] = "sem2year1";
$proto57["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto57["m_expr"]=$obj;
$proto57["m_alias"] = "";
$obj = new SQLFieldListItem($proto57);

$proto3["m_fieldlist"][]=$obj;
						$proto59=array();
			$obj = new SQLField(array(
	"m_strName" => "sem2year2",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto59["m_sql"] = "sem2year2";
$proto59["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto59["m_expr"]=$obj;
$proto59["m_alias"] = "";
$obj = new SQLFieldListItem($proto59);

$proto3["m_fieldlist"][]=$obj;
						$proto61=array();
			$obj = new SQLField(array(
	"m_strName" => "sem1year2",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto61["m_sql"] = "sem1year2";
$proto61["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto61["m_expr"]=$obj;
$proto61["m_alias"] = "";
$obj = new SQLFieldListItem($proto61);

$proto3["m_fieldlist"][]=$obj;
						$proto63=array();
			$obj = new SQLField(array(
	"m_strName" => "Year2nd",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto63["m_sql"] = "Year2nd";
$proto63["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto63["m_expr"]=$obj;
$proto63["m_alias"] = "";
$obj = new SQLFieldListItem($proto63);

$proto3["m_fieldlist"][]=$obj;
						$proto65=array();
			$obj = new SQLField(array(
	"m_strName" => "sem1year1",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto65["m_sql"] = "sem1year1";
$proto65["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto65["m_expr"]=$obj;
$proto65["m_alias"] = "";
$obj = new SQLFieldListItem($proto65);

$proto3["m_fieldlist"][]=$obj;
						$proto67=array();
			$obj = new SQLField(array(
	"m_strName" => "Fee2ndYear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto67["m_sql"] = "Fee2ndYear";
$proto67["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto67["m_expr"]=$obj;
$proto67["m_alias"] = "";
$obj = new SQLFieldListItem($proto67);

$proto3["m_fieldlist"][]=$obj;
						$proto69=array();
			$obj = new SQLField(array(
	"m_strName" => "1styearFee",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto69["m_sql"] = "`1styearFee`";
$proto69["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto69["m_expr"]=$obj;
$proto69["m_alias"] = "";
$obj = new SQLFieldListItem($proto69);

$proto3["m_fieldlist"][]=$obj;
						$proto71=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramCode",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

$proto71["m_sql"] = "ProgramCode";
$proto71["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto71["m_expr"]=$obj;
$proto71["m_alias"] = "";
$obj = new SQLFieldListItem($proto71);

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

$proto73["m_table"] = $obj;
$proto73["m_sql"] = "applicform";
$proto73["m_alias"] = "";
$proto73["m_srcTableName"] = "feecomponentsnewapplic2017";
$proto75=array();
$proto75["m_sql"] = "";
$proto75["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto3["m_fromlist"][]=$obj;
$proto3["m_groupby"] = array();
$proto3["m_orderby"] = array();
												$proto77=array();
						$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "feecomponentsnewapplic2017"
));

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

$proto3["m_orderby"][]=$obj;					
$proto3["m_srcTableName"]="feecomponentsnewapplic2017";		
$obj = new SQLQuery($proto3);

	return $obj;
}
$queryData_feecomponentsnewapplic2017 = createSqlQuery_feecomponentsnewapplic2017();


	
		;

																								

$tdatafeecomponentsnewapplic2017[".sqlquery"] = $queryData_feecomponentsnewapplic2017;

$tableEvents["feecomponentsnewapplic2017"] = new eventsBase;
$tdatafeecomponentsnewapplic2017[".hasEvents"] = false;

?>