<?php
$tdatab_case_03 = array();
$tdatab_case_03[".searchableFields"] = array();
$tdatab_case_03[".ShortName"] = "b_case_03";
$tdatab_case_03[".OwnerID"] = "";
$tdatab_case_03[".OriginalTable"] = "b_case_03";


$tdatab_case_03[".pagesByType"] = my_json_decode( "{\"export\":[\"export\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"]}" );
$tdatab_case_03[".originalPagesByType"] = $tdatab_case_03[".pagesByType"];
$tdatab_case_03[".pages"] = types2pages( my_json_decode( "{\"export\":[\"export\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"]}" ) );
$tdatab_case_03[".originalPages"] = $tdatab_case_03[".pages"];
$tdatab_case_03[".defaultPages"] = my_json_decode( "{\"export\":\"export\",\"list\":\"list\",\"print\":\"print\",\"search\":\"search\"}" );
$tdatab_case_03[".originalDefaultPages"] = $tdatab_case_03[".defaultPages"];

//	field labels
$fieldLabelsb_case_03 = array();
$fieldToolTipsb_case_03 = array();
$pageTitlesb_case_03 = array();
$placeHoldersb_case_03 = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsb_case_03["English"] = array();
	$fieldToolTipsb_case_03["English"] = array();
	$placeHoldersb_case_03["English"] = array();
	$pageTitlesb_case_03["English"] = array();
	$fieldLabelsb_case_03["English"]["numPers"] = "Num Pers";
	$fieldToolTipsb_case_03["English"]["numPers"] = "";
	$placeHoldersb_case_03["English"]["numPers"] = "";
	$fieldLabelsb_case_03["English"]["vote"] = "إقترع";
	$fieldToolTipsb_case_03["English"]["vote"] = "";
	$placeHoldersb_case_03["English"]["vote"] = "";
	$fieldLabelsb_case_03["English"]["firstName"] = "الإسم";
	$fieldToolTipsb_case_03["English"]["firstName"] = "";
	$placeHoldersb_case_03["English"]["firstName"] = "";
	$fieldLabelsb_case_03["English"]["fatherName"] = "إسم الأب";
	$fieldToolTipsb_case_03["English"]["fatherName"] = "";
	$placeHoldersb_case_03["English"]["fatherName"] = "";
	$fieldLabelsb_case_03["English"]["lastName"] = "الشهرة";
	$fieldToolTipsb_case_03["English"]["lastName"] = "";
	$placeHoldersb_case_03["English"]["lastName"] = "";
	$fieldLabelsb_case_03["English"]["motherName"] = "إسم الأم";
	$fieldToolTipsb_case_03["English"]["motherName"] = "";
	$placeHoldersb_case_03["English"]["motherName"] = "";
	$fieldLabelsb_case_03["English"]["numRegister"] = "رقم السجل";
	$fieldToolTipsb_case_03["English"]["numRegister"] = "";
	$placeHoldersb_case_03["English"]["numRegister"] = "";
	$fieldLabelsb_case_03["English"]["sortNbr"] = "متسلسل";
	$fieldToolTipsb_case_03["English"]["sortNbr"] = "";
	$placeHoldersb_case_03["English"]["sortNbr"] = "";
	$fieldLabelsb_case_03["English"]["repairList"] = "تصحيح اللائحة";
	$fieldToolTipsb_case_03["English"]["repairList"] = "";
	$placeHoldersb_case_03["English"]["repairList"] = "";
	$pageTitlesb_case_03["English"]["list"] = "البوشرية 3";
	$pageTitlesb_case_03["English"]["print"] = "البوشرية 3";
	$pageTitlesb_case_03["English"]["search"] = "البوشرية 3 - Advanced search";
	if (count($fieldToolTipsb_case_03["English"]))
		$tdatab_case_03[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="Arabic")
{
	$fieldLabelsb_case_03["Arabic"] = array();
	$fieldToolTipsb_case_03["Arabic"] = array();
	$placeHoldersb_case_03["Arabic"] = array();
	$pageTitlesb_case_03["Arabic"] = array();
	$fieldLabelsb_case_03["Arabic"]["numPers"] = "Num Pers";
	$fieldToolTipsb_case_03["Arabic"]["numPers"] = "";
	$placeHoldersb_case_03["Arabic"]["numPers"] = "";
	$fieldLabelsb_case_03["Arabic"]["vote"] = "إقترع";
	$fieldToolTipsb_case_03["Arabic"]["vote"] = "";
	$placeHoldersb_case_03["Arabic"]["vote"] = "";
	$fieldLabelsb_case_03["Arabic"]["firstName"] = "الإسم";
	$fieldToolTipsb_case_03["Arabic"]["firstName"] = "";
	$placeHoldersb_case_03["Arabic"]["firstName"] = "";
	$fieldLabelsb_case_03["Arabic"]["fatherName"] = "إسم الأب";
	$fieldToolTipsb_case_03["Arabic"]["fatherName"] = "";
	$placeHoldersb_case_03["Arabic"]["fatherName"] = "";
	$fieldLabelsb_case_03["Arabic"]["lastName"] = "الشهرة";
	$fieldToolTipsb_case_03["Arabic"]["lastName"] = "";
	$placeHoldersb_case_03["Arabic"]["lastName"] = "";
	$fieldLabelsb_case_03["Arabic"]["motherName"] = "إسم الأم";
	$fieldToolTipsb_case_03["Arabic"]["motherName"] = "";
	$placeHoldersb_case_03["Arabic"]["motherName"] = "";
	$fieldLabelsb_case_03["Arabic"]["numRegister"] = "رقم السجل";
	$fieldToolTipsb_case_03["Arabic"]["numRegister"] = "";
	$placeHoldersb_case_03["Arabic"]["numRegister"] = "";
	$fieldLabelsb_case_03["Arabic"]["sortNbr"] = "متسلسل";
	$fieldToolTipsb_case_03["Arabic"]["sortNbr"] = "";
	$placeHoldersb_case_03["Arabic"]["sortNbr"] = "";
	$fieldLabelsb_case_03["Arabic"]["repairList"] = "تصحيح اللائحة";
	$fieldToolTipsb_case_03["Arabic"]["repairList"] = "";
	$placeHoldersb_case_03["Arabic"]["repairList"] = "";
	$pageTitlesb_case_03["Arabic"]["list"] = "البوشرية 3";
	$pageTitlesb_case_03["Arabic"]["print"] = "البوشرية 3";
	$pageTitlesb_case_03["Arabic"]["search"] = "البوشرية 3  -  بحث متقدم";
	if (count($fieldToolTipsb_case_03["Arabic"]))
		$tdatab_case_03[".isUseToolTips"] = true;
}


	$tdatab_case_03[".NCSearch"] = true;



