<?php
$tdata___________________________ = array();
$tdata___________________________[".searchableFields"] = array();
$tdata___________________________[".ShortName"] = "___________________________";
$tdata___________________________[".OwnerID"] = "";
$tdata___________________________[".OriginalTable"] = "statistics";


$tdata___________________________[".pagesByType"] = my_json_decode( "{\"chart\":[\"chart\"],\"search\":[\"search\"]}" );
$tdata___________________________[".originalPagesByType"] = $tdata___________________________[".pagesByType"];
$tdata___________________________[".pages"] = types2pages( my_json_decode( "{\"chart\":[\"chart\"],\"search\":[\"search\"]}" ) );
$tdata___________________________[".originalPages"] = $tdata___________________________[".pages"];
$tdata___________________________[".defaultPages"] = my_json_decode( "{\"chart\":\"chart\",\"search\":\"search\"}" );
$tdata___________________________[".originalDefaultPages"] = $tdata___________________________[".defaultPages"];

//	field labels
$fieldLabels___________________________ = array();
$fieldToolTips___________________________ = array();
$pageTitles___________________________ = array();
$placeHolders___________________________ = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabels___________________________["English"] = array();
	$fieldToolTips___________________________["English"] = array();
	$placeHolders___________________________["English"] = array();
	$pageTitles___________________________["English"] = array();
	$fieldLabels___________________________["English"]["_______"] = "المنطقة";
	$fieldToolTips___________________________["English"]["_______"] = "";
	$placeHolders___________________________["English"]["_______"] = "";
	$fieldLabels___________________________["English"]["_____"] = "القلم";
	$fieldToolTips___________________________["English"]["_____"] = "";
	$placeHolders___________________________["English"]["_____"] = "";
	$fieldLabels___________________________["English"]["_____________"] = "عدد المقترعين";
	$fieldToolTips___________________________["English"]["_____________"] = "";
	$placeHolders___________________________["English"]["_____________"] = "";
	$fieldLabels___________________________["English"]["_______"] = "المجموع";
	$fieldToolTips___________________________["English"]["_______"] = "";
	$placeHolders___________________________["English"]["_______"] = "";
	$fieldLabels___________________________["English"]["_____________"] = "نسبة الإقتراع";
	$fieldToolTips___________________________["English"]["_____________"] = "";
	$placeHolders___________________________["English"]["_____________"] = "";
	$fieldLabels___________________________["English"]["__"] = "مع";
	$fieldToolTips___________________________["English"]["__"] = "";
	$placeHolders___________________________["English"]["__"] = "";
	$fieldLabels___________________________["English"]["__"] = "ضد";
	$fieldToolTips___________________________["English"]["__"] = "";
	$placeHolders___________________________["English"]["__"] = "";
	$fieldLabels___________________________["English"]["_____"] = "تشكيل";
	$fieldToolTips___________________________["English"]["_____"] = "";
	$placeHolders___________________________["English"]["_____"] = "";
	$fieldLabels___________________________["English"]["_____"] = "مجهول";
	$fieldToolTips___________________________["English"]["_____"] = "";
	$placeHolders___________________________["English"]["_____"] = "";
	$fieldLabels___________________________["English"]["_____"] = "الإسم";
	$fieldToolTips___________________________["English"]["_____"] = "";
	$placeHolders___________________________["English"]["_____"] = "";
	if (count($fieldToolTips___________________________["English"]))
		$tdata___________________________[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="Arabic")
{
	$fieldLabels___________________________["Arabic"] = array();
	$fieldToolTips___________________________["Arabic"] = array();
	$placeHolders___________________________["Arabic"] = array();
	$pageTitles___________________________["Arabic"] = array();
	$fieldLabels___________________________["Arabic"]["_____"] = "الإسم";
	$fieldToolTips___________________________["Arabic"]["_____"] = "";
	$placeHolders___________________________["Arabic"]["_____"] = "";
	$fieldLabels___________________________["Arabic"]["_______"] = "المنطقة";
	$fieldToolTips___________________________["Arabic"]["_______"] = "";
	$placeHolders___________________________["Arabic"]["_______"] = "";
	$fieldLabels___________________________["Arabic"]["_____"] = "القلم";
	$fieldToolTips___________________________["Arabic"]["_____"] = "";
	$placeHolders___________________________["Arabic"]["_____"] = "";
	$fieldLabels___________________________["Arabic"]["_____________"] = "عدد المقترعين";
	$fieldToolTips___________________________["Arabic"]["_____________"] = "";
	$placeHolders___________________________["Arabic"]["_____________"] = "";
	$fieldLabels___________________________["Arabic"]["_______"] = "المجموع";
	$fieldToolTips___________________________["Arabic"]["_______"] = "";
	$placeHolders___________________________["Arabic"]["_______"] = "";
	$fieldLabels___________________________["Arabic"]["_____________"] = "نسبة الإقتراع";
	$fieldToolTips___________________________["Arabic"]["_____________"] = "";
	$placeHolders___________________________["Arabic"]["_____________"] = "";
	$fieldLabels___________________________["Arabic"]["__"] = "مع";
	$fieldToolTips___________________________["Arabic"]["__"] = "";
	$placeHolders___________________________["Arabic"]["__"] = "";
	$fieldLabels___________________________["Arabic"]["__"] = "ضد";
	$fieldToolTips___________________________["Arabic"]["__"] = "";
	$placeHolders___________________________["Arabic"]["__"] = "";
	$fieldLabels___________________________["Arabic"]["_____"] = "تشكيل";
	$fieldToolTips___________________________["Arabic"]["_____"] = "";
	$placeHolders___________________________["Arabic"]["_____"] = "";
	$fieldLabels___________________________["Arabic"]["_____"] = "مجهول";
	$fieldToolTips___________________________["Arabic"]["_____"] = "";
	$placeHolders___________________________["Arabic"]["_____"] = "";
	if (count($fieldToolTips___________________________["Arabic"]))
		$tdata___________________________[".isUseToolTips"] = true;
}


	$tdata___________________________[".NCSearch"] = true;

	$tdata___________________________[".ChartRefreshTime"] = 180;


