<?php



$tdataUpload_Module = array();
$tdataUpload_Module[".searchableFields"] = array();
$tdataUpload_Module[".ShortName"] = "Upload_Module";
$tdataUpload_Module[".OwnerID"] = "MPGID";
$tdataUpload_Module[".OriginalTable"] = "applicform";


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

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

//	field labels
$fieldLabelsUpload_Module = array();
$fieldToolTipsUpload_Module = array();
$pageTitlesUpload_Module = array();
$placeHoldersUpload_Module = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsUpload_Module["English"] = array();
	$fieldToolTipsUpload_Module["English"] = array();
	$placeHoldersUpload_Module["English"] = array();
	$pageTitlesUpload_Module["English"] = array();
	$fieldLabelsUpload_Module["English"]["StudentSchoolID"] = "Student School ID";
	$fieldToolTipsUpload_Module["English"]["StudentSchoolID"] = "";
	$placeHoldersUpload_Module["English"]["StudentSchoolID"] = "";
	$fieldLabelsUpload_Module["English"]["Surname"] = "Surname";
	$fieldToolTipsUpload_Module["English"]["Surname"] = "";
	$placeHoldersUpload_Module["English"]["Surname"] = "";
	$fieldLabelsUpload_Module["English"]["FirstName"] = "First Name";
	$fieldToolTipsUpload_Module["English"]["FirstName"] = "";
	$placeHoldersUpload_Module["English"]["FirstName"] = "";
	$fieldLabelsUpload_Module["English"]["Photo"] = "Photo";
	$fieldToolTipsUpload_Module["English"]["Photo"] = "";
	$placeHoldersUpload_Module["English"]["Photo"] = "";
	$fieldLabelsUpload_Module["English"]["Gender"] = "Gender";
	$fieldToolTipsUpload_Module["English"]["Gender"] = "";
	$placeHoldersUpload_Module["English"]["Gender"] = "";
	$fieldLabelsUpload_Module["English"]["DateofBirth"] = "Dateof Birth";
	$fieldToolTipsUpload_Module["English"]["DateofBirth"] = "";
	$placeHoldersUpload_Module["English"]["DateofBirth"] = "";
	$fieldLabelsUpload_Module["English"]["TertiaryInstitutionAdmitted"] = "Tertiary Institution Admitted";
	$fieldToolTipsUpload_Module["English"]["TertiaryInstitutionAdmitted"] = "";
	$placeHoldersUpload_Module["English"]["TertiaryInstitutionAdmitted"] = "";
	$fieldLabelsUpload_Module["English"]["EmailAddrssAppl"] = "Email Addrss Appl";
	$fieldToolTipsUpload_Module["English"]["EmailAddrssAppl"] = "";
	$placeHoldersUpload_Module["English"]["EmailAddrssAppl"] = "";
	$fieldLabelsUpload_Module["English"]["MobileNoAppl"] = "Mobile No Appl";
	$fieldToolTipsUpload_Module["English"]["MobileNoAppl"] = "";
	$placeHoldersUpload_Module["English"]["MobileNoAppl"] = "";
	$fieldLabelsUpload_Module["English"]["GPA"] = "GPA";
	$fieldToolTipsUpload_Module["English"]["GPA"] = "";
	$placeHoldersUpload_Module["English"]["GPA"] = "";
	$fieldLabelsUpload_Module["English"]["MPGID"] = "MPGID";
	$fieldToolTipsUpload_Module["English"]["MPGID"] = "";
	$placeHoldersUpload_Module["English"]["MPGID"] = "";
	$fieldLabelsUpload_Module["English"]["Documents"] = "Documents";
	$fieldToolTipsUpload_Module["English"]["Documents"] = "";
	$placeHoldersUpload_Module["English"]["Documents"] = "";
	$fieldLabelsUpload_Module["English"]["1styear"] = "First Year";
	$fieldToolTipsUpload_Module["English"]["1styear"] = "";
	$placeHoldersUpload_Module["English"]["1styear"] = "";
	$fieldLabelsUpload_Module["English"]["ProgramName"] = "Program Name";
	$fieldToolTipsUpload_Module["English"]["ProgramName"] = "";
	$placeHoldersUpload_Module["English"]["ProgramName"] = "";
	$fieldLabelsUpload_Module["English"]["ProgramCode"] = "Program Code";
	$fieldToolTipsUpload_Module["English"]["ProgramCode"] = "";
	$placeHoldersUpload_Module["English"]["ProgramCode"] = "";
	$fieldLabelsUpload_Module["English"]["transcripts"] = "Transcripts";
	$fieldToolTipsUpload_Module["English"]["transcripts"] = "";
	$placeHoldersUpload_Module["English"]["transcripts"] = "";
	$pageTitlesUpload_Module["English"]["edit"] = "Upload Documents for [{%MPGID}]";
	if (count($fieldToolTipsUpload_Module["English"]))
		$tdataUpload_Module[".isUseToolTips"] = true;
}


	$tdataUpload_Module[".NCSearch"] = true;



