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


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

//	field labels
$fieldLabelspersons = array();
$fieldToolTipspersons = array();
$pageTitlespersons = array();
$placeHolderspersons = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelspersons["English"] = array();
	$fieldToolTipspersons["English"] = array();
	$placeHolderspersons["English"] = array();
	$pageTitlespersons["English"] = array();
	$fieldLabelspersons["English"]["numPers"] = "الرقم";
	$fieldToolTipspersons["English"]["numPers"] = "";
	$placeHolderspersons["English"]["numPers"] = "";
	$fieldLabelspersons["English"]["firstName"] = "الإسم";
	$fieldToolTipspersons["English"]["firstName"] = "";
	$placeHolderspersons["English"]["firstName"] = "";
	$fieldLabelspersons["English"]["fatherName"] = "إسم الأب";
	$fieldToolTipspersons["English"]["fatherName"] = "";
	$placeHolderspersons["English"]["fatherName"] = "";
	$fieldLabelspersons["English"]["motherName"] = "إسم الأم";
	$fieldToolTipspersons["English"]["motherName"] = "";
	$placeHolderspersons["English"]["motherName"] = "";
	$fieldLabelspersons["English"]["lastName"] = "الشهرة";
	$fieldToolTipspersons["English"]["lastName"] = "";
	$placeHolderspersons["English"]["lastName"] = "";
	$fieldLabelspersons["English"]["sex"] = "الجنس";
	$fieldToolTipspersons["English"]["sex"] = "";
	$placeHolderspersons["English"]["sex"] = "";
	$fieldLabelspersons["English"]["dateNaissance"] = "تاريخ الولادة";
	$fieldToolTipspersons["English"]["dateNaissance"] = "";
	$placeHolderspersons["English"]["dateNaissance"] = "";
	$fieldLabelspersons["English"]["numRegister"] = "رقم السجل";
	$fieldToolTipspersons["English"]["numRegister"] = "";
	$placeHolderspersons["English"]["numRegister"] = "";
	$fieldLabelspersons["English"]["religion"] = "الطائفة";
	$fieldToolTipspersons["English"]["religion"] = "";
	$placeHolderspersons["English"]["religion"] = "";
	$fieldLabelspersons["English"]["region"] = "المنطقة";
	$fieldToolTipspersons["English"]["region"] = "";
	$placeHolderspersons["English"]["region"] = "";
	$fieldLabelspersons["English"]["numRegion"] = "القلم";
	$fieldToolTipspersons["English"]["numRegion"] = "";
	$placeHolderspersons["English"]["numRegion"] = "";
	$fieldLabelspersons["English"]["vote"] = "إقترع";
	$fieldToolTipspersons["English"]["vote"] = "";
	$placeHolderspersons["English"]["vote"] = "";
	$fieldLabelspersons["English"]["phone"] = "رقم الهاتف";
	$fieldToolTipspersons["English"]["phone"] = "";
	$placeHolderspersons["English"]["phone"] = "";
	$fieldLabelspersons["English"]["teamName"] = "الحزب";
	$fieldToolTipspersons["English"]["teamName"] = "";
	$placeHolderspersons["English"]["teamName"] = "";
	$fieldLabelspersons["English"]["status"] = "الوضع الإجتماعي";
	$fieldToolTipspersons["English"]["status"] = "";
	$placeHolderspersons["English"]["status"] = "";
	$fieldLabelspersons["English"]["voteWith"] = "يقترع ";
	$fieldToolTipspersons["English"]["voteWith"] = "";
	$placeHolderspersons["English"]["voteWith"] = "";
	$fieldLabelspersons["English"]["religionRegister"] = "طائفة السجل";
	$fieldToolTipspersons["English"]["religionRegister"] = "";
	$placeHolderspersons["English"]["religionRegister"] = "";
	$fieldLabelspersons["English"]["job"] = "المهنة";
	$fieldToolTipspersons["English"]["job"] = "";
	$placeHolderspersons["English"]["job"] = "";
	$fieldLabelspersons["English"]["hasCar"] = "لديه سيارة";
	$fieldToolTipspersons["English"]["hasCar"] = "";
	$placeHolderspersons["English"]["hasCar"] = "";
	$fieldLabelspersons["English"]["wasit_name"] = "إسم الوسيط";
	$fieldToolTipspersons["English"]["wasit_name"] = "";
	$placeHolderspersons["English"]["wasit_name"] = "";
	$fieldLabelspersons["English"]["address_city"] = "بلدة السكن";
	$fieldToolTipspersons["English"]["address_city"] = "";
	$placeHolderspersons["English"]["address_city"] = "";
	$fieldLabelspersons["English"]["address_street"] = "شارع السكن";
	$fieldToolTipspersons["English"]["address_street"] = "";
	$placeHolderspersons["English"]["address_street"] = "";
	$fieldLabelspersons["English"]["address_build"] = "بناية السكن";
	$fieldToolTipspersons["English"]["address_build"] = "";
	$placeHolderspersons["English"]["address_build"] = "";
	$fieldLabelspersons["English"]["link"] = "صلة القربة";
	$fieldToolTipspersons["English"]["link"] = "";
	$placeHolderspersons["English"]["link"] = "";
	$fieldLabelspersons["English"]["leaderName"] = "الشخصية";
	$fieldToolTipspersons["English"]["leaderName"] = "";
	$placeHolderspersons["English"]["leaderName"] = "";
	$fieldLabelspersons["English"]["adherence"] = "الإلتزام الإنتخابي";
	$fieldToolTipspersons["English"]["adherence"] = "";
	$placeHolderspersons["English"]["adherence"] = "";
	$fieldLabelspersons["English"]["repairList"] = "تصحيح اللائحة";
	$fieldToolTipspersons["English"]["repairList"] = "";
	$placeHolderspersons["English"]["repairList"] = "";
	$fieldLabelspersons["English"]["serviceCode"] = "الخدمات الممنوحة";
	$fieldToolTipspersons["English"]["serviceCode"] = "";
	$placeHolderspersons["English"]["serviceCode"] = "";
	$fieldLabelspersons["English"]["sortNbr"] = "متسلسل";
	$fieldToolTipspersons["English"]["sortNbr"] = "";
	$placeHolderspersons["English"]["sortNbr"] = "";
	$pageTitlespersons["English"]["search1"] = " لائحة الناخبين - بحث متقدم";
	$pageTitlespersons["English"]["edit"] = "لائحة الناخبين - Edit [{%numPers}]";
	$pageTitlespersons["English"]["export"] = "تصدير";
	$pageTitlespersons["English"]["list"] = "لائحة الناخبين";
	$pageTitlespersons["English"]["print"] = "لائحة الناخبين";
	$pageTitlespersons["English"]["search"] = "لائحة الناخبين - Advanced search";
	if (count($fieldToolTipspersons["English"]))
		$tdatapersons[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="Arabic")
{
	$fieldLabelspersons["Arabic"] = array();
	$fieldToolTipspersons["Arabic"] = array();
	$placeHolderspersons["Arabic"] = array();
	$pageTitlespersons["Arabic"] = array();
	$fieldLabelspersons["Arabic"]["numPers"] = "رقم";
	$fieldToolTipspersons["Arabic"]["numPers"] = "";
	$placeHolderspersons["Arabic"]["numPers"] = "";
	$fieldLabelspersons["Arabic"]["firstName"] = "إسم ";
	$fieldToolTipspersons["Arabic"]["firstName"] = "";
	$placeHolderspersons["Arabic"]["firstName"] = "";
	$fieldLabelspersons["Arabic"]["fatherName"] = "أسم الأب";
	$fieldToolTipspersons["Arabic"]["fatherName"] = "";
	$placeHolderspersons["Arabic"]["fatherName"] = "";
	$fieldLabelspersons["Arabic"]["motherName"] = "أسم الأم";
	$fieldToolTipspersons["Arabic"]["motherName"] = "";
	$placeHolderspersons["Arabic"]["motherName"] = "";
	$fieldLabelspersons["Arabic"]["lastName"] = "شهرة";
	$fieldToolTipspersons["Arabic"]["lastName"] = "";
	$placeHolderspersons["Arabic"]["lastName"] = "";
	$fieldLabelspersons["Arabic"]["sex"] = "جنس";
	$fieldToolTipspersons["Arabic"]["sex"] = "";
	$placeHolderspersons["Arabic"]["sex"] = "";
	$fieldLabelspersons["Arabic"]["dateNaissance"] = "تاريخ الولادة";
	$fieldToolTipspersons["Arabic"]["dateNaissance"] = "";
	$placeHolderspersons["Arabic"]["dateNaissance"] = "";
	$fieldLabelspersons["Arabic"]["numRegister"] = "رقم السجل";
	$fieldToolTipspersons["Arabic"]["numRegister"] = "";
	$placeHolderspersons["Arabic"]["numRegister"] = "";
	$fieldLabelspersons["Arabic"]["religion"] = "الطائفة";
	$fieldToolTipspersons["Arabic"]["religion"] = "";
	$placeHolderspersons["Arabic"]["religion"] = "";
	$fieldLabelspersons["Arabic"]["region"] = "المنطقة";
	$fieldToolTipspersons["Arabic"]["region"] = "";
	$placeHolderspersons["Arabic"]["region"] = "";
	$fieldLabelspersons["Arabic"]["numRegion"] = "القلم";
	$fieldToolTipspersons["Arabic"]["numRegion"] = "";
	$placeHolderspersons["Arabic"]["numRegion"] = "";
	$fieldLabelspersons["Arabic"]["vote"] = "إقترع";
	$fieldToolTipspersons["Arabic"]["vote"] = "";
	$placeHolderspersons["Arabic"]["vote"] = "";
	$fieldLabelspersons["Arabic"]["phone"] = "الهاتف";
	$fieldToolTipspersons["Arabic"]["phone"] = "";
	$placeHolderspersons["Arabic"]["phone"] = "";
	$fieldLabelspersons["Arabic"]["teamName"] = "الحزب";
	$fieldToolTipspersons["Arabic"]["teamName"] = "";
	$placeHolderspersons["Arabic"]["teamName"] = "";
	$fieldLabelspersons["Arabic"]["status"] = "الوضع الإجتماعي";
	$fieldToolTipspersons["Arabic"]["status"] = "";
	$placeHolderspersons["Arabic"]["status"] = "";
	$fieldLabelspersons["Arabic"]["voteWith"] = "يقترع ";
	$fieldToolTipspersons["Arabic"]["voteWith"] = "";
	$placeHolderspersons["Arabic"]["voteWith"] = "";
	$fieldLabelspersons["Arabic"]["religionRegister"] = "طائفة السجل";
	$fieldToolTipspersons["Arabic"]["religionRegister"] = "";
	$placeHolderspersons["Arabic"]["religionRegister"] = "";
	$fieldLabelspersons["Arabic"]["job"] = "المهنة";
	$fieldToolTipspersons["Arabic"]["job"] = "";
	$placeHolderspersons["Arabic"]["job"] = "";
	$fieldLabelspersons["Arabic"]["hasCar"] = "لديه سيارة";
	$fieldToolTipspersons["Arabic"]["hasCar"] = "";
	$placeHolderspersons["Arabic"]["hasCar"] = "";
	$fieldLabelspersons["Arabic"]["wasit_name"] = "إسم الوسيط";
	$fieldToolTipspersons["Arabic"]["wasit_name"] = "";
	$placeHolderspersons["Arabic"]["wasit_name"] = "";
	$fieldLabelspersons["Arabic"]["address_city"] = "بلدة السكن";
	$fieldToolTipspersons["Arabic"]["address_city"] = "";
	$placeHolderspersons["Arabic"]["address_city"] = "";
	$fieldLabelspersons["Arabic"]["address_street"] = "شارع السكن";
	$fieldToolTipspersons["Arabic"]["address_street"] = "";
	$placeHolderspersons["Arabic"]["address_street"] = "";
	$fieldLabelspersons["Arabic"]["address_build"] = "بناية السكن";
	$fieldToolTipspersons["Arabic"]["address_build"] = "";
	$placeHolderspersons["Arabic"]["address_build"] = "";
	$fieldLabelspersons["Arabic"]["link"] = "صلة القربة";
	$fieldToolTipspersons["Arabic"]["link"] = "";
	$placeHolderspersons["Arabic"]["link"] = "";
	$fieldLabelspersons["Arabic"]["leaderName"] = "الشخصية";
	$fieldToolTipspersons["Arabic"]["leaderName"] = "";
	$placeHolderspersons["Arabic"]["leaderName"] = "";
	$fieldLabelspersons["Arabic"]["adherence"] = "الإلتزام الإنتخابي";
	$fieldToolTipspersons["Arabic"]["adherence"] = "";
	$placeHolderspersons["Arabic"]["adherence"] = "";
	$fieldLabelspersons["Arabic"]["repairList"] = "تصحيح اللائحة";
	$fieldToolTipspersons["Arabic"]["repairList"] = "";
	$placeHolderspersons["Arabic"]["repairList"] = "";
	$fieldLabelspersons["Arabic"]["serviceCode"] = "الخدمات الممنوحة";
	$fieldToolTipspersons["Arabic"]["serviceCode"] = "";
	$placeHolderspersons["Arabic"]["serviceCode"] = "";
	$fieldLabelspersons["Arabic"]["sortNbr"] = "متسلسل";
	$fieldToolTipspersons["Arabic"]["sortNbr"] = "";
	$placeHolderspersons["Arabic"]["sortNbr"] = "";
	$pageTitlespersons["Arabic"]["search1"] = " لائحة الناخبين - بحث متقدم";
	$pageTitlespersons["Arabic"]["edit"] = "لائحة الناخبين - تحرير [{%numPers}]";
	$pageTitlespersons["Arabic"]["list"] = "لائحة الناخبين";
	$pageTitlespersons["Arabic"]["print"] = "لائحة الناخبين";
	$pageTitlespersons["Arabic"]["search"] = "لائحة الناخبين - بحث متقدم";
	if (count($fieldToolTipspersons["Arabic"]))
		$tdatapersons[".isUseToolTips"] = true;
}


	$tdatapersons[".NCSearch"] = true;