$tdata___________________________[".shortTableName"] = "___________________________";
$tdata___________________________[".nSecOptions"] = 0;

$tdata___________________________[".mainTableOwnerID"] = "";
$tdata___________________________[".entityType"] = 3;
$tdata___________________________[".connId"] = "electiondb_at_ssl_localhost";


$tdata___________________________[".strOriginalTableName"] = "statistics";

	



$tdata___________________________[".showAddInPopup"] = false;

$tdata___________________________[".showEditInPopup"] = false;

$tdata___________________________[".showViewInPopup"] = false;

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


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

	$tdata___________________________[".audit"] = false;

	$tdata___________________________[".locking"] = false;


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

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

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

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



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




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

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

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

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



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

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

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

$tdata___________________________[".isUseAjaxSuggest"] = true;






$tdata___________________________[".ajaxCodeSnippetAdded"] = false;

$tdata___________________________[".buttonsAdded"] = false;

$tdata___________________________[".addPageEvents"] = false;

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


$tdata___________________________[".badgeColor"] = "DAA520";


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




$tdata___________________________[".tableType"] = "chart";

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

$tdata___________________________[".nPrinterSplitRecords"] = 40;

$tdata___________________________[".geocodingEnabled"] = false;



// chart settings
$tdata___________________________[".chartType"] = "2DColumn";
// end of chart settings








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

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