$tdataUpload_Module[".shortTableName"] = "Upload_Module";
$tdataUpload_Module[".nSecOptions"] = 2;

$tdataUpload_Module[".mainTableOwnerID"] = "MPGID";
$tdataUpload_Module[".entityType"] = 1;

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

	



$tdataUpload_Module[".showAddInPopup"] = false;

$tdataUpload_Module[".showEditInPopup"] = true;

$tdataUpload_Module[".showViewInPopup"] = true;

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


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

	$tdataUpload_Module[".audit"] = false;

	$tdataUpload_Module[".locking"] = false;


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

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

if( $pages[PAGE_ADD] ) {
$tdataUpload_Module[".add"] = true;
$tdataUpload_Module[".afterAddAction"] = 2;
$tdataUpload_Module[".closePopupAfterAdd"] = 1;
$tdataUpload_Module[".afterAddActionDetTable"] = "Detail tables not found!";
}

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

$tdataUpload_Module[".updateSelected"] = true;


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




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

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

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

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



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

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

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

$tdataUpload_Module[".isUseAjaxSuggest"] = true;

$tdataUpload_Module[".rowHighlite"] = true;



						

$tdataUpload_Module[".ajaxCodeSnippetAdded"] = false;

$tdataUpload_Module[".buttonsAdded"] = false;

$tdataUpload_Module[".addPageEvents"] = false;

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




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

$tdataUpload_Module[".googleLikeFields"] = array();
$tdataUpload_Module[".googleLikeFields"][] = "Surname";
$tdataUpload_Module[".googleLikeFields"][] = "FirstName";
$tdataUpload_Module[".googleLikeFields"][] = "TertiaryInstitutionAdmitted";
$tdataUpload_Module[".googleLikeFields"][] = "MPGID";
$tdataUpload_Module[".googleLikeFields"][] = "1styear";
$tdataUpload_Module[".googleLikeFields"][] = "ProgramName";
$tdataUpload_Module[".googleLikeFields"][] = "ProgramCode";



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

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

$tdataUpload_Module[".nPrinterSplitRecords"] = 40;

$tdataUpload_Module[".geocodingEnabled"] = true;
$tdataUpload_Module[".geocodingData"] = array();
$tdataUpload_Module[".geocodingData"]["latField"] = "Lat";
$tdataUpload_Module[".geocodingData"]["lngField"] = "Lng";
$tdataUpload_Module[".geocodingData"]["addressFields"] = array();
	$tdataUpload_Module[".geocodingData"]["addressFields"][] = "FirstName";
	$tdataUpload_Module[".geocodingData"]["addressFields"][] = "Surname";
	$tdataUpload_Module[".geocodingData"]["addressFields"][] = "MPGID";




$tdataUpload_Module[".isDisplayLoading"] = true;

$tdataUpload_Module[".isResizeColumns"] = true;





$tdataUpload_Module[".pageSize"] = 20;

$tdataUpload_Module[".warnLeavingPages"] = true;



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

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

$tdataUpload_Module[".sqlHead"] = "SELECT StudentSchoolID,  Surname,  FirstName,  Photo,  Gender,  DateofBirth,  TertiaryInstitutionAdmitted,  EmailAddrssAppl,  MobileNoAppl,  GPA,  MPGID,  Documents,  `1styear`,  ProgramName,  ProgramCode,  transcripts";
$tdataUpload_Module[".sqlFrom"] = "FROM applicform";
$tdataUpload_Module[".sqlWhereExpr"] = "";
$tdataUpload_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;
$tdataUpload_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;
$tdataUpload_Module[".arrGroupsPerPage"] = $arrGPP;