$tdatapersons[".shortTableName"] = "persons";
$tdatapersons[".nSecOptions"] = 0;

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


$tdatapersons[".strOriginalTableName"] = "persons";

	



$tdatapersons[".showAddInPopup"] = false;

$tdatapersons[".showEditInPopup"] = false;

$tdatapersons[".showViewInPopup"] = false;

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


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

	$tdatapersons[".audit"] = false;

	$tdatapersons[".locking"] = false;


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

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

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

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



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




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

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

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

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



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

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

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

$tdatapersons[".isUseAjaxSuggest"] = true;

$tdatapersons[".rowHighlite"] = true;





$tdatapersons[".ajaxCodeSnippetAdded"] = false;

$tdatapersons[".buttonsAdded"] = false;

$tdatapersons[".addPageEvents"] = false;

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


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


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

$tdatapersons[".googleLikeFields"] = array();
$tdatapersons[".googleLikeFields"][] = "firstName";
$tdatapersons[".googleLikeFields"][] = "fatherName";
$tdatapersons[".googleLikeFields"][] = "motherName";
$tdatapersons[".googleLikeFields"][] = "lastName";
$tdatapersons[".googleLikeFields"][] = "sex";
$tdatapersons[".googleLikeFields"][] = "dateNaissance";
$tdatapersons[".googleLikeFields"][] = "numRegister";
$tdatapersons[".googleLikeFields"][] = "religion";
$tdatapersons[".googleLikeFields"][] = "religionRegister";
$tdatapersons[".googleLikeFields"][] = "region";
$tdatapersons[".googleLikeFields"][] = "numRegion";
$tdatapersons[".googleLikeFields"][] = "vote";
$tdatapersons[".googleLikeFields"][] = "phone";
$tdatapersons[".googleLikeFields"][] = "address_city";
$tdatapersons[".googleLikeFields"][] = "address_street";
$tdatapersons[".googleLikeFields"][] = "address_build";
$tdatapersons[".googleLikeFields"][] = "status";
$tdatapersons[".googleLikeFields"][] = "link";
$tdatapersons[".googleLikeFields"][] = "job";
$tdatapersons[".googleLikeFields"][] = "hasCar";
$tdatapersons[".googleLikeFields"][] = "wasit_name";
$tdatapersons[".googleLikeFields"][] = "teamName";
$tdatapersons[".googleLikeFields"][] = "leaderName";
$tdatapersons[".googleLikeFields"][] = "adherence";
$tdatapersons[".googleLikeFields"][] = "voteWith";
$tdatapersons[".googleLikeFields"][] = "repairList";
$tdatapersons[".googleLikeFields"][] = "serviceCode";
$tdatapersons[".googleLikeFields"][] = "sortNbr";



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

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

