<?php



$tdataReporting_Module = array();
$tdataReporting_Module[".searchableFields"] = array();
$tdataReporting_Module[".ShortName"] = "Reporting_Module";
$tdataReporting_Module[".OwnerID"] = "";
$tdataReporting_Module[".OriginalTable"] = "applicform";


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

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

//	field labels
$fieldLabelsReporting_Module = array();
$fieldToolTipsReporting_Module = array();
$pageTitlesReporting_Module = array();
$placeHoldersReporting_Module = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsReporting_Module["English"] = array();
	$fieldToolTipsReporting_Module["English"] = array();
	$placeHoldersReporting_Module["English"] = array();
	$pageTitlesReporting_Module["English"] = array();
	$fieldLabelsReporting_Module["English"]["StudentSchoolID"] = "Student School ID";
	$fieldToolTipsReporting_Module["English"]["StudentSchoolID"] = "";
	$placeHoldersReporting_Module["English"]["StudentSchoolID"] = "";
	$fieldLabelsReporting_Module["English"]["Surname"] = "Surname";
	$fieldToolTipsReporting_Module["English"]["Surname"] = "";
	$placeHoldersReporting_Module["English"]["Surname"] = "";
	$fieldLabelsReporting_Module["English"]["FirstName"] = "First Name";
	$fieldToolTipsReporting_Module["English"]["FirstName"] = "";
	$placeHoldersReporting_Module["English"]["FirstName"] = "";
	if (count($fieldToolTipsReporting_Module["English"]))
		$tdataReporting_Module[".isUseToolTips"] = true;
}


	$tdataReporting_Module[".NCSearch"] = true;



$tdataReporting_Module[".shortTableName"] = "Reporting_Module";
$tdataReporting_Module[".nSecOptions"] = 0;

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

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

	



$tdataReporting_Module[".showAddInPopup"] = true;

$tdataReporting_Module[".showEditInPopup"] = true;

$tdataReporting_Module[".showViewInPopup"] = true;

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


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

	$tdataReporting_Module[".audit"] = false;

	$tdataReporting_Module[".locking"] = false;


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

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

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

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

$tdataReporting_Module[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataReporting_Module[".isUseAjaxSuggest"] = true;

$tdataReporting_Module[".rowHighlite"] = true;



						

$tdataReporting_Module[".ajaxCodeSnippetAdded"] = false;

$tdataReporting_Module[".buttonsAdded"] = false;

$tdataReporting_Module[".addPageEvents"] = false;

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




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

$tdataReporting_Module[".googleLikeFields"] = array();
$tdataReporting_Module[".googleLikeFields"][] = "StudentSchoolID";
$tdataReporting_Module[".googleLikeFields"][] = "Surname";
$tdataReporting_Module[".googleLikeFields"][] = "FirstName";



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

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

$tdataReporting_Module[".nPrinterSplitRecords"] = 40;

$tdataReporting_Module[".geocodingEnabled"] = false;




$tdataReporting_Module[".isDisplayLoading"] = true;

$tdataReporting_Module[".isResizeColumns"] = true;





$tdataReporting_Module[".pageSize"] = 20;

$tdataReporting_Module[".warnLeavingPages"] = true;



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

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

$tdataReporting_Module[".sqlHead"] = "SELECT StudentSchoolID,  Surname,  FirstName";
$tdataReporting_Module[".sqlFrom"] = "FROM applicform";
$tdataReporting_Module[".sqlWhereExpr"] = "";
$tdataReporting_Module[".sqlTail"] = "";










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

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


$tableKeysReporting_Module = array();
$tdataReporting_Module[".Keys"] = $tableKeysReporting_Module;


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




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

	
	
	
			

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



		$edata["IsRequired"] = true;

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

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


	$fdata["isSeparate"] = false;




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

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



		$edata["IsRequired"] = true;

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

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


	$fdata["isSeparate"] = false;




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

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataReporting_Module["FirstName"] = $fdata;
		$tdataReporting_Module[".searchableFields"][] = "FirstName";


$tables_data["Reporting Module"]=&$tdataReporting_Module;
$field_labels["Reporting_Module"] = &$fieldLabelsReporting_Module;
$fieldToolTips["Reporting_Module"] = &$fieldToolTipsReporting_Module;
$placeHolders["Reporting_Module"] = &$placeHoldersReporting_Module;
$page_titles["Reporting_Module"] = &$pageTitlesReporting_Module;

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

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



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


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










function createSqlQuery_Reporting_Module()
{
$proto3=array();
$proto3["m_strHead"] = "SELECT";
$proto3["m_strFieldList"] = "StudentSchoolID,  Surname,  FirstName";
$proto3["m_strFrom"] = "FROM applicform";
$proto3["m_strWhere"] = "";
$proto3["m_strOrderBy"] = "";
	
		;
			$proto3["cipherer"] = null;
$proto5=array();
$proto5["m_sql"] = "";
$proto5["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

$proto3["m_having"] = $obj;
$proto3["m_fieldlist"] = array();
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "StudentSchoolID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Reporting Module"
));

$proto9["m_sql"] = "StudentSchoolID";
$proto9["m_srcTableName"] = "Reporting Module";
$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto3["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Reporting Module"
));

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

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

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

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

$proto15["m_table"] = $obj;
$proto15["m_sql"] = "applicform";
$proto15["m_alias"] = "";
$proto15["m_srcTableName"] = "Reporting Module";
$proto17=array();
$proto17["m_sql"] = "";
$proto17["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto3["m_fromlist"][]=$obj;
$proto3["m_groupby"] = array();
$proto3["m_orderby"] = array();
$proto3["m_srcTableName"]="Reporting Module";		
$obj = new SQLQuery($proto3);

	return $obj;
}
$queryData_Reporting_Module = createSqlQuery_Reporting_Module();


	
		;

			

$tdataReporting_Module[".sqlquery"] = $queryData_Reporting_Module;

$tableEvents["Reporting Module"] = new eventsBase;
$tdataReporting_Module[".hasEvents"] = false;

?>