$tdatab_case_03[".shortTableName"] = "b_case_03";
$tdatab_case_03[".nSecOptions"] = 0;

$tdatab_case_03[".mainTableOwnerID"] = "";
$tdatab_case_03[".entityType"] = 0;
$tdatab_case_03[".connId"] = "electiondb_at_ssl_localhost";


$tdatab_case_03[".strOriginalTableName"] = "b_case_03";

	



$tdatab_case_03[".showAddInPopup"] = false;

$tdatab_case_03[".showEditInPopup"] = false;

$tdatab_case_03[".showViewInPopup"] = false;

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


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

	$tdatab_case_03[".audit"] = false;

	$tdatab_case_03[".locking"] = false;


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

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

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

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



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




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

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

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

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



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

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

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

$tdatab_case_03[".isUseAjaxSuggest"] = true;

$tdatab_case_03[".rowHighlite"] = true;





$tdatab_case_03[".ajaxCodeSnippetAdded"] = false;

$tdatab_case_03[".buttonsAdded"] = false;

$tdatab_case_03[".addPageEvents"] = false;

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


$tdatab_case_03[".badgeColor"] = "CD853F";


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

$tdatab_case_03[".googleLikeFields"] = array();
$tdatab_case_03[".googleLikeFields"][] = "sortNbr";
$tdatab_case_03[".googleLikeFields"][] = "numPers";
$tdatab_case_03[".googleLikeFields"][] = "vote";
$tdatab_case_03[".googleLikeFields"][] = "firstName";
$tdatab_case_03[".googleLikeFields"][] = "fatherName";
$tdatab_case_03[".googleLikeFields"][] = "lastName";
$tdatab_case_03[".googleLikeFields"][] = "motherName";
$tdatab_case_03[".googleLikeFields"][] = "numRegister";
$tdatab_case_03[".googleLikeFields"][] = "repairList";



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

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

$tdatab_case_03[".nPrinterSplitRecords"] = 40;

$tdatab_case_03[".geocodingEnabled"] = false;










$tdatab_case_03[".pageSize"] = 20;

$tdatab_case_03[".warnLeavingPages"] = true;



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

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