$tableKeysUpload_Module = array();
$tableKeysUpload_Module[] = "MPGID";
$tdataUpload_Module[".Keys"] = $tableKeysUpload_Module;


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




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


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

			// the user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
// 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


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

			// the user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
// 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


	$tdataUpload_Module["FirstName"] = $fdata;
		$tdataUpload_Module[".searchableFields"][] = "FirstName";
//	Photo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "Photo";
	$fdata["GoodName"] = "Photo";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Upload_Module","Photo");
	$fdata["FieldType"] = 201;

	
	
	
			

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

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

		$fdata["DeleteAssociatedFile"] = true;

	
		$fdata["UploadCodeExpression"] = true;

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

	$vdata = array("ViewFormat" => "File-based Image");

	
	
				$vdata["ShowThumbnail"] = true;
	$vdata["ThumbWidth"] = 0;
	$vdata["ThumbHeight"] = 0;
	$vdata["ImageWidth"] = 100;
	$vdata["ImageHeight"] = 100;

			$vdata["multipleImgMode"] = 1;
	$vdata["maxImages"] = 0;

			$vdata["showGallery"] = true;
	$vdata["galleryMode"] = 2;
	$vdata["captionMode"] = 2;
	$vdata["captionField"] = "";

	$vdata["imageBorder"] = 1;
	$vdata["imageFullWidth"] = 1;


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

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

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

	$edata = array("EditFormat" => "Document upload");

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


	
	



	
	
	
	
							$edata["acceptFileTypes"] = "bmp";
			$edata["acceptFileTypesHtml"] = ".bmp";
						$edata["acceptFileTypes"] .= "|doc";
			$edata["acceptFileTypesHtml"] .= ",.doc";
						$edata["acceptFileTypes"] .= "|docx";
			$edata["acceptFileTypesHtml"] .= ",.docx";
						$edata["acceptFileTypes"] .= "|gif";
			$edata["acceptFileTypesHtml"] .= ",.gif";
						$edata["acceptFileTypes"] .= "|jpe";
			$edata["acceptFileTypesHtml"] .= ",.jpe";
						$edata["acceptFileTypes"] .= "|jpeg";
			$edata["acceptFileTypesHtml"] .= ",.jpeg";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 2;

		$edata["maxFileSize"] = 2500;

		$edata["maxTotalFilesSize"] = 7000;

	
	
	
	
		$edata["controlWidth"] = 143;

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

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 320;

				$edata["ResizeImage"] = true;
				$edata["NewSize"] = 640;

	
	
	
	$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


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

	
	
	
		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

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


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

			// the user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
// 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


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataUpload_Module["MobileNoAppl"] = $fdata;
		$tdataUpload_Module[".searchableFields"][] = "MobileNoAppl";
//	GPA
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "GPA";
	$fdata["GoodName"] = "GPA";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Upload_Module","GPA");
	$fdata["FieldType"] = 5;

	
	
	
			

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

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

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


	$fdata["isSeparate"] = false;




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

	// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataUpload_Module["GPA"] = $fdata;
		$tdataUpload_Module[".searchableFields"][] = "GPA";
//	MPGID
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "MPGID";
	$fdata["GoodName"] = "MPGID";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Upload_Module","MPGID");
	$fdata["FieldType"] = 3;

	
		$fdata["AutoInc"] = true;

	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

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

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


	$fdata["isSeparate"] = false;




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

			// the user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
// 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


	$tdataUpload_Module["MPGID"] = $fdata;
		$tdataUpload_Module[".searchableFields"][] = "MPGID";