$tdatapersons[".nPrinterSplitRecords"] = 40;

$tdatapersons[".geocodingEnabled"] = false;










$tdatapersons[".pageSize"] = 20;

$tdatapersons[".warnLeavingPages"] = true;



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

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


$tdatapersons[".sqlHead"] = "SELECT numPers,  	firstName,  	fatherName,  	motherName,  	lastName,  	sex,  	dateNaissance,  	numRegister,  	religion,  	religionRegister,  	region,  	numRegion,  	vote,  	phone,  	address_city,  	address_street,  	address_build,  	status,  	link,  	job,  	hasCar,  	wasit_name,  	teamName,  	leaderName,  	adherence,  	voteWith,  	repairList,  	serviceCode,  	sortNbr";
$tdatapersons[".sqlFrom"] = "FROM persons";
$tdatapersons[".sqlWhereExpr"] = "";
$tdatapersons[".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;
$tdatapersons[".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;
$tdatapersons[".arrGroupsPerPage"] = $arrGPP;

$tdatapersons[".highlightSearchResults"] = true;

$tableKeyspersons = array();
$tableKeyspersons[] = "numPers";
$tdatapersons[".Keys"] = $tableKeyspersons;


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




//	numPers
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "numPers";
	$fdata["GoodName"] = "numPers";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "Starts with";
		$fdata["searchOptionsList"][] = "Empty";
		$fdata["searchOptionsList"][] = "NOT Contains";
		$fdata["searchOptionsList"][] = "NOT Equals";
		$fdata["searchOptionsList"][] = "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


	$tdatapersons["numPers"] = $fdata;
		$tdatapersons[".searchableFields"][] = "numPers";
//	firstName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "firstName";
	$fdata["GoodName"] = "firstName";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "Starts with";
		$fdata["searchOptionsList"][] = "Empty";
		$fdata["searchOptionsList"][] = "NOT Contains";
		$fdata["searchOptionsList"][] = "NOT Equals";
		$fdata["searchOptionsList"][] = "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


	$tdatapersons["firstName"] = $fdata;
		$tdatapersons[".searchableFields"][] = "firstName";
//	fatherName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "fatherName";
	$fdata["GoodName"] = "fatherName";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "Starts with";
		$fdata["searchOptionsList"][] = "Empty";
		$fdata["searchOptionsList"][] = "NOT Contains";
		$fdata["searchOptionsList"][] = "NOT Equals";
		$fdata["searchOptionsList"][] = "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


	$tdatapersons["fatherName"] = $fdata;
		$tdatapersons[".searchableFields"][] = "fatherName";
//	motherName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "motherName";
	$fdata["GoodName"] = "motherName";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "Starts with";
		$fdata["searchOptionsList"][] = "Empty";
		$fdata["searchOptionsList"][] = "NOT Contains";
		$fdata["searchOptionsList"][] = "NOT Equals";
		$fdata["searchOptionsList"][] = "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


	$tdatapersons["motherName"] = $fdata;
		$tdatapersons[".searchableFields"][] = "motherName";
//	lastName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "lastName";
	$fdata["GoodName"] = "lastName";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "Starts with";
		$fdata["searchOptionsList"][] = "Empty";
		$fdata["searchOptionsList"][] = "NOT Contains";
		$fdata["searchOptionsList"][] = "NOT Equals";
		$fdata["searchOptionsList"][] = "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


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

	
	
	
			

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

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

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "sex";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "sex";

	

	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

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

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


	$tdatapersons["sex"] = $fdata;
		$tdatapersons[".searchableFields"][] = "sex";
//	dateNaissance
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "dateNaissance";
	$fdata["GoodName"] = "dateNaissance";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","dateNaissance");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "Starts with";
		$fdata["searchOptionsList"][] = "Between";
		$fdata["searchOptionsList"][] = "Empty";
		$fdata["searchOptionsList"][] = "NOT Contains";
		$fdata["searchOptionsList"][] = "NOT Equals";
		$fdata["searchOptionsList"][] = "NOT Between";
		$fdata["searchOptionsList"][] = "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


	$tdatapersons["dateNaissance"] = $fdata;
		$tdatapersons[".searchableFields"][] = "dateNaissance";
//	numRegister
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "numRegister";
	$fdata["GoodName"] = "numRegister";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "Starts with";
		$fdata["searchOptionsList"][] = "More than";
		$fdata["searchOptionsList"][] = "Less than";
		$fdata["searchOptionsList"][] = "Between";
		$fdata["searchOptionsList"][] = "Empty";
		$fdata["searchOptionsList"][] = "NOT Contains";
		$fdata["searchOptionsList"][] = "NOT Equals";
		$fdata["searchOptionsList"][] = "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


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

	
	
	
			

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

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

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "religion";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "religion";

	

	
	$edata["LookupOrderBy"] = "religion";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

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

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


	$tdatapersons["religion"] = $fdata;
		$tdatapersons[".searchableFields"][] = "religion";
//	religionRegister
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "religionRegister";
	$fdata["GoodName"] = "religionRegister";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","religionRegister");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "religionRegister";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "religionRegister";

	

	
	$edata["LookupOrderBy"] = "religionRegister";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

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

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


	$tdatapersons["religionRegister"] = $fdata;
		$tdatapersons[".searchableFields"][] = "religionRegister";
//	region
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "region";
	$fdata["GoodName"] = "region";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","region");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "name";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "name";

				$edata["LookupWhere"] = "id >1";


	
	$edata["LookupOrderBy"] = "name";

	
	
	
	

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


	$tdatapersons["region"] = $fdata;
		$tdatapersons[".searchableFields"][] = "region";
//	numRegion
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "numRegion";
	$fdata["GoodName"] = "numRegion";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","numRegion");
	$fdata["FieldType"] = 2;

	
	
	
			

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

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

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "numCase";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "numCase";

				$edata["LookupWhere"] = "numCase > 0";


	
	$edata["LookupOrderBy"] = "numCase";

	
	
	
	

	
	
		$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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "More than";
		$fdata["searchOptionsList"][] = "Less than";
		$fdata["searchOptionsList"][] = "Between";
		$fdata["searchOptionsList"][] = "NOT Equals";
// 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


	$tdatapersons["numRegion"] = $fdata;
		$tdatapersons[".searchableFields"][] = "numRegion";
//	vote
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "vote";
	$fdata["GoodName"] = "vote";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "NOT Equals";
// the end of search options settings


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

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

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdatapersons["vote"] = $fdata;
		$tdatapersons[".searchableFields"][] = "vote";
//	phone
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "phone";
	$fdata["GoodName"] = "phone";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","phone");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

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


	$tdatapersons["phone"] = $fdata;
		$tdatapersons[".searchableFields"][] = "phone";
//	address_city
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "address_city";
	$fdata["GoodName"] = "address_city";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","address_city");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "address_city";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "address_city";

	

	
	$edata["LookupOrderBy"] = "address_city";

	
	
	
	

	
	
	
// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

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


	$tdatapersons["address_city"] = $fdata;
		$tdatapersons[".searchableFields"][] = "address_city";
//	address_street
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "address_street";
	$fdata["GoodName"] = "address_street";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","address_street");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "address_street";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "address_street";

	

	
	$edata["LookupOrderBy"] = "address_street";

	
	
	
	

	
	
	
// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

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


	$tdatapersons["address_street"] = $fdata;
		$tdatapersons[".searchableFields"][] = "address_street";
//	address_build
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "address_build";
	$fdata["GoodName"] = "address_build";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","address_build");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "address_build";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "address_build";

	

	
	$edata["LookupOrderBy"] = "address_build";

	
	
	
	

	
	
	
// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

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


	$tdatapersons["address_build"] = $fdata;
		$tdatapersons[".searchableFields"][] = "address_build";
//	status
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "status";
	$fdata["GoodName"] = "status";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","status");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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"][] = "مجهول";
	$edata["LookupValues"][] = "أعزب";
	$edata["LookupValues"][] = "متزوج";
	$edata["LookupValues"][] = "مطلق";
	$edata["LookupValues"][] = "أرمل";

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


	$tdatapersons["status"] = $fdata;
		$tdatapersons[".searchableFields"][] = "status";
//	link
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "link";
	$fdata["GoodName"] = "link";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","link");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

		$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


	$tdatapersons["link"] = $fdata;
		$tdatapersons[".searchableFields"][] = "link";
//	job
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "job";
	$fdata["GoodName"] = "job";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","job");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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"] = 2;
	$edata["LookupTable"] = "persons";
			$edata["freeInput"] = true;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 1;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "job";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "job";

	

	
	$edata["LookupOrderBy"] = "job";

	
	
	
	

	
	
	
// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "Starts with";
		$fdata["searchOptionsList"][] = "Empty";
		$fdata["searchOptionsList"][] = "NOT Contains";
		$fdata["searchOptionsList"][] = "NOT Equals";
		$fdata["searchOptionsList"][] = "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


	$tdatapersons["job"] = $fdata;
		$tdatapersons[".searchableFields"][] = "job";
//	hasCar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "hasCar";
	$fdata["GoodName"] = "hasCar";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","hasCar");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

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

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


	$tdatapersons["hasCar"] = $fdata;
		$tdatapersons[".searchableFields"][] = "hasCar";
//	wasit_name
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "wasit_name";
	$fdata["GoodName"] = "wasit_name";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","wasit_name");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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"] = 2;
	$edata["LookupTable"] = "persons";
			$edata["freeInput"] = true;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 1;

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "wasit_name";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "wasit_name";

	

	
	$edata["LookupOrderBy"] = "wasit_name";

	
	
	
	

	
	
	
// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$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 user's search options list
		$fdata["searchOptionsList"] = array();
		$fdata["searchOptionsList"][] = "Contains";
		$fdata["searchOptionsList"][] = "Equals";
		$fdata["searchOptionsList"][] = "Starts with";
		$fdata["searchOptionsList"][] = "Empty";
		$fdata["searchOptionsList"][] = "NOT Contains";
		$fdata["searchOptionsList"][] = "NOT Equals";
		$fdata["searchOptionsList"][] = "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


	$tdatapersons["wasit_name"] = $fdata;
		$tdatapersons[".searchableFields"][] = "wasit_name";