$tdatab_case_03[".sqlHead"] = "SELECT sortNbr,  	numPers,  	vote,  	firstName,  	fatherName,  	lastName,  	motherName,  	numRegister,  	repairList";
$tdatab_case_03[".sqlFrom"] = "FROM b_case_03";
$tdatab_case_03[".sqlWhereExpr"] = "";
$tdatab_case_03[".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;
$tdatab_case_03[".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;
$tdatab_case_03[".arrGroupsPerPage"] = $arrGPP;

$tdatab_case_03[".highlightSearchResults"] = true;

$tableKeysb_case_03 = array();
$tableKeysb_case_03[] = "numPers";
$tdatab_case_03[".Keys"] = $tableKeysb_case_03;


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




//	sortNbr
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "sortNbr";
	$fdata["GoodName"] = "sortNbr";
	$fdata["ownerTable"] = "b_case_03";
	$fdata["Label"] = GetFieldLabel("b_case_03","sortNbr");
	$fdata["FieldType"] = 3;

	
	
	
			

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

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

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

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatab_case_03["sortNbr"] = $fdata;
		$tdatab_case_03[".searchableFields"][] = "sortNbr";
//	numPers
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "numPers";
	$fdata["GoodName"] = "numPers";
	$fdata["ownerTable"] = "b_case_03";
	$fdata["Label"] = GetFieldLabel("b_case_03","numPers");
	$fdata["FieldType"] = 3;

	
	
	
			

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

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

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


	$tdatab_case_03["numPers"] = $fdata;
		$tdatab_case_03[".searchableFields"][] = "numPers";
//	vote
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "vote";
	$fdata["GoodName"] = "vote";
	$fdata["ownerTable"] = "b_case_03";
	$fdata["Label"] = GetFieldLabel("b_case_03","vote");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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"] = 0;
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
	
		$edata["LookupValues"] = array();
	$edata["LookupValues"][] = "YES";
	$edata["LookupValues"][] = "NO";

	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

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


	$tdatab_case_03["vote"] = $fdata;
		$tdatab_case_03[".searchableFields"][] = "vote";
//	firstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "firstName";
	$fdata["GoodName"] = "firstName";
	$fdata["ownerTable"] = "b_case_03";
	$fdata["Label"] = GetFieldLabel("b_case_03","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"] = 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


	$tdatab_case_03["firstName"] = $fdata;
		$tdatab_case_03[".searchableFields"][] = "firstName";
//	fatherName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "fatherName";
	$fdata["GoodName"] = "fatherName";
	$fdata["ownerTable"] = "b_case_03";
	$fdata["Label"] = GetFieldLabel("b_case_03","fatherName");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatab_case_03["fatherName"] = $fdata;
		$tdatab_case_03[".searchableFields"][] = "fatherName";
//	lastName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "lastName";
	$fdata["GoodName"] = "lastName";
	$fdata["ownerTable"] = "b_case_03";
	$fdata["Label"] = GetFieldLabel("b_case_03","lastName");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatab_case_03["lastName"] = $fdata;
		$tdatab_case_03[".searchableFields"][] = "lastName";
//	motherName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "motherName";
	$fdata["GoodName"] = "motherName";
	$fdata["ownerTable"] = "b_case_03";
	$fdata["Label"] = GetFieldLabel("b_case_03","motherName");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatab_case_03["motherName"] = $fdata;
		$tdatab_case_03[".searchableFields"][] = "motherName";
//	numRegister
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "numRegister";
	$fdata["GoodName"] = "numRegister";
	$fdata["ownerTable"] = "b_case_03";
	$fdata["Label"] = GetFieldLabel("b_case_03","numRegister");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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


	
	



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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatab_case_03["numRegister"] = $fdata;
		$tdatab_case_03[".searchableFields"][] = "numRegister";
//	repairList
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "repairList";
	$fdata["GoodName"] = "repairList";
	$fdata["ownerTable"] = "b_case_03";
	$fdata["Label"] = GetFieldLabel("b_case_03","repairList");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

		$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


	$tdatab_case_03["repairList"] = $fdata;
		$tdatab_case_03[".searchableFields"][] = "repairList";


$tables_data["b_case_03"]=&$tdatab_case_03;
$field_labels["b_case_03"] = &$fieldLabelsb_case_03;
$fieldToolTips["b_case_03"] = &$fieldToolTipsb_case_03;
$placeHolders["b_case_03"] = &$placeHoldersb_case_03;
$page_titles["b_case_03"] = &$pageTitlesb_case_03;

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

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



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



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











function createSqlQuery_b_case_03()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "sortNbr,  	numPers,  	vote,  	firstName,  	fatherName,  	lastName,  	motherName,  	numRegister,  	repairList";
$proto0["m_strFrom"] = "FROM b_case_03";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto24=array();
$proto24["m_link"] = "SQLL_MAIN";
			$proto25=array();
$proto25["m_strName"] = "b_case_03";
$proto25["m_srcTableName"] = "b_case_03";
$proto25["m_columns"] = array();
$proto25["m_columns"][] = "sortNbr";
$proto25["m_columns"][] = "numPers";
$proto25["m_columns"][] = "vote";
$proto25["m_columns"][] = "firstName";
$proto25["m_columns"][] = "fatherName";
$proto25["m_columns"][] = "lastName";
$proto25["m_columns"][] = "motherName";
$proto25["m_columns"][] = "numRegister";
$proto25["m_columns"][] = "repairList";
$obj = new SQLTable($proto25);

$proto24["m_table"] = $obj;
$proto24["m_sql"] = "b_case_03";
$proto24["m_alias"] = "";
$proto24["m_srcTableName"] = "b_case_03";
$proto26=array();
$proto26["m_sql"] = "";
$proto26["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

	return $obj;
}
$queryData_b_case_03 = createSqlQuery_b_case_03();


	
		;

									

$tdatab_case_03[".sqlquery"] = $queryData_b_case_03;



$tableEvents["b_case_03"] = new eventsBase;
$tdatab_case_03[".hasEvents"] = false;

?>