<?php



$tdataAllNewApplicants = array();
$tdataAllNewApplicants[".searchableFields"] = array();
$tdataAllNewApplicants[".ShortName"] = "AllNewApplicants";
$tdataAllNewApplicants[".OwnerID"] = "";
$tdataAllNewApplicants[".OriginalTable"] = "applicform";


$defaultPages = my_json_decode( "{\"report\":\"report\",\"rprint\":\"rprint\",\"search\":\"search\"}" );

$tdataAllNewApplicants[".pagesByType"] = my_json_decode( "{\"report\":[\"report\"],\"rprint\":[\"rprint\"],\"search\":[\"search\"]}" );
$tdataAllNewApplicants[".pages"] = types2pages( my_json_decode( "{\"report\":[\"report\"],\"rprint\":[\"rprint\"],\"search\":[\"search\"]}" ) );
$tdataAllNewApplicants[".defaultPages"] = $defaultPages;

//	field labels
$fieldLabelsAllNewApplicants = array();
$fieldToolTipsAllNewApplicants = array();
$pageTitlesAllNewApplicants = array();
$placeHoldersAllNewApplicants = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsAllNewApplicants["English"] = array();
	$fieldToolTipsAllNewApplicants["English"] = array();
	$placeHoldersAllNewApplicants["English"] = array();
	$pageTitlesAllNewApplicants["English"] = array();
	$fieldLabelsAllNewApplicants["English"]["StudentSchoolID"] = "Student School ID";
	$fieldToolTipsAllNewApplicants["English"]["StudentSchoolID"] = "";
	$placeHoldersAllNewApplicants["English"]["StudentSchoolID"] = "";
	$fieldLabelsAllNewApplicants["English"]["Surname"] = "Surname";
	$fieldToolTipsAllNewApplicants["English"]["Surname"] = "";
	$placeHoldersAllNewApplicants["English"]["Surname"] = "";
	$fieldLabelsAllNewApplicants["English"]["FirstName"] = "First Name";
	$fieldToolTipsAllNewApplicants["English"]["FirstName"] = "";
	$placeHoldersAllNewApplicants["English"]["FirstName"] = "";
	$fieldLabelsAllNewApplicants["English"]["Gender"] = "Gender";
	$fieldToolTipsAllNewApplicants["English"]["Gender"] = "";
	$placeHoldersAllNewApplicants["English"]["Gender"] = "";
	$fieldLabelsAllNewApplicants["English"]["DateofBirth"] = "Dateof Birth";
	$fieldToolTipsAllNewApplicants["English"]["DateofBirth"] = "";
	$placeHoldersAllNewApplicants["English"]["DateofBirth"] = "";
	$fieldLabelsAllNewApplicants["English"]["PlaceofBirth"] = "Placeof Birth";
	$fieldToolTipsAllNewApplicants["English"]["PlaceofBirth"] = "";
	$placeHoldersAllNewApplicants["English"]["PlaceofBirth"] = "";
	$fieldLabelsAllNewApplicants["English"]["DistrictOfBirth"] = "District Of Birth";
	$fieldToolTipsAllNewApplicants["English"]["DistrictOfBirth"] = "";
	$placeHoldersAllNewApplicants["English"]["DistrictOfBirth"] = "";
	$fieldLabelsAllNewApplicants["English"]["FatherDistrict"] = "Father District";
	$fieldToolTipsAllNewApplicants["English"]["FatherDistrict"] = "";
	$placeHoldersAllNewApplicants["English"]["FatherDistrict"] = "";
	$fieldLabelsAllNewApplicants["English"]["FATHERSNAME"] = "FATHERSNAME";
	$fieldToolTipsAllNewApplicants["English"]["FATHERSNAME"] = "";
	$placeHoldersAllNewApplicants["English"]["FATHERSNAME"] = "";
	$fieldLabelsAllNewApplicants["English"]["FATHERSURNAME"] = "FATHERSURNAME";
	$fieldToolTipsAllNewApplicants["English"]["FATHERSURNAME"] = "";
	$placeHoldersAllNewApplicants["English"]["FATHERSURNAME"] = "";
	$fieldLabelsAllNewApplicants["English"]["Comments"] = "Comments";
	$fieldToolTipsAllNewApplicants["English"]["Comments"] = "";
	$placeHoldersAllNewApplicants["English"]["Comments"] = "";
	$fieldLabelsAllNewApplicants["English"]["NewApplicant"] = "New Applicant";
	$fieldToolTipsAllNewApplicants["English"]["NewApplicant"] = "";
	$placeHoldersAllNewApplicants["English"]["NewApplicant"] = "";
	$fieldLabelsAllNewApplicants["English"]["GPA"] = "GPA";
	$fieldToolTipsAllNewApplicants["English"]["GPA"] = "";
	$placeHoldersAllNewApplicants["English"]["GPA"] = "";
	$fieldLabelsAllNewApplicants["English"]["MobileNoAppl"] = "Mobile No Appl";
	$fieldToolTipsAllNewApplicants["English"]["MobileNoAppl"] = "";
	$placeHoldersAllNewApplicants["English"]["MobileNoAppl"] = "";
	$fieldLabelsAllNewApplicants["English"]["EmailAddrssAppl"] = "Email Addrss Appl";
	$fieldToolTipsAllNewApplicants["English"]["EmailAddrssAppl"] = "";
	$placeHoldersAllNewApplicants["English"]["EmailAddrssAppl"] = "";
	if (count($fieldToolTipsAllNewApplicants["English"]))
		$tdataAllNewApplicants[".isUseToolTips"] = true;
}


	$tdataAllNewApplicants[".NCSearch"] = true;