//	teamName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "teamName";
	$fdata["GoodName"] = "teamName";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","teamName");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

	
			$edata["LookupUnique"] = true;

	$edata["LinkField"] = "teamName";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "teamName";

	

	
	$edata["LookupOrderBy"] = "teamName";

	
	
	
	

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


	$tdatapersons["teamName"] = $fdata;
		$tdatapersons[".searchableFields"][] = "teamName";
//	leaderName
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "leaderName";
	$fdata["GoodName"] = "leaderName";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","leaderName");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

	
		
	$edata["LinkField"] = "leaderName";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "leaderName";

	

	
	$edata["LookupOrderBy"] = "leaderName";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

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


	$tdatapersons["leaderName"] = $fdata;
		$tdatapersons[".searchableFields"][] = "leaderName";
//	adherence
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 25;
	$fdata["strName"] = "adherence";
	$fdata["GoodName"] = "adherence";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","adherence");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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"][] = "الحزب";
	$edata["LookupValues"][] = "الشخصية";
	$edata["LookupValues"][] = "العائلة";
	$edata["LookupValues"][] = "مجهول";

	
		$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


	$tdatapersons["adherence"] = $fdata;
		$tdatapersons[".searchableFields"][] = "adherence";
//	voteWith
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 26;
	$fdata["strName"] = "voteWith";
	$fdata["GoodName"] = "voteWith";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","voteWith");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

	
	
				$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"][] = "مجهول";
	$edata["LookupValues"][] = "مع";
	$edata["LookupValues"][] = "ضد";
	$edata["LookupValues"][] = "تشكيل";

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


	$tdatapersons["voteWith"] = $fdata;
		$tdatapersons[".searchableFields"][] = "voteWith";