//	Documents
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "Documents";
	$fdata["GoodName"] = "Documents";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Upload_Module","Documents");
	$fdata["FieldType"] = 201;

	
	
	
			

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

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

		$fdata["DeleteAssociatedFile"] = true;

	
		$fdata["UploadCodeExpression"] = true;

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

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

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

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

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

	$edata = array("EditFormat" => "Document upload");

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


	
	



	
	
	
	
							$edata["acceptFileTypes"] = "doc";
			$edata["acceptFileTypesHtml"] = ".doc";
						$edata["acceptFileTypes"] .= "|docx";
			$edata["acceptFileTypesHtml"] .= ",.docx";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|rtf";
			$edata["acceptFileTypesHtml"] .= ",.rtf";
						$edata["acceptFileTypes"] .= "|txt";
			$edata["acceptFileTypesHtml"] .= ",.txt";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 9;

		$edata["maxFileSize"] = 2500;

		$edata["maxTotalFilesSize"] = 7000;

	
	
	
	
		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


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

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

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

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


	$fdata["isSeparate"] = false;




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

			// the user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
// 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


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

	
	
	
			

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	$edata = array("EditFormat" => "Lookup wizard");

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


	
	

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "University Program Name";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "University Program Name";

	

	
	$edata["LookupOrderBy"] = "University Program Name";

	
	
	
		$edata["SimpleAdd"] = true;

				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "ProgramCode";

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

			// the user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
// 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


	$tdataUpload_Module["ProgramName"] = $fdata;
		$tdataUpload_Module[".searchableFields"][] = "ProgramName";
//	ProgramCode
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "ProgramCode";
	$fdata["GoodName"] = "ProgramCode";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Upload_Module","ProgramCode");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	$edata = array("EditFormat" => "Lookup wizard");

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


	
	

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

	
		
	$edata["LinkField"] = "Universtiy Program Code";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "Universtiy Program Code";

	

	
	$edata["LookupOrderBy"] = "Universtiy Program Code";

	
		$edata["UseCategory"] = true;
	$edata["categoryFields"] = array();
	$edata["categoryFields"][] = array( "main" => "ProgramName", "lookup" => "University Program Name" );

	
		$edata["SimpleAdd"] = true;


	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 143;

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

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


	$fdata["isSeparate"] = false;




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

			// the user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
// 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


	$tdataUpload_Module["ProgramCode"] = $fdata;
		$tdataUpload_Module[".searchableFields"][] = "ProgramCode";
//	transcripts
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "transcripts";
	$fdata["GoodName"] = "transcripts";
	$fdata["ownerTable"] = "applicform";
	$fdata["Label"] = GetFieldLabel("Upload_Module","transcripts");
	$fdata["FieldType"] = 201;

	
	
	
			

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

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

		$fdata["DeleteAssociatedFile"] = true;

	
		$fdata["UploadCodeExpression"] = true;

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

	$vdata = array("ViewFormat" => "File-based Image");

	
	
				$vdata["ShowThumbnail"] = true;
	$vdata["ThumbWidth"] = 72;
	$vdata["ThumbHeight"] = 72;
	$vdata["ImageWidth"] = 457;
	$vdata["ImageHeight"] = 0;

			$vdata["multipleImgMode"] = 1;
	$vdata["maxImages"] = 0;

			$vdata["showGallery"] = true;
	$vdata["galleryMode"] = 2;
	$vdata["captionMode"] = 2;
	$vdata["captionField"] = "";

	$vdata["imageBorder"] = 1;
	$vdata["imageFullWidth"] = 1;


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

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

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

	$edata = array("EditFormat" => "Document upload");

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


	
	



	
	
	
	
							$edata["acceptFileTypes"] = "doc";
			$edata["acceptFileTypesHtml"] = ".doc";
						$edata["acceptFileTypes"] .= "|docx";
			$edata["acceptFileTypesHtml"] .= ",.docx";
						$edata["acceptFileTypes"] .= "|jpg";
			$edata["acceptFileTypesHtml"] .= ",.jpg";
						$edata["acceptFileTypes"] .= "|pdf";
			$edata["acceptFileTypesHtml"] .= ",.pdf";
						$edata["acceptFileTypes"] .= "|png";
			$edata["acceptFileTypesHtml"] .= ",.png";
						$edata["acceptFileTypes"] .= "|rtf";
			$edata["acceptFileTypesHtml"] .= ",.rtf";
		$edata["acceptFileTypes"] = "(".$edata["acceptFileTypes"].")$";

		$edata["maxNumberOfFiles"] = 1;

		$edata["maxFileSize"] = 635;

		$edata["maxTotalFilesSize"] = 2500;

	
	
	
	
		$edata["controlWidth"] = 200;

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

		$edata["CreateThumbnail"] = true;
	$edata["StrThumbnail"] = "th";
			$edata["ThumbnailSize"] = 320;

				$edata["ResizeImage"] = true;
				$edata["NewSize"] = 640;

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataUpload_Module["transcripts"] = $fdata;
		$tdataUpload_Module[".searchableFields"][] = "transcripts";


