<?php



$tdataChartGraduatesByDistrict = array();
$tdataChartGraduatesByDistrict[".searchableFields"] = array();
$tdataChartGraduatesByDistrict[".ShortName"] = "ChartGraduatesByDistrict";
$tdataChartGraduatesByDistrict[".OwnerID"] = "";
$tdataChartGraduatesByDistrict[".OriginalTable"] = "applicform";


$defaultPages = my_json_decode( "{\"chart\":\"chart\"}" );

$tdataChartGraduatesByDistrict[".pagesByType"] = my_json_decode( "{\"chart\":[\"chart\"]}" );
$tdataChartGraduatesByDistrict[".pages"] = types2pages( my_json_decode( "{\"chart\":[\"chart\"]}" ) );
$tdataChartGraduatesByDistrict[".defaultPages"] = $defaultPages;

//	field labels
$fieldLabelsChartGraduatesByDistrict = array();
$fieldToolTipsChartGraduatesByDistrict = array();
$pageTitlesChartGraduatesByDistrict = array();
$placeHoldersChartGraduatesByDistrict = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsChartGraduatesByDistrict["English"] = array();
	$fieldToolTipsChartGraduatesByDistrict["English"] = array();
	$placeHoldersChartGraduatesByDistrict["English"] = array();
	$pageTitlesChartGraduatesByDistrict["English"] = array();
	$fieldLabelsChartGraduatesByDistrict["English"]["Bulolo"] = "Bulolo";
	$fieldToolTipsChartGraduatesByDistrict["English"]["Bulolo"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["Bulolo"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["Finschhafen"] = "Finschhafen";
	$fieldToolTipsChartGraduatesByDistrict["English"]["Finschhafen"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["Finschhafen"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["Huon"] = "Huon";
	$fieldToolTipsChartGraduatesByDistrict["English"]["Huon"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["Huon"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["Kabwum"] = "Kabwum";
	$fieldToolTipsChartGraduatesByDistrict["English"]["Kabwum"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["Kabwum"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["Lae"] = "Lae";
	$fieldToolTipsChartGraduatesByDistrict["English"]["Lae"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["Lae"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["Markham"] = "Markham";
	$fieldToolTipsChartGraduatesByDistrict["English"]["Markham"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["Markham"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["Menyamya"] = "Menyamya";
	$fieldToolTipsChartGraduatesByDistrict["English"]["Menyamya"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["Menyamya"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["Nawaeb"] = "Nawaeb";
	$fieldToolTipsChartGraduatesByDistrict["English"]["Nawaeb"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["Nawaeb"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["TewaeSiassi"] = "Tewae Siassi";
	$fieldToolTipsChartGraduatesByDistrict["English"]["TewaeSiassi"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["TewaeSiassi"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["NonMorobean"] = "Non Morobean";
	$fieldToolTipsChartGraduatesByDistrict["English"]["NonMorobean"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["NonMorobean"] = "";
	$fieldLabelsChartGraduatesByDistrict["English"]["DISTRICT"] = "DISTRICT";
	$fieldToolTipsChartGraduatesByDistrict["English"]["DISTRICT"] = "";
	$placeHoldersChartGraduatesByDistrict["English"]["DISTRICT"] = "";
	if (count($fieldToolTipsChartGraduatesByDistrict["English"]))
		$tdataChartGraduatesByDistrict[".isUseToolTips"] = true;
}


	$tdataChartGraduatesByDistrict[".NCSearch"] = true;

	$tdataChartGraduatesByDistrict[".ChartRefreshTime"] = 0;


$tdataChartGraduatesByDistrict[".shortTableName"] = "ChartGraduatesByDistrict";
$tdataChartGraduatesByDistrict[".nSecOptions"] = 0;

$tdataChartGraduatesByDistrict[".mainTableOwnerID"] = "";
$tdataChartGraduatesByDistrict[".entityType"] = 3;

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

	



$tdataChartGraduatesByDistrict[".showAddInPopup"] = false;

$tdataChartGraduatesByDistrict[".showEditInPopup"] = false;

$tdataChartGraduatesByDistrict[".showViewInPopup"] = false;

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


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

	$tdataChartGraduatesByDistrict[".audit"] = false;

	$tdataChartGraduatesByDistrict[".locking"] = false;


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

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

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

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

$tdataChartGraduatesByDistrict[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataChartGraduatesByDistrict[".isUseAjaxSuggest"] = true;




						

$tdataChartGraduatesByDistrict[".ajaxCodeSnippetAdded"] = false;

$tdataChartGraduatesByDistrict[".buttonsAdded"] = false;

$tdataChartGraduatesByDistrict[".addPageEvents"] = false;

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




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

$tdataChartGraduatesByDistrict[".googleLikeFields"] = array();
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "Bulolo";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "Finschhafen";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "Huon";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "Kabwum";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "Lae";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "Markham";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "Menyamya";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "Nawaeb";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "TewaeSiassi";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "NonMorobean";
$tdataChartGraduatesByDistrict[".googleLikeFields"][] = "DISTRICT";



$tdataChartGraduatesByDistrict[".tableType"] = "chart";

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

$tdataChartGraduatesByDistrict[".nPrinterSplitRecords"] = 40;

$tdataChartGraduatesByDistrict[".geocodingEnabled"] = false;



// chart settings
$tdataChartGraduatesByDistrict[".chartType"] = "Combined";
// end of chart settings

$tdataChartGraduatesByDistrict[".isDisplayLoading"] = true;







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

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

$tdataChartGraduatesByDistrict[".sqlHead"] = "SELECT SUM(FatherDistrict='Bulolo' or MotherDistrict='Bulolo') AS Bulolo,  SUM(FatherDistrict='Finschhafen' or MotherDistrict= 'Finschhafen') AS Finschhafen,  SUM(FatherDistrict='Huon' or MotherDistrict='Huon') AS Huon,  SUM(FatherDistrict='Kabwum' or MotherDistrict='Kabwum') AS Kabwum,  SUM(FatherDistrict='Lae' or MotherDistrict='Lae') AS Lae,  SUM(FatherDistrict='Markham' or MotherDistrict='Markham') AS Markham,  SUM(FatherDistrict='Menyamya' or MotherDistrict='Menyamya') AS Menyamya,  SUM(FatherDistrict='Nawaeb' or MotherDistrict='Nawaeb') AS Nawaeb,  SUM(FatherDistrict='Tewae-Siassi' or MotherDistrict='Tewae-Siassi') AS TewaeSiassi,  SUM(FatherDistrict='Non-Morobean' or MotherDistrict='NonMorobean') AS NonMorobean,  SUM(FatherDistrict=' ' or MotherDistrict=' ') AS DISTRICT";
$tdataChartGraduatesByDistrict[".sqlFrom"] = "FROM applicform";
$tdataChartGraduatesByDistrict[".sqlWhereExpr"] = "(Graduated =1)";
$tdataChartGraduatesByDistrict[".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;
$tdataChartGraduatesByDistrict[".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;
$tdataChartGraduatesByDistrict[".arrGroupsPerPage"] = $arrGPP;


$tableKeysChartGraduatesByDistrict = array();
$tdataChartGraduatesByDistrict[".Keys"] = $tableKeysChartGraduatesByDistrict;


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




//	Bulolo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "Bulolo";
	$fdata["GoodName"] = "Bulolo";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","Bulolo");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Bulolo' or MotherDistrict='Bulolo')";

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


	$tdataChartGraduatesByDistrict["Bulolo"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "Bulolo";
//	Finschhafen
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "Finschhafen";
	$fdata["GoodName"] = "Finschhafen";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","Finschhafen");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Finschhafen' or MotherDistrict= 'Finschhafen')";

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


	$tdataChartGraduatesByDistrict["Finschhafen"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "Finschhafen";
//	Huon
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "Huon";
	$fdata["GoodName"] = "Huon";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","Huon");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Huon' or MotherDistrict='Huon')";

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


	$tdataChartGraduatesByDistrict["Huon"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "Huon";
//	Kabwum
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "Kabwum";
	$fdata["GoodName"] = "Kabwum";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","Kabwum");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Kabwum' or MotherDistrict='Kabwum')";

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


	$tdataChartGraduatesByDistrict["Kabwum"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "Kabwum";
//	Lae
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "Lae";
	$fdata["GoodName"] = "Lae";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","Lae");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Lae' or MotherDistrict='Lae')";

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


	$tdataChartGraduatesByDistrict["Lae"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "Lae";
//	Markham
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "Markham";
	$fdata["GoodName"] = "Markham";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","Markham");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Markham' or MotherDistrict='Markham')";

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


	$tdataChartGraduatesByDistrict["Markham"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "Markham";
//	Menyamya
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "Menyamya";
	$fdata["GoodName"] = "Menyamya";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","Menyamya");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Menyamya' or MotherDistrict='Menyamya')";

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


	$tdataChartGraduatesByDistrict["Menyamya"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "Menyamya";
//	Nawaeb
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "Nawaeb";
	$fdata["GoodName"] = "Nawaeb";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","Nawaeb");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Nawaeb' or MotherDistrict='Nawaeb')";

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


	$tdataChartGraduatesByDistrict["Nawaeb"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "Nawaeb";
//	TewaeSiassi
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "TewaeSiassi";
	$fdata["GoodName"] = "TewaeSiassi";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","TewaeSiassi");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Tewae-Siassi' or MotherDistrict='Tewae-Siassi')";

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


	$tdataChartGraduatesByDistrict["TewaeSiassi"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "TewaeSiassi";
//	NonMorobean
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "NonMorobean";
	$fdata["GoodName"] = "NonMorobean";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","NonMorobean");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict='Non-Morobean' or MotherDistrict='NonMorobean')";

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


	$tdataChartGraduatesByDistrict["NonMorobean"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "NonMorobean";
//	DISTRICT
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "DISTRICT";
	$fdata["GoodName"] = "DISTRICT";
	$fdata["ownerTable"] = "";
	$fdata["Label"] = GetFieldLabel("ChartGraduatesByDistrict","DISTRICT");
	$fdata["FieldType"] = 14;

	
	
	
			

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "SUM(FatherDistrict=' ' or MotherDistrict=' ')";

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

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

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

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


	
	



		$edata["IsRequired"] = true;

	
	
	
			$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");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

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


	$tdataChartGraduatesByDistrict["DISTRICT"] = $fdata;
		$tdataChartGraduatesByDistrict[".searchableFields"][] = "DISTRICT";

	$tdataChartGraduatesByDistrict[".chartXml"] = '<chart>
		<attr value="tables">
			<attr value="0">ChartGraduatesByDistrict</attr>
		</attr>
		<attr value="chart_type">
			<attr value="type">combined</attr>
		</attr>

		<attr value="parameters">';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="0">
			<attr value="name">Bulolo</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="1">
			<attr value="name">Finschhafen</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="2">
			<attr value="name">Huon</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="3">
			<attr value="name">Kabwum</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="4">
			<attr value="name">Lae</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="5">
			<attr value="name">Markham</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="6">
			<attr value="name">Menyamya</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="7">
			<attr value="name">Nawaeb</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="8">
			<attr value="name">TewaeSiassi</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="9">
			<attr value="name">NonMorobean</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="10">
		<attr value="name">DISTRICT</attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>
			<attr value="appearance">';


	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="head">'.xmlencode("Gerson Solulu Scholarship Graduates by District").'</attr>
<attr value="foot">'.xmlencode("Districts").'</attr>
<attr value="y_axis_label">'.xmlencode("Total Graduates").'</attr>


<attr value="slegend">true</attr>
<attr value="sgrid">true</attr>
<attr value="sname">true</attr>
<attr value="sval">true</attr>
<attr value="sanim">true</attr>
<attr value="sstacked">false</attr>
<attr value="slog">false</attr>
<attr value="aqua">0</attr>
<attr value="cview">0</attr>
<attr value="is3d">0</attr>
<attr value="isstacked">0</attr>
<attr value="linestyle">0</attr>
<attr value="autoupdate">0</attr>
<attr value="autoupmin">300</attr>';
$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>

<attr value="fields">';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="0">
		<attr value="name">Bulolo</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","Bulolo")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="1">
		<attr value="name">Finschhafen</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","Finschhafen")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="2">
		<attr value="name">Huon</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","Huon")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="3">
		<attr value="name">Kabwum</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","Kabwum")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="4">
		<attr value="name">Lae</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","Lae")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="5">
		<attr value="name">Markham</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","Markham")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="6">
		<attr value="name">Menyamya</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","Menyamya")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="7">
		<attr value="name">Nawaeb</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","Nawaeb")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="8">
		<attr value="name">TewaeSiassi</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","TewaeSiassi")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="9">
		<attr value="name">NonMorobean</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","NonMorobean")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdataChartGraduatesByDistrict[".chartXml"] .= '<attr value="10">
		<attr value="name">DISTRICT</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("ChartGraduatesByDistrict","DISTRICT")).'</attr>
		<attr value="search"></attr>
	</attr>';
$tdataChartGraduatesByDistrict[".chartXml"] .= '</attr>


<attr value="settings">
<attr value="name">ChartGraduatesByDistrict</attr>
<attr value="short_table_name">ChartGraduatesByDistrict</attr>
</attr>

</chart>';

$tables_data["ChartGraduatesByDistrict"]=&$tdataChartGraduatesByDistrict;
$field_labels["ChartGraduatesByDistrict"] = &$fieldLabelsChartGraduatesByDistrict;
$fieldToolTips["ChartGraduatesByDistrict"] = &$fieldToolTipsChartGraduatesByDistrict;
$placeHolders["ChartGraduatesByDistrict"] = &$placeHoldersChartGraduatesByDistrict;
$page_titles["ChartGraduatesByDistrict"] = &$pageTitlesChartGraduatesByDistrict;

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

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



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


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










function createSqlQuery_ChartGraduatesByDistrict()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "SUM(FatherDistrict='Bulolo' or MotherDistrict='Bulolo') AS Bulolo,  SUM(FatherDistrict='Finschhafen' or MotherDistrict= 'Finschhafen') AS Finschhafen,  SUM(FatherDistrict='Huon' or MotherDistrict='Huon') AS Huon,  SUM(FatherDistrict='Kabwum' or MotherDistrict='Kabwum') AS Kabwum,  SUM(FatherDistrict='Lae' or MotherDistrict='Lae') AS Lae,  SUM(FatherDistrict='Markham' or MotherDistrict='Markham') AS Markham,  SUM(FatherDistrict='Menyamya' or MotherDistrict='Menyamya') AS Menyamya,  SUM(FatherDistrict='Nawaeb' or MotherDistrict='Nawaeb') AS Nawaeb,  SUM(FatherDistrict='Tewae-Siassi' or MotherDistrict='Tewae-Siassi') AS TewaeSiassi,  SUM(FatherDistrict='Non-Morobean' or MotherDistrict='NonMorobean') AS NonMorobean,  SUM(FatherDistrict=' ' or MotherDistrict=' ') AS DISTRICT";
$proto0["m_strFrom"] = "FROM applicform";
$proto0["m_strWhere"] = "(Graduated =1)";
$proto0["m_strOrderBy"] = "";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "Graduated =1";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Graduated",
	"m_strTable" => "applicform",
	"m_srcTableName" => "ChartGraduatesByDistrict"
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
$proto2["m_strCase"] = "=1";
$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();
			$proto7=array();
$proto7["m_functiontype"] = "SQLF_SUM";
$proto7["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Bulolo' or MotherDistrict='Bulolo'"
));

$proto7["m_arguments"][]=$obj;
$proto7["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto7);

$proto6["m_sql"] = "SUM(FatherDistrict='Bulolo' or MotherDistrict='Bulolo')";
$proto6["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto6["m_expr"]=$obj;
$proto6["m_alias"] = "Bulolo";
$obj = new SQLFieldListItem($proto6);

$proto0["m_fieldlist"][]=$obj;
						$proto9=array();
			$proto10=array();
$proto10["m_functiontype"] = "SQLF_SUM";
$proto10["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Finschhafen' or MotherDistrict= 'Finschhafen'"
));

$proto10["m_arguments"][]=$obj;
$proto10["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto10);

$proto9["m_sql"] = "SUM(FatherDistrict='Finschhafen' or MotherDistrict= 'Finschhafen')";
$proto9["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "Finschhafen";
$obj = new SQLFieldListItem($proto9);

$proto0["m_fieldlist"][]=$obj;
						$proto12=array();
			$proto13=array();
$proto13["m_functiontype"] = "SQLF_SUM";
$proto13["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Huon' or MotherDistrict='Huon'"
));

$proto13["m_arguments"][]=$obj;
$proto13["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto13);

$proto12["m_sql"] = "SUM(FatherDistrict='Huon' or MotherDistrict='Huon')";
$proto12["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto12["m_expr"]=$obj;
$proto12["m_alias"] = "Huon";
$obj = new SQLFieldListItem($proto12);

$proto0["m_fieldlist"][]=$obj;
						$proto15=array();
			$proto16=array();
$proto16["m_functiontype"] = "SQLF_SUM";
$proto16["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Kabwum' or MotherDistrict='Kabwum'"
));

$proto16["m_arguments"][]=$obj;
$proto16["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto16);

$proto15["m_sql"] = "SUM(FatherDistrict='Kabwum' or MotherDistrict='Kabwum')";
$proto15["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto15["m_expr"]=$obj;
$proto15["m_alias"] = "Kabwum";
$obj = new SQLFieldListItem($proto15);

$proto0["m_fieldlist"][]=$obj;
						$proto18=array();
			$proto19=array();
$proto19["m_functiontype"] = "SQLF_SUM";
$proto19["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Lae' or MotherDistrict='Lae'"
));

$proto19["m_arguments"][]=$obj;
$proto19["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto19);

$proto18["m_sql"] = "SUM(FatherDistrict='Lae' or MotherDistrict='Lae')";
$proto18["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "Lae";
$obj = new SQLFieldListItem($proto18);

$proto0["m_fieldlist"][]=$obj;
						$proto21=array();
			$proto22=array();
$proto22["m_functiontype"] = "SQLF_SUM";
$proto22["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Markham' or MotherDistrict='Markham'"
));

$proto22["m_arguments"][]=$obj;
$proto22["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto22);

$proto21["m_sql"] = "SUM(FatherDistrict='Markham' or MotherDistrict='Markham')";
$proto21["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto21["m_expr"]=$obj;
$proto21["m_alias"] = "Markham";
$obj = new SQLFieldListItem($proto21);

$proto0["m_fieldlist"][]=$obj;
						$proto24=array();
			$proto25=array();
$proto25["m_functiontype"] = "SQLF_SUM";
$proto25["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Menyamya' or MotherDistrict='Menyamya'"
));

$proto25["m_arguments"][]=$obj;
$proto25["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto25);

$proto24["m_sql"] = "SUM(FatherDistrict='Menyamya' or MotherDistrict='Menyamya')";
$proto24["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto24["m_expr"]=$obj;
$proto24["m_alias"] = "Menyamya";
$obj = new SQLFieldListItem($proto24);

$proto0["m_fieldlist"][]=$obj;
						$proto27=array();
			$proto28=array();
$proto28["m_functiontype"] = "SQLF_SUM";
$proto28["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Nawaeb' or MotherDistrict='Nawaeb'"
));

$proto28["m_arguments"][]=$obj;
$proto28["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto28);

$proto27["m_sql"] = "SUM(FatherDistrict='Nawaeb' or MotherDistrict='Nawaeb')";
$proto27["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto27["m_expr"]=$obj;
$proto27["m_alias"] = "Nawaeb";
$obj = new SQLFieldListItem($proto27);

$proto0["m_fieldlist"][]=$obj;
						$proto30=array();
			$proto31=array();
$proto31["m_functiontype"] = "SQLF_SUM";
$proto31["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Tewae-Siassi' or MotherDistrict='Tewae-Siassi'"
));

$proto31["m_arguments"][]=$obj;
$proto31["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto31);

$proto30["m_sql"] = "SUM(FatherDistrict='Tewae-Siassi' or MotherDistrict='Tewae-Siassi')";
$proto30["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto30["m_expr"]=$obj;
$proto30["m_alias"] = "TewaeSiassi";
$obj = new SQLFieldListItem($proto30);

$proto0["m_fieldlist"][]=$obj;
						$proto33=array();
			$proto34=array();
$proto34["m_functiontype"] = "SQLF_SUM";
$proto34["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict='Non-Morobean' or MotherDistrict='NonMorobean'"
));

$proto34["m_arguments"][]=$obj;
$proto34["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto34);

$proto33["m_sql"] = "SUM(FatherDistrict='Non-Morobean' or MotherDistrict='NonMorobean')";
$proto33["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto33["m_expr"]=$obj;
$proto33["m_alias"] = "NonMorobean";
$obj = new SQLFieldListItem($proto33);

$proto0["m_fieldlist"][]=$obj;
						$proto36=array();
			$proto37=array();
$proto37["m_functiontype"] = "SQLF_SUM";
$proto37["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "FatherDistrict=' ' or MotherDistrict=' '"
));

$proto37["m_arguments"][]=$obj;
$proto37["m_strFunctionName"] = "SUM";
$obj = new SQLFunctionCall($proto37);

$proto36["m_sql"] = "SUM(FatherDistrict=' ' or MotherDistrict=' ')";
$proto36["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto36["m_expr"]=$obj;
$proto36["m_alias"] = "DISTRICT";
$obj = new SQLFieldListItem($proto36);

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

$proto39["m_table"] = $obj;
$proto39["m_sql"] = "applicform";
$proto39["m_alias"] = "";
$proto39["m_srcTableName"] = "ChartGraduatesByDistrict";
$proto41=array();
$proto41["m_sql"] = "";
$proto41["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

	return $obj;
}
$queryData_ChartGraduatesByDistrict = createSqlQuery_ChartGraduatesByDistrict();


	
		;

											

$tdataChartGraduatesByDistrict[".sqlquery"] = $queryData_ChartGraduatesByDistrict;

$tableEvents["ChartGraduatesByDistrict"] = new eventsBase;
$tdataChartGraduatesByDistrict[".hasEvents"] = false;

?>