//	repairList
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 27;
	$fdata["strName"] = "repairList";
	$fdata["GoodName"] = "repairList";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","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" => "Lookup wizard");

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


	
	

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

	
		
	$edata["LinkField"] = "status";
	$edata["LinkFieldType"] = 200;
	$edata["DisplayField"] = "status";

	

	
	$edata["LookupOrderBy"] = "status";

	
	
	
	

	
	
		$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


	$tdatapersons["repairList"] = $fdata;
		$tdatapersons[".searchableFields"][] = "repairList";
//	serviceCode
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 28;
	$fdata["strName"] = "serviceCode";
	$fdata["GoodName"] = "serviceCode";
	$fdata["ownerTable"] = "persons";
	$fdata["Label"] = GetFieldLabel("persons","serviceCode");
	$fdata["FieldType"] = 200;

	
	
	
			

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

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

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

	
		
	$edata["LinkField"] = "serviceCode";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "serviceCode";

	

	
	$edata["LookupOrderBy"] = "serviceCode";

	
	
	
	

	
		$edata["Multiselect"] = true;

		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$edata["maxNumberOfFiles"] = 1;

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


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


	$tdatapersons["sortNbr"] = $fdata;
		$tdatapersons[".searchableFields"][] = "sortNbr";


$tables_data["persons"]=&$tdatapersons;
$field_labels["persons"] = &$fieldLabelspersons;
$fieldToolTips["persons"] = &$fieldToolTipspersons;
$placeHolders["persons"] = &$placeHolderspersons;
$page_titles["persons"] = &$pageTitlespersons;

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

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



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



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











