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


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

//	field labels
$fieldLabelss_case_01 = array();
$fieldToolTipss_case_01 = array();
$pageTitless_case_01 = array();
$placeHolderss_case_01 = array();

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


	$tdatas_case_01[".NCSearch"] = true;



$tdatas_case_01[".shortTableName"] = "s_case_01";
$tdatas_case_01[".nSecOptions"] = 0;

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


$tdatas_case_01[".strOriginalTableName"] = "s_case_01";

	



$tdatas_case_01[".showAddInPopup"] = false;

$tdatas_case_01[".showEditInPopup"] = false;

$tdatas_case_01[".showViewInPopup"] = false;

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


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

	$tdatas_case_01[".audit"] = false;

	$tdatas_case_01[".locking"] = false;


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

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

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

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



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




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

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

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

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



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

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

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

$tdatas_case_01[".isUseAjaxSuggest"] = true;

$tdatas_case_01[".rowHighlite"] = true;





$tdatas_case_01[".ajaxCodeSnippetAdded"] = false;

$tdatas_case_01[".buttonsAdded"] = false;

$tdatas_case_01[".addPageEvents"] = false;

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


$tdatas_case_01[".badgeColor"] = "CFAE83";


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

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



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

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

$tdatas_case_01[".nPrinterSplitRecords"] = 40;

$tdatas_case_01[".geocodingEnabled"] = false;










$tdatas_case_01[".pageSize"] = 20;

$tdatas_case_01[".warnLeavingPages"] = true;



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

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


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

$tdatas_case_01[".highlightSearchResults"] = true;

$tableKeyss_case_01 = array();
$tableKeyss_case_01[] = "numPers";
$tdatas_case_01[".Keys"] = $tableKeyss_case_01;


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




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


	$tdatas_case_01["sortNbr"] = $fdata;
		$tdatas_case_01[".searchableFields"][] = "sortNbr";
//	numPers
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "numPers";
	$fdata["GoodName"] = "numPers";
	$fdata["ownerTable"] = "s_case_01";
	$fdata["Label"] = GetFieldLabel("s_case_01","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


	$tdatas_case_01["numPers"] = $fdata;
		$tdatas_case_01[".searchableFields"][] = "numPers";
//	vote
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "vote";
	$fdata["GoodName"] = "vote";
	$fdata["ownerTable"] = "s_case_01";
	$fdata["Label"] = GetFieldLabel("s_case_01","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"] = "Equals";

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


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


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


	$tdatas_case_01["fatherName"] = $fdata;
		$tdatas_case_01[".searchableFields"][] = "fatherName";
//	lastName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "lastName";
	$fdata["GoodName"] = "lastName";
	$fdata["ownerTable"] = "s_case_01";
	$fdata["Label"] = GetFieldLabel("s_case_01","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


	$tdatas_case_01["lastName"] = $fdata;
		$tdatas_case_01[".searchableFields"][] = "lastName";
//	motherName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "motherName";
	$fdata["GoodName"] = "motherName";
	$fdata["ownerTable"] = "s_case_01";
	$fdata["Label"] = GetFieldLabel("s_case_01","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


	$tdatas_case_01["motherName"] = $fdata;
		$tdatas_case_01[".searchableFields"][] = "motherName";
//	numRegister
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "numRegister";
	$fdata["GoodName"] = "numRegister";
	$fdata["ownerTable"] = "s_case_01";
	$fdata["Label"] = GetFieldLabel("s_case_01","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


	$tdatas_case_01["numRegister"] = $fdata;
		$tdatas_case_01[".searchableFields"][] = "numRegister";
//	repairList
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "repairList";
	$fdata["GoodName"] = "repairList";
	$fdata["ownerTable"] = "s_case_01";
	$fdata["Label"] = GetFieldLabel("s_case_01","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


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


$tables_data["s_case_01"]=&$tdatas_case_01;
$field_labels["s_case_01"] = &$fieldLabelss_case_01;
$fieldToolTips["s_case_01"] = &$fieldToolTipss_case_01;
$placeHolders["s_case_01"] = &$placeHolderss_case_01;
$page_titles["s_case_01"] = &$pageTitless_case_01;

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

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



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



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











function createSqlQuery_s_case_01()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "sortNbr,  	numPers,  	vote,  	firstName,  	fatherName,  	lastName,  	motherName,  	numRegister,  	repairList";
$proto0["m_strFrom"] = "FROM s_case_01";
$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" => "s_case_01",
	"m_srcTableName" => "s_case_01"
));

$proto6["m_sql"] = "sortNbr";
$proto6["m_srcTableName"] = "s_case_01";
$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" => "s_case_01",
	"m_srcTableName" => "s_case_01"
));

$proto8["m_sql"] = "numPers";
$proto8["m_srcTableName"] = "s_case_01";
$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" => "s_case_01",
	"m_srcTableName" => "s_case_01"
));

$proto10["m_sql"] = "vote";
$proto10["m_srcTableName"] = "s_case_01";
$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" => "s_case_01",
	"m_srcTableName" => "s_case_01"
));

$proto12["m_sql"] = "firstName";
$proto12["m_srcTableName"] = "s_case_01";
$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" => "s_case_01",
	"m_srcTableName" => "s_case_01"
));

$proto14["m_sql"] = "fatherName";
$proto14["m_srcTableName"] = "s_case_01";
$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" => "s_case_01",
	"m_srcTableName" => "s_case_01"
));

$proto16["m_sql"] = "lastName";
$proto16["m_srcTableName"] = "s_case_01";
$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" => "s_case_01",
	"m_srcTableName" => "s_case_01"
));

$proto18["m_sql"] = "motherName";
$proto18["m_srcTableName"] = "s_case_01";
$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" => "s_case_01",
	"m_srcTableName" => "s_case_01"
));

$proto20["m_sql"] = "numRegister";
$proto20["m_srcTableName"] = "s_case_01";
$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" => "s_case_01",
	"m_srcTableName" => "s_case_01"
));

$proto22["m_sql"] = "repairList";
$proto22["m_srcTableName"] = "s_case_01";
$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"] = "s_case_01";
$proto25["m_srcTableName"] = "s_case_01";
$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"] = "s_case_01";
$proto24["m_alias"] = "";
$proto24["m_srcTableName"] = "s_case_01";
$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"]="s_case_01";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_s_case_01 = createSqlQuery_s_case_01();


	
		;

									

$tdatas_case_01[".sqlquery"] = $queryData_s_case_01;



$tableEvents["s_case_01"] = new eventsBase;
$tdatas_case_01[".hasEvents"] = false;

?>