$tdataAllNewApplicants[".shortTableName"] = "AllNewApplicants";
$tdataAllNewApplicants[".nSecOptions"] = 0;

$tdataAllNewApplicants[".mainTableOwnerID"] = "";
$tdataAllNewApplicants[".entityType"] = 2;

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

	



$tdataAllNewApplicants[".showAddInPopup"] = false;

$tdataAllNewApplicants[".showEditInPopup"] = false;

$tdataAllNewApplicants[".showViewInPopup"] = false;

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


$tdataAllNewApplicants[".listAjax"] = false;
//	temporary
$tdataAllNewApplicants[".listAjax"] = false;

	$tdataAllNewApplicants[".audit"] = false;

	$tdataAllNewApplicants[".locking"] = false;


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

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

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

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

$tdataAllNewApplicants[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataAllNewApplicants[".isUseAjaxSuggest"] = true;




						

$tdataAllNewApplicants[".ajaxCodeSnippetAdded"] = false;

$tdataAllNewApplicants[".buttonsAdded"] = false;

$tdataAllNewApplicants[".addPageEvents"] = false;

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




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

$tdataAllNewApplicants[".googleLikeFields"] = array();
$tdataAllNewApplicants[".googleLikeFields"][] = "StudentSchoolID";
$tdataAllNewApplicants[".googleLikeFields"][] = "Surname";
$tdataAllNewApplicants[".googleLikeFields"][] = "FirstName";
$tdataAllNewApplicants[".googleLikeFields"][] = "DateofBirth";
$tdataAllNewApplicants[".googleLikeFields"][] = "Gender";
$tdataAllNewApplicants[".googleLikeFields"][] = "FatherDistrict";
$tdataAllNewApplicants[".googleLikeFields"][] = "PlaceofBirth";
$tdataAllNewApplicants[".googleLikeFields"][] = "DistrictOfBirth";
$tdataAllNewApplicants[".googleLikeFields"][] = "FATHERSNAME";
$tdataAllNewApplicants[".googleLikeFields"][] = "FATHERSURNAME";
$tdataAllNewApplicants[".googleLikeFields"][] = "NewApplicant";
$tdataAllNewApplicants[".googleLikeFields"][] = "Comments";
$tdataAllNewApplicants[".googleLikeFields"][] = "GPA";
$tdataAllNewApplicants[".googleLikeFields"][] = "MobileNoAppl";
$tdataAllNewApplicants[".googleLikeFields"][] = "EmailAddrssAppl";



$tdataAllNewApplicants[".tableType"] = "report";

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

$tdataAllNewApplicants[".nPrinterSplitRecords"] = 40;

$tdataAllNewApplicants[".geocodingEnabled"] = false;

//report settings
$tdataAllNewApplicants[".printReportLayout"] = 6;

$tdataAllNewApplicants[".reportPrintPartitionType"] = 1;
$tdataAllNewApplicants[".reportPrintGroupsPerPage"] = 40;
$tdataAllNewApplicants[".lowGroup"] = 0;



$tdataAllNewApplicants[".pageSize"] = 20;






$tdataAllNewApplicants[".repShowDet"] = true;

$tdataAllNewApplicants[".reportLayout"] = 6;

//end of report settings



$tdataAllNewApplicants[".isDisplayLoading"] = true;







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

$tdataAllNewApplicants[".orderindexes"] = array();

$tdataAllNewApplicants[".sqlHead"] = "SELECT StudentSchoolID,  Surname,  FirstName,  DateofBirth,  Gender,  FatherDistrict,  PlaceofBirth,  DistrictOfBirth,  FATHERSNAME,  FATHERSURNAME,  NewApplicant,  Comments,  GPA,  MobileNoAppl,  EmailAddrssAppl";
$tdataAllNewApplicants[".sqlFrom"] = "FROM applicform";
$tdataAllNewApplicants[".sqlWhereExpr"] = "NewApplicant is True";
$tdataAllNewApplicants[".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;
$tdataAllNewApplicants[".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;
$tdataAllNewApplicants[".arrGroupsPerPage"] = $arrGPP;


$tableKeysAllNewApplicants = array();
$tdataAllNewApplicants[".Keys"] = $tableKeysAllNewApplicants;


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




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

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


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

		// report field settings
					// end of report field settings

	
	
			

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


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

		// report field settings
					// end of report field settings

	
	
			

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


	$tdataAllNewApplicants["FirstName"] = $fdata;
		$tdataAllNewApplicants[".searchableFields"][] = "FirstName";
//	DateofBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "DateofBirth";
	$fdata["GoodName"] = "DateofBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("AllNewApplicants","DateofBirth");
	$fdata["FieldType"] = 135;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

	
	
	
		$edata["controlWidth"] = 143;

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

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $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


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

		// report field settings
					// end of report field settings

	
	
			

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


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

		// report field settings
					// end of report field settings

	
	
			

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


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

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataAllNewApplicants["PlaceofBirth"] = $fdata;
		$tdataAllNewApplicants[".searchableFields"][] = "PlaceofBirth";
//	DistrictOfBirth
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "DistrictOfBirth";
	$fdata["GoodName"] = "DistrictOfBirth";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("AllNewApplicants","DistrictOfBirth");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $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


	$tdataAllNewApplicants["DistrictOfBirth"] = $fdata;
		$tdataAllNewApplicants[".searchableFields"][] = "DistrictOfBirth";
//	FATHERSNAME
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "FATHERSNAME";
	$fdata["GoodName"] = "FATHERSNAME";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("AllNewApplicants","FATHERSNAME");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $vdata;
//  End View Formats

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $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


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

		// report field settings
					// end of report field settings

	
	
			

		$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"]["report"] = $vdata;
//  End View Formats

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $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


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

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataAllNewApplicants["NewApplicant"] = $fdata;
		$tdataAllNewApplicants[".searchableFields"][] = "NewApplicant";
//	Comments
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "Comments";
	$fdata["GoodName"] = "Comments";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("AllNewApplicants","Comments");
	$fdata["FieldType"] = 201;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataAllNewApplicants["Comments"] = $fdata;
		$tdataAllNewApplicants[".searchableFields"][] = "Comments";
//	GPA
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "GPA";
	$fdata["GoodName"] = "GPA";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("AllNewApplicants","GPA");
	$fdata["FieldType"] = 5;

		// report field settings
					// end of report field settings

	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["report"] = $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"]["search"] = $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


	$tdataAllNewApplicants["GPA"] = $fdata;
		$tdataAllNewApplicants[".searchableFields"][] = "GPA";
//	MobileNoAppl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "MobileNoAppl";
	$fdata["GoodName"] = "MobileNoAppl";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("AllNewApplicants","MobileNoAppl");
	$fdata["FieldType"] = 200;

		// report field settings
					// end of report field settings

	
	
			

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


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

		// report field settings
					// end of report field settings

	
	
			

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


	$tdataAllNewApplicants["EmailAddrssAppl"] = $fdata;
		$tdataAllNewApplicants[".searchableFields"][] = "EmailAddrssAppl";


$tables_data["AllNewApplicants"]=&$tdataAllNewApplicants;
$field_labels["AllNewApplicants"] = &$fieldLabelsAllNewApplicants;
$fieldToolTips["AllNewApplicants"] = &$fieldToolTipsAllNewApplicants;
$placeHolders["AllNewApplicants"] = &$placeHoldersAllNewApplicants;
$page_titles["AllNewApplicants"] = &$pageTitlesAllNewApplicants;

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

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



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


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










function createSqlQuery_AllNewApplicants()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "StudentSchoolID,  Surname,  FirstName,  DateofBirth,  Gender,  FatherDistrict,  PlaceofBirth,  DistrictOfBirth,  FATHERSNAME,  FATHERSURNAME,  NewApplicant,  Comments,  GPA,  MobileNoAppl,  EmailAddrssAppl";
$proto0["m_strFrom"] = "FROM applicform";
$proto0["m_strWhere"] = "NewApplicant is True";
$proto0["m_strOrderBy"] = "";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "NewApplicant is True";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "NewApplicant",
	"m_strTable" => "applicform",
	"m_srcTableName" => "AllNewApplicants"
));

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

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

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

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto6=array();
			$obj = new SQLField(array(
	"m_strName" => "StudentSchoolID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "AllNewApplicants"
));

$proto6["m_sql"] = "StudentSchoolID";
$proto6["m_srcTableName"] = "AllNewApplicants";
$proto6["m_expr"]=$obj;
$proto6["m_alias"] = "";
$obj = new SQLFieldListItem($proto6);

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

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

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

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

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

$proto12["m_sql"] = "DateofBirth";
$proto12["m_srcTableName"] = "AllNewApplicants";
$proto12["m_expr"]=$obj;
$proto12["m_alias"] = "";
$obj = new SQLFieldListItem($proto12);

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

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

$proto0["m_fieldlist"][]=$obj;
						$proto16=array();
			$obj = new SQLField(array(
	"m_strName" => "FatherDistrict",
	"m_strTable" => "applicform",
	"m_srcTableName" => "AllNewApplicants"
));

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

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

$proto18["m_sql"] = "PlaceofBirth";
$proto18["m_srcTableName"] = "AllNewApplicants";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "";
$obj = new SQLFieldListItem($proto18);

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

$proto20["m_sql"] = "DistrictOfBirth";
$proto20["m_srcTableName"] = "AllNewApplicants";
$proto20["m_expr"]=$obj;
$proto20["m_alias"] = "";
$obj = new SQLFieldListItem($proto20);

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

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

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

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

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

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

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

$proto28["m_sql"] = "Comments";
$proto28["m_srcTableName"] = "AllNewApplicants";
$proto28["m_expr"]=$obj;
$proto28["m_alias"] = "";
$obj = new SQLFieldListItem($proto28);

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

$proto30["m_sql"] = "GPA";
$proto30["m_srcTableName"] = "AllNewApplicants";
$proto30["m_expr"]=$obj;
$proto30["m_alias"] = "";
$obj = new SQLFieldListItem($proto30);

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

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

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

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

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

$proto36["m_table"] = $obj;
$proto36["m_sql"] = "applicform";
$proto36["m_alias"] = "";
$proto36["m_srcTableName"] = "AllNewApplicants";
$proto38=array();
$proto38["m_sql"] = "";
$proto38["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$proto0["m_srcTableName"]="AllNewApplicants";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_AllNewApplicants = createSqlQuery_AllNewApplicants();


	
		;

															

$tdataAllNewApplicants[".sqlquery"] = $queryData_AllNewApplicants;

$tableEvents["AllNewApplicants"] = new eventsBase;
$tdataAllNewApplicants[".hasEvents"] = false;

?>