function createSqlQuery_persons()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "numPers,  	firstName,  	fatherName,  	motherName,  	lastName,  	sex,  	dateNaissance,  	numRegister,  	religion,  	religionRegister,  	region,  	numRegion,  	vote,  	phone,  	address_city,  	address_street,  	address_build,  	status,  	link,  	job,  	hasCar,  	wasit_name,  	teamName,  	leaderName,  	adherence,  	voteWith,  	repairList,  	serviceCode,  	sortNbr";
$proto0["m_strFrom"] = "FROM persons";
$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" => "numPers",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$proto0["m_fieldlist"][]=$obj;
						$proto24=array();
			$obj = new SQLField(array(
	"m_strName" => "religionRegister",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto24["m_sql"] = "religionRegister";
$proto24["m_srcTableName"] = "persons";
$proto24["m_expr"]=$obj;
$proto24["m_alias"] = "";
$obj = new SQLFieldListItem($proto24);

$proto0["m_fieldlist"][]=$obj;
						$proto26=array();
			$obj = new SQLField(array(
	"m_strName" => "region",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto26["m_sql"] = "region";
$proto26["m_srcTableName"] = "persons";
$proto26["m_expr"]=$obj;
$proto26["m_alias"] = "";
$obj = new SQLFieldListItem($proto26);

$proto0["m_fieldlist"][]=$obj;
						$proto28=array();
			$obj = new SQLField(array(
	"m_strName" => "numRegion",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto28["m_sql"] = "numRegion";
$proto28["m_srcTableName"] = "persons";
$proto28["m_expr"]=$obj;
$proto28["m_alias"] = "";
$obj = new SQLFieldListItem($proto28);

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

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

$proto0["m_fieldlist"][]=$obj;
						$proto32=array();
			$obj = new SQLField(array(
	"m_strName" => "phone",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto32["m_sql"] = "phone";
$proto32["m_srcTableName"] = "persons";
$proto32["m_expr"]=$obj;
$proto32["m_alias"] = "";
$obj = new SQLFieldListItem($proto32);

$proto0["m_fieldlist"][]=$obj;
						$proto34=array();
			$obj = new SQLField(array(
	"m_strName" => "address_city",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto34["m_sql"] = "address_city";
$proto34["m_srcTableName"] = "persons";
$proto34["m_expr"]=$obj;
$proto34["m_alias"] = "";
$obj = new SQLFieldListItem($proto34);

$proto0["m_fieldlist"][]=$obj;
						$proto36=array();
			$obj = new SQLField(array(
	"m_strName" => "address_street",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto36["m_sql"] = "address_street";
$proto36["m_srcTableName"] = "persons";
$proto36["m_expr"]=$obj;
$proto36["m_alias"] = "";
$obj = new SQLFieldListItem($proto36);

$proto0["m_fieldlist"][]=$obj;
						$proto38=array();
			$obj = new SQLField(array(
	"m_strName" => "address_build",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto38["m_sql"] = "address_build";
$proto38["m_srcTableName"] = "persons";
$proto38["m_expr"]=$obj;
$proto38["m_alias"] = "";
$obj = new SQLFieldListItem($proto38);

$proto0["m_fieldlist"][]=$obj;
						$proto40=array();
			$obj = new SQLField(array(
	"m_strName" => "status",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto40["m_sql"] = "status";
$proto40["m_srcTableName"] = "persons";
$proto40["m_expr"]=$obj;
$proto40["m_alias"] = "";
$obj = new SQLFieldListItem($proto40);

$proto0["m_fieldlist"][]=$obj;
						$proto42=array();
			$obj = new SQLField(array(
	"m_strName" => "link",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto42["m_sql"] = "link";
$proto42["m_srcTableName"] = "persons";
$proto42["m_expr"]=$obj;
$proto42["m_alias"] = "";
$obj = new SQLFieldListItem($proto42);

$proto0["m_fieldlist"][]=$obj;
						$proto44=array();
			$obj = new SQLField(array(
	"m_strName" => "job",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto44["m_sql"] = "job";
$proto44["m_srcTableName"] = "persons";
$proto44["m_expr"]=$obj;
$proto44["m_alias"] = "";
$obj = new SQLFieldListItem($proto44);

$proto0["m_fieldlist"][]=$obj;
						$proto46=array();
			$obj = new SQLField(array(
	"m_strName" => "hasCar",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto46["m_sql"] = "hasCar";
$proto46["m_srcTableName"] = "persons";
$proto46["m_expr"]=$obj;
$proto46["m_alias"] = "";
$obj = new SQLFieldListItem($proto46);

$proto0["m_fieldlist"][]=$obj;
						$proto48=array();
			$obj = new SQLField(array(
	"m_strName" => "wasit_name",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto48["m_sql"] = "wasit_name";
$proto48["m_srcTableName"] = "persons";
$proto48["m_expr"]=$obj;
$proto48["m_alias"] = "";
$obj = new SQLFieldListItem($proto48);

$proto0["m_fieldlist"][]=$obj;
						$proto50=array();
			$obj = new SQLField(array(
	"m_strName" => "teamName",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto50["m_sql"] = "teamName";
$proto50["m_srcTableName"] = "persons";
$proto50["m_expr"]=$obj;
$proto50["m_alias"] = "";
$obj = new SQLFieldListItem($proto50);

$proto0["m_fieldlist"][]=$obj;
						$proto52=array();
			$obj = new SQLField(array(
	"m_strName" => "leaderName",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto52["m_sql"] = "leaderName";
$proto52["m_srcTableName"] = "persons";
$proto52["m_expr"]=$obj;
$proto52["m_alias"] = "";
$obj = new SQLFieldListItem($proto52);

$proto0["m_fieldlist"][]=$obj;
						$proto54=array();
			$obj = new SQLField(array(
	"m_strName" => "adherence",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto54["m_sql"] = "adherence";
$proto54["m_srcTableName"] = "persons";
$proto54["m_expr"]=$obj;
$proto54["m_alias"] = "";
$obj = new SQLFieldListItem($proto54);

$proto0["m_fieldlist"][]=$obj;
						$proto56=array();
			$obj = new SQLField(array(
	"m_strName" => "voteWith",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto56["m_sql"] = "voteWith";
$proto56["m_srcTableName"] = "persons";
$proto56["m_expr"]=$obj;
$proto56["m_alias"] = "";
$obj = new SQLFieldListItem($proto56);

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

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

$proto0["m_fieldlist"][]=$obj;
						$proto60=array();
			$obj = new SQLField(array(
	"m_strName" => "serviceCode",
	"m_strTable" => "persons",
	"m_srcTableName" => "persons"
));

$proto60["m_sql"] = "serviceCode";
$proto60["m_srcTableName"] = "persons";
$proto60["m_expr"]=$obj;
$proto60["m_alias"] = "";
$obj = new SQLFieldListItem($proto60);

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

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

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto64=array();
$proto64["m_link"] = "SQLL_MAIN";
			$proto65=array();
$proto65["m_strName"] = "persons";
$proto65["m_srcTableName"] = "persons";
$proto65["m_columns"] = array();
$proto65["m_columns"][] = "numPers";
$proto65["m_columns"][] = "firstName";
$proto65["m_columns"][] = "fatherName";
$proto65["m_columns"][] = "motherName";
$proto65["m_columns"][] = "lastName";
$proto65["m_columns"][] = "sex";
$proto65["m_columns"][] = "dateNaissance";
$proto65["m_columns"][] = "numRegister";
$proto65["m_columns"][] = "religion";
$proto65["m_columns"][] = "religionRegister";
$proto65["m_columns"][] = "region";
$proto65["m_columns"][] = "numRegion";
$proto65["m_columns"][] = "vote";
$proto65["m_columns"][] = "phone";
$proto65["m_columns"][] = "address_city";
$proto65["m_columns"][] = "address_street";
$proto65["m_columns"][] = "address_build";
$proto65["m_columns"][] = "status";
$proto65["m_columns"][] = "link";
$proto65["m_columns"][] = "job";
$proto65["m_columns"][] = "hasCar";
$proto65["m_columns"][] = "wasit_name";
$proto65["m_columns"][] = "teamName";
$proto65["m_columns"][] = "leaderName";
$proto65["m_columns"][] = "adherence";
$proto65["m_columns"][] = "voteWith";
$proto65["m_columns"][] = "repairList";
$proto65["m_columns"][] = "serviceCode";
$proto65["m_columns"][] = "sortNbr";
$obj = new SQLTable($proto65);

$proto64["m_table"] = $obj;
$proto64["m_sql"] = "persons";
$proto64["m_alias"] = "";
$proto64["m_srcTableName"] = "persons";
$proto66=array();
$proto66["m_sql"] = "";
$proto66["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

	return $obj;
}
$queryData_persons = createSqlQuery_persons();


	
		;

																													

$tdatapersons[".sqlquery"] = $queryData_persons;



$tableEvents["persons"] = new eventsBase;
$tdatapersons[".hasEvents"] = false;

?>