$tdata___________________________[".sqlHead"] = "SELECT `الإسم`,  	`المنطقة`,  	`القلم`,  	`عدد المقترعين`,  	`المجموع`,  	`نسبة الإقتراع`,  	`مع`,  	`ضد`,  	`تشكيل`,  	`مجهول`";
$tdata___________________________[".sqlFrom"] = "FROM `statistics`";
$tdata___________________________[".sqlWhereExpr"] = "";
$tdata___________________________[".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;
$tdata___________________________[".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;
$tdata___________________________[".arrGroupsPerPage"] = $arrGPP;

$tdata___________________________[".highlightSearchResults"] = true;

$tableKeys___________________________ = array();
$tdata___________________________[".Keys"] = $tableKeys___________________________;


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




//	الإسم
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "الإسم";
	$fdata["GoodName"] = "_____";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","_____");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "الإسم";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`الإسم`";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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=57";

		$edata["controlWidth"] = 200;

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

	
	
	
	
	
	$fdata["EditFormats"]["search"] = $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";
// 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


	$tdata___________________________["الإسم"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "الإسم";
//	المنطقة
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "المنطقة";
	$fdata["GoodName"] = "_______";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","_______");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "المنطقة";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`المنطقة`";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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"] = "region";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "region";

	

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

	
	
	
	

	
	
		$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"]["search"] = $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";
// 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


	$tdata___________________________["المنطقة"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "المنطقة";
//	القلم
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "القلم";
	$fdata["GoodName"] = "_____";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","_____");
	$fdata["FieldType"] = 2;

	
	
	
			

		$fdata["strField"] = "القلم";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`القلم`";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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["LookupOrderBy"] = "numCase";

	
	
	
	

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


	$tdata___________________________["القلم"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "القلم";
//	عدد المقترعين
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "عدد المقترعين";
	$fdata["GoodName"] = "_____________";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","_____________");
	$fdata["FieldType"] = 20;

	
	
	
			

		$fdata["strField"] = "عدد المقترعين";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`عدد المقترعين`";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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"]["search"] = $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


	$tdata___________________________["عدد المقترعين"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "عدد المقترعين";
//	المجموع
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "المجموع";
	$fdata["GoodName"] = "_______";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","_______");
	$fdata["FieldType"] = 3;

	
	
	
			

		$fdata["strField"] = "المجموع";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`المجموع`";

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

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

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

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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"]["search"] = $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


	$tdata___________________________["المجموع"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "المجموع";
//	نسبة الإقتراع
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "نسبة الإقتراع";
	$fdata["GoodName"] = "_____________";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","_____________");
	$fdata["FieldType"] = 14;

	
	
	
			

		$fdata["strField"] = "نسبة الإقتراع";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`نسبة الإقتراع`";

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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"]["search"] = $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


	$tdata___________________________["نسبة الإقتراع"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "نسبة الإقتراع";
//	مع
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "مع";
	$fdata["GoodName"] = "__";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","__");
	$fdata["FieldType"] = 14;

	
	
	
			

		$fdata["strField"] = "مع";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`مع`";

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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"]["search"] = $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


	$tdata___________________________["مع"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "مع";
//	ضد
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "ضد";
	$fdata["GoodName"] = "__";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","__");
	$fdata["FieldType"] = 14;

	
	
	
			

		$fdata["strField"] = "ضد";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`ضد`";

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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"]["search"] = $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


	$tdata___________________________["ضد"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "ضد";
//	تشكيل
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "تشكيل";
	$fdata["GoodName"] = "_____";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","_____");
	$fdata["FieldType"] = 14;

	
	
	
			

		$fdata["strField"] = "تشكيل";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`تشكيل`";

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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"]["search"] = $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


	$tdata___________________________["تشكيل"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "تشكيل";
//	مجهول
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "مجهول";
	$fdata["GoodName"] = "_____";
	$fdata["ownerTable"] = "statistics";
	$fdata["Label"] = GetFieldLabel("___________________________","_____");
	$fdata["FieldType"] = 14;

	
	
	
			

		$fdata["strField"] = "مجهول";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`مجهول`";

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

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

	$fdata["ViewFormats"]["chart"] = $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"]["search"] = $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


	$tdata___________________________["مجهول"] = $fdata;
		$tdata___________________________[".searchableFields"][] = "مجهول";

$tdata___________________________[".groupChart"] = true;
$tdata___________________________[".chartLabelInterval"] = 0;
$tdata___________________________[".chartLabelField"] = "الإسم";
$tdata___________________________[".chartSeries"] = array();
$tdata___________________________[".chartSeries"][] = array( 
	"field" => "مجهول",
	"total" => "SUM"
);
$tdata___________________________[".chartSeries"][] = array( 
	"field" => "تشكيل",
	"total" => "SUM"
);
$tdata___________________________[".chartSeries"][] = array( 
	"field" => "ضد",
	"total" => "SUM"
);
$tdata___________________________[".chartSeries"][] = array( 
	"field" => "مع",
	"total" => "SUM"
);
$tdata___________________________[".chartSeries"][] = array( 
	"field" => "نسبة الإقتراع",
	"total" => "SUM"
);
	$tdata___________________________[".chartXml"] = '<chart>
		<attr value="tables">
			<attr value="0">مراقبة الإنتخابات حسب القلم</attr>
		</attr>
		<attr value="chart_type">
			<attr value="type">2d_column</attr>
		</attr>

		<attr value="parameters">';
	$tdata___________________________[".chartXml"] .= '<attr value="0">
			<attr value="name">مجهول</attr>';
	$tdata___________________________[".chartXml"] .= '</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="1">
			<attr value="name">تشكيل</attr>';
	$tdata___________________________[".chartXml"] .= '</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="2">
			<attr value="name">ضد</attr>';
	$tdata___________________________[".chartXml"] .= '</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="3">
			<attr value="name">مع</attr>';
	$tdata___________________________[".chartXml"] .= '</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="4">
			<attr value="name">نسبة الإقتراع</attr>';
	$tdata___________________________[".chartXml"] .= '</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="5">
		<attr value="name">الإسم</attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '</attr>
			<attr value="appearance">';


	$tdata___________________________[".chartXml"] .= '<attr value="head">'.xmlencode("نسبة الإقتراع حسب التصنيف").'</attr>
<attr value="foot">'.xmlencode("").'</attr>
<attr value="y_axis_label">'.xmlencode("").'</attr>


<attr value="slegend">true</attr>
<attr value="sgrid">true</attr>
<attr value="sname">true</attr>
<attr value="sval">true</attr>
<attr value="sanim">false</attr>
<attr value="sstacked">false</attr>
<attr value="slog">false</attr>
<attr value="aqua">0</attr>
<attr value="cview">0</attr>
<attr value="is3d">0</attr>
<attr value="isstacked">0</attr>
<attr value="linestyle">0</attr>
<attr value="autoupdate">1</attr>
<attr value="autoupmin">180</attr>';
$tdata___________________________[".chartXml"] .= '</attr>

<attr value="fields">';
	$tdata___________________________[".chartXml"] .= '<attr value="0">
		<attr value="name">الإسم</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","_____")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="1">
		<attr value="name">المنطقة</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","_______")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="2">
		<attr value="name">القلم</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","_____")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="3">
		<attr value="name">عدد المقترعين</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","_____________")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="4">
		<attr value="name">المجموع</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","_______")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="5">
		<attr value="name">نسبة الإقتراع</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","_____________")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="6">
		<attr value="name">مع</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","__")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="7">
		<attr value="name">ضد</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","__")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="8">
		<attr value="name">تشكيل</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","_____")).'</attr>
		<attr value="search"></attr>
	</attr>';
	$tdata___________________________[".chartXml"] .= '<attr value="9">
		<attr value="name">مجهول</attr>
		<attr value="label">'.xmlencode(GetFieldLabel("___________________________","_____")).'</attr>
		<attr value="search"></attr>
	</attr>';
$tdata___________________________[".chartXml"] .= '</attr>


<attr value="settings">
<attr value="name">مراقبة الإنتخابات حسب القلم</attr>
<attr value="short_table_name">___________________________</attr>
</attr>

</chart>';

$tables_data["مراقبة الإنتخابات حسب القلم"]=&$tdata___________________________;
$field_labels["___________________________"] = &$fieldLabels___________________________;
$fieldToolTips["___________________________"] = &$fieldToolTips___________________________;
$placeHolders["___________________________"] = &$placeHolders___________________________;
$page_titles["___________________________"] = &$pageTitles___________________________;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["مراقبة الإنتخابات حسب القلم"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["مراقبة الإنتخابات حسب القلم"] = array();



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



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











function createSqlQuery____________________________()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "`الإسم`,  	`المنطقة`,  	`القلم`,  	`عدد المقترعين`,  	`المجموع`,  	`نسبة الإقتراع`,  	`مع`,  	`ضد`,  	`تشكيل`,  	`مجهول`";
$proto0["m_strFrom"] = "FROM `statistics`";
$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" => "الإسم",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto6["m_sql"] = "`الإسم`";
$proto6["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto6["m_expr"]=$obj;
$proto6["m_alias"] = "";
$obj = new SQLFieldListItem($proto6);

$proto0["m_fieldlist"][]=$obj;
						$proto8=array();
			$obj = new SQLField(array(
	"m_strName" => "المنطقة",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto8["m_sql"] = "`المنطقة`";
$proto8["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto8["m_expr"]=$obj;
$proto8["m_alias"] = "";
$obj = new SQLFieldListItem($proto8);

$proto0["m_fieldlist"][]=$obj;
						$proto10=array();
			$obj = new SQLField(array(
	"m_strName" => "القلم",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto10["m_sql"] = "`القلم`";
$proto10["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto10["m_expr"]=$obj;
$proto10["m_alias"] = "";
$obj = new SQLFieldListItem($proto10);

$proto0["m_fieldlist"][]=$obj;
						$proto12=array();
			$obj = new SQLField(array(
	"m_strName" => "عدد المقترعين",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto12["m_sql"] = "`عدد المقترعين`";
$proto12["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto12["m_expr"]=$obj;
$proto12["m_alias"] = "";
$obj = new SQLFieldListItem($proto12);

$proto0["m_fieldlist"][]=$obj;
						$proto14=array();
			$obj = new SQLField(array(
	"m_strName" => "المجموع",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto14["m_sql"] = "`المجموع`";
$proto14["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto14["m_expr"]=$obj;
$proto14["m_alias"] = "";
$obj = new SQLFieldListItem($proto14);

$proto0["m_fieldlist"][]=$obj;
						$proto16=array();
			$obj = new SQLField(array(
	"m_strName" => "نسبة الإقتراع",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto16["m_sql"] = "`نسبة الإقتراع`";
$proto16["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto16["m_expr"]=$obj;
$proto16["m_alias"] = "";
$obj = new SQLFieldListItem($proto16);

$proto0["m_fieldlist"][]=$obj;
						$proto18=array();
			$obj = new SQLField(array(
	"m_strName" => "مع",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto18["m_sql"] = "`مع`";
$proto18["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "";
$obj = new SQLFieldListItem($proto18);

$proto0["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLField(array(
	"m_strName" => "ضد",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto20["m_sql"] = "`ضد`";
$proto20["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto20["m_expr"]=$obj;
$proto20["m_alias"] = "";
$obj = new SQLFieldListItem($proto20);

$proto0["m_fieldlist"][]=$obj;
						$proto22=array();
			$obj = new SQLField(array(
	"m_strName" => "تشكيل",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto22["m_sql"] = "`تشكيل`";
$proto22["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto22["m_expr"]=$obj;
$proto22["m_alias"] = "";
$obj = new SQLFieldListItem($proto22);

$proto0["m_fieldlist"][]=$obj;
						$proto24=array();
			$obj = new SQLField(array(
	"m_strName" => "مجهول",
	"m_strTable" => "statistics",
	"m_srcTableName" => "مراقبة الإنتخابات حسب القلم"
));

$proto24["m_sql"] = "`مجهول`";
$proto24["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto24["m_expr"]=$obj;
$proto24["m_alias"] = "";
$obj = new SQLFieldListItem($proto24);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto26=array();
$proto26["m_link"] = "SQLL_MAIN";
			$proto27=array();
$proto27["m_strName"] = "statistics";
$proto27["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto27["m_columns"] = array();
$proto27["m_columns"][] = "الإسم";
$proto27["m_columns"][] = "المنطقة";
$proto27["m_columns"][] = "القلم";
$proto27["m_columns"][] = "عدد المقترعين";
$proto27["m_columns"][] = "المجموع";
$proto27["m_columns"][] = "نسبة الإقتراع";
$proto27["m_columns"][] = "مع";
$proto27["m_columns"][] = "ضد";
$proto27["m_columns"][] = "تشكيل";
$proto27["m_columns"][] = "مجهول";
$obj = new SQLTable($proto27);

$proto26["m_table"] = $obj;
$proto26["m_sql"] = "`statistics`";
$proto26["m_alias"] = "";
$proto26["m_srcTableName"] = "مراقبة الإنتخابات حسب القلم";
$proto28=array();
$proto28["m_sql"] = "";
$proto28["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$proto0["m_srcTableName"]="مراقبة الإنتخابات حسب القلم";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData____________________________ = createSqlQuery____________________________();


	
		;

										

$tdata___________________________[".sqlquery"] = $queryData____________________________;



$tableEvents["مراقبة الإنتخابات حسب القلم"] = new eventsBase;
$tdata___________________________[".hasEvents"] = false;

?>