$tables_data["Upload Module"]=&$tdataUpload_Module;
$field_labels["Upload_Module"] = &$fieldLabelsUpload_Module;
$fieldToolTips["Upload_Module"] = &$fieldToolTipsUpload_Module;
$placeHolders["Upload_Module"] = &$placeHoldersUpload_Module;
$page_titles["Upload_Module"] = &$pageTitlesUpload_Module;

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

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



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


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










function createSqlQuery_Upload_Module()
{
$proto2=array();
$proto2["m_strHead"] = "SELECT";
$proto2["m_strFieldList"] = "StudentSchoolID,  Surname,  FirstName,  Photo,  Gender,  DateofBirth,  TertiaryInstitutionAdmitted,  EmailAddrssAppl,  MobileNoAppl,  GPA,  MPGID,  Documents,  `1styear`,  ProgramName,  ProgramCode,  transcripts";
$proto2["m_strFrom"] = "FROM applicform";
$proto2["m_strWhere"] = "";
$proto2["m_strOrderBy"] = "";
	
		;
			$proto2["cipherer"] = null;
$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);

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

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

$proto2["m_having"] = $obj;
$proto2["m_fieldlist"] = array();
						$proto8=array();
			$obj = new SQLField(array(
	"m_strName" => "StudentSchoolID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto10=array();
			$obj = new SQLField(array(
	"m_strName" => "Surname",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto12=array();
			$obj = new SQLField(array(
	"m_strName" => "FirstName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto14=array();
			$obj = new SQLField(array(
	"m_strName" => "Photo",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

$proto14["m_sql"] = "Photo";
$proto14["m_srcTableName"] = "Upload Module";
$proto14["m_expr"]=$obj;
$proto14["m_alias"] = "";
$obj = new SQLFieldListItem($proto14);

$proto2["m_fieldlist"][]=$obj;
						$proto16=array();
			$obj = new SQLField(array(
	"m_strName" => "Gender",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto18=array();
			$obj = new SQLField(array(
	"m_strName" => "DateofBirth",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLField(array(
	"m_strName" => "TertiaryInstitutionAdmitted",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto22=array();
			$obj = new SQLField(array(
	"m_strName" => "EmailAddrssAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto24=array();
			$obj = new SQLField(array(
	"m_strName" => "MobileNoAppl",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto26=array();
			$obj = new SQLField(array(
	"m_strName" => "GPA",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto28=array();
			$obj = new SQLField(array(
	"m_strName" => "MPGID",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto30=array();
			$obj = new SQLField(array(
	"m_strName" => "Documents",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto32=array();
			$obj = new SQLField(array(
	"m_strName" => "1styear",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto34=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramName",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto36=array();
			$obj = new SQLField(array(
	"m_strName" => "ProgramCode",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

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

$proto2["m_fieldlist"][]=$obj;
						$proto38=array();
			$obj = new SQLField(array(
	"m_strName" => "transcripts",
	"m_strTable" => "applicform",
	"m_srcTableName" => "Upload Module"
));

$proto38["m_sql"] = "transcripts";
$proto38["m_srcTableName"] = "Upload Module";
$proto38["m_expr"]=$obj;
$proto38["m_alias"] = "";
$obj = new SQLFieldListItem($proto38);

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

$proto40["m_table"] = $obj;
$proto40["m_sql"] = "applicform";
$proto40["m_alias"] = "";
$proto40["m_srcTableName"] = "Upload Module";
$proto42=array();
$proto42["m_sql"] = "";
$proto42["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

	return $obj;
}
$queryData_Upload_Module = createSqlQuery_Upload_Module();


	
		;

																

$tdataUpload_Module[".sqlquery"] = $queryData_Upload_Module;

$tableEvents["Upload Module"] = new eventsBase;
$tdataUpload_Module[".hasEvents"] = false;

?>