<?php
require_once(getabspath("classes/cipherer.php"));




$tdataservice = array();
	$tdataservice[".truncateText"] = true;
	$tdataservice[".NumberOfChars"] = 80;
	$tdataservice[".ShortName"] = "service";
	$tdataservice[".OwnerID"] = "service_business_business_id";
	$tdataservice[".OriginalTable"] = "service";

//	field labels
$fieldLabelsservice = array();
$fieldToolTipsservice = array();
$pageTitlesservice = array();
$placeHoldersservice = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsservice["English"] = array();
	$fieldToolTipsservice["English"] = array();
	$placeHoldersservice["English"] = array();
	$pageTitlesservice["English"] = array();
	$fieldLabelsservice["English"]["service_id"] = "ID";
	$fieldToolTipsservice["English"]["service_id"] = "";
	$placeHoldersservice["English"]["service_id"] = "";
	$fieldLabelsservice["English"]["service_title_ar"] = "Title Ar";
	$fieldToolTipsservice["English"]["service_title_ar"] = "";
	$placeHoldersservice["English"]["service_title_ar"] = "";
	$fieldLabelsservice["English"]["service_title_en"] = "Title En";
	$fieldToolTipsservice["English"]["service_title_en"] = "";
	$placeHoldersservice["English"]["service_title_en"] = "";
	$fieldLabelsservice["English"]["service_description_ar"] = "Description Ar";
	$fieldToolTipsservice["English"]["service_description_ar"] = "";
	$placeHoldersservice["English"]["service_description_ar"] = "";
	$fieldLabelsservice["English"]["service_description_en"] = "Description En";
	$fieldToolTipsservice["English"]["service_description_en"] = "";
	$placeHoldersservice["English"]["service_description_en"] = "";
	$fieldLabelsservice["English"]["service_price"] = "Price";
	$fieldToolTipsservice["English"]["service_price"] = "";
	$placeHoldersservice["English"]["service_price"] = "";
	$fieldLabelsservice["English"]["service_shipping_cost"] = "Shipping Cost";
	$fieldToolTipsservice["English"]["service_shipping_cost"] = "";
	$placeHoldersservice["English"]["service_shipping_cost"] = "";
	$fieldLabelsservice["English"]["service_status"] = "Status";
	$fieldToolTipsservice["English"]["service_status"] = "";
	$placeHoldersservice["English"]["service_status"] = "";
	$fieldLabelsservice["English"]["service_active"] = "Active";
	$fieldToolTipsservice["English"]["service_active"] = "";
	$placeHoldersservice["English"]["service_active"] = "";
	$fieldLabelsservice["English"]["service_price_min"] = "Price Min";
	$fieldToolTipsservice["English"]["service_price_min"] = "";
	$placeHoldersservice["English"]["service_price_min"] = "";
	$fieldLabelsservice["English"]["service_service_type_id"] = "Type";
	$fieldToolTipsservice["English"]["service_service_type_id"] = "";
	$placeHoldersservice["English"]["service_service_type_id"] = "";
	$fieldLabelsservice["English"]["service_service_provider_id"] = "Provider";
	$fieldToolTipsservice["English"]["service_service_provider_id"] = "";
	$placeHoldersservice["English"]["service_service_provider_id"] = "";
	$fieldLabelsservice["English"]["service_period"] = "Service Period";
	$fieldToolTipsservice["English"]["service_period"] = "";
	$placeHoldersservice["English"]["service_period"] = "";
	$fieldLabelsservice["English"]["service_active_shipping"] = "Shipping";
	$fieldToolTipsservice["English"]["service_active_shipping"] = "";
	$placeHoldersservice["English"]["service_active_shipping"] = "";
	$fieldLabelsservice["English"]["service_business_business_id"] = "Service Business Business Id";
	$fieldToolTipsservice["English"]["service_business_business_id"] = "";
	$placeHoldersservice["English"]["service_business_business_id"] = "";
	if (count($fieldToolTipsservice["English"]))
		$tdataservice[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="Arabic")
{
	$fieldLabelsservice["Arabic"] = array();
	$fieldToolTipsservice["Arabic"] = array();
	$placeHoldersservice["Arabic"] = array();
	$pageTitlesservice["Arabic"] = array();
	$fieldLabelsservice["Arabic"]["service_id"] = "رقم الخدمة";
	$fieldToolTipsservice["Arabic"]["service_id"] = "";
	$placeHoldersservice["Arabic"]["service_id"] = "";
	$fieldLabelsservice["Arabic"]["service_title_ar"] = "العنوان بالعربي";
	$fieldToolTipsservice["Arabic"]["service_title_ar"] = "";
	$placeHoldersservice["Arabic"]["service_title_ar"] = "";
	$fieldLabelsservice["Arabic"]["service_title_en"] = "العنوان بالانجليزي";
	$fieldToolTipsservice["Arabic"]["service_title_en"] = "";
	$placeHoldersservice["Arabic"]["service_title_en"] = "";
	$fieldLabelsservice["Arabic"]["service_description_ar"] = "التفاصيل بالعربي";
	$fieldToolTipsservice["Arabic"]["service_description_ar"] = "";
	$placeHoldersservice["Arabic"]["service_description_ar"] = "";
	$fieldLabelsservice["Arabic"]["service_description_en"] = "التفاصيل بالانجليزي";
	$fieldToolTipsservice["Arabic"]["service_description_en"] = "";
	$placeHoldersservice["Arabic"]["service_description_en"] = "";
	$fieldLabelsservice["Arabic"]["service_price"] = "السعر";
	$fieldToolTipsservice["Arabic"]["service_price"] = "";
	$placeHoldersservice["Arabic"]["service_price"] = "";
	$fieldLabelsservice["Arabic"]["service_shipping_cost"] = "رسوم التوصيل";
	$fieldToolTipsservice["Arabic"]["service_shipping_cost"] = "";
	$placeHoldersservice["Arabic"]["service_shipping_cost"] = "";
	$fieldLabelsservice["Arabic"]["service_status"] = "الحالة";
	$fieldToolTipsservice["Arabic"]["service_status"] = "";
	$placeHoldersservice["Arabic"]["service_status"] = "";
	$fieldLabelsservice["Arabic"]["service_active"] = "مفعل";
	$fieldToolTipsservice["Arabic"]["service_active"] = "";
	$placeHoldersservice["Arabic"]["service_active"] = "";
	$fieldLabelsservice["Arabic"]["service_price_min"] = "السعر الادنى";
	$fieldToolTipsservice["Arabic"]["service_price_min"] = "";
	$placeHoldersservice["Arabic"]["service_price_min"] = "";
	$fieldLabelsservice["Arabic"]["service_service_type_id"] = "النوع";
	$fieldToolTipsservice["Arabic"]["service_service_type_id"] = "";
	$placeHoldersservice["Arabic"]["service_service_type_id"] = "";
	$fieldLabelsservice["Arabic"]["service_service_provider_id"] = "الموظف";
	$fieldToolTipsservice["Arabic"]["service_service_provider_id"] = "";
	$placeHoldersservice["Arabic"]["service_service_provider_id"] = "";
	$fieldLabelsservice["Arabic"]["service_period"] = "مدة الخدمة";
	$fieldToolTipsservice["Arabic"]["service_period"] = "";
	$placeHoldersservice["Arabic"]["service_period"] = "";
	$fieldLabelsservice["Arabic"]["service_active_shipping"] = "تفعيل التوصيل";
	$fieldToolTipsservice["Arabic"]["service_active_shipping"] = "";
	$placeHoldersservice["Arabic"]["service_active_shipping"] = "";
	$fieldLabelsservice["Arabic"]["service_business_business_id"] = "Service Business Business Id";
	$fieldToolTipsservice["Arabic"]["service_business_business_id"] = "";
	$placeHoldersservice["Arabic"]["service_business_business_id"] = "";
	if (count($fieldToolTipsservice["Arabic"]))
		$tdataservice[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="")
{
	$fieldLabelsservice[""] = array();
	$fieldToolTipsservice[""] = array();
	$placeHoldersservice[""] = array();
	$pageTitlesservice[""] = array();
	if (count($fieldToolTipsservice[""]))
		$tdataservice[".isUseToolTips"] = true;
}


	$tdataservice[".NCSearch"] = true;



$tdataservice[".shortTableName"] = "service";
$tdataservice[".nSecOptions"] = 1;
$tdataservice[".recsPerRowPrint"] = 1;
$tdataservice[".mainTableOwnerID"] = "service_business_business_id";
$tdataservice[".moveNext"] = 1;
$tdataservice[".entityType"] = 0;

$tdataservice[".strOriginalTableName"] = "service";

	



$tdataservice[".showAddInPopup"] = true;

$tdataservice[".showEditInPopup"] = true;

$tdataservice[".showViewInPopup"] = true;

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


$tdataservice[".fieldsForRegister"] = array();

$tdataservice[".listAjax"] = false;

	$tdataservice[".audit"] = false;

	$tdataservice[".locking"] = false;

$tdataservice[".edit"] = true;
$tdataservice[".afterEditAction"] = 1;
$tdataservice[".closePopupAfterEdit"] = 1;
$tdataservice[".afterEditActionDetTable"] = "";

$tdataservice[".add"] = true;
$tdataservice[".afterAddAction"] = 1;
$tdataservice[".closePopupAfterAdd"] = 1;
$tdataservice[".afterAddActionDetTable"] = "";

$tdataservice[".list"] = true;

$tdataservice[".inlineEdit"] = true;

$tdataservice[".updateSelected"] = true;

$tdataservice[".reorderRecordsByHeader"] = true;


$tdataservice[".exportFormatting"] = 2;
$tdataservice[".exportDelimiter"] = ",";
		
$tdataservice[".inlineAdd"] = true;
$tdataservice[".copy"] = true;
$tdataservice[".view"] = true;

$tdataservice[".import"] = true;

$tdataservice[".exportTo"] = true;

$tdataservice[".printFriendly"] = true;

$tdataservice[".delete"] = true;

$tdataservice[".showSimpleSearchOptions"] = false;

// Allow Show/Hide Fields in GRID
$tdataservice[".allowShowHideFields"] = false;
//

// Allow Fields Reordering in GRID
$tdataservice[".allowFieldsReordering"] = false;
//

// search Saving settings
$tdataservice[".searchSaving"] = false;
//

$tdataservice[".showSearchPanel"] = true;
		$tdataservice[".flexibleSearch"] = true;

$tdataservice[".isUseAjaxSuggest"] = true;

$tdataservice[".rowHighlite"] = true;





$tdataservice[".ajaxCodeSnippetAdded"] = false;

$tdataservice[".buttonsAdded"] = false;

$tdataservice[".addPageEvents"] = false;

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



$tdataservice[".badgeColor"] = "008b8b";


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

$tdataservice[".allSearchFields"][] = "service_id";
	$tdataservice[".allSearchFields"][] = "service_service_type_id";
	$tdataservice[".allSearchFields"][] = "service_title_ar";
	$tdataservice[".allSearchFields"][] = "service_title_en";
	$tdataservice[".allSearchFields"][] = "service_description_ar";
	$tdataservice[".allSearchFields"][] = "service_description_en";
	$tdataservice[".allSearchFields"][] = "service_price";
	$tdataservice[".allSearchFields"][] = "service_price_min";
	$tdataservice[".allSearchFields"][] = "service_shipping_cost";
	$tdataservice[".allSearchFields"][] = "service_period";
	$tdataservice[".allSearchFields"][] = "service_status";
	$tdataservice[".allSearchFields"][] = "service_active";
	

$tdataservice[".googleLikeFields"] = array();
$tdataservice[".googleLikeFields"][] = "service_id";
$tdataservice[".googleLikeFields"][] = "service_business_business_id";
$tdataservice[".googleLikeFields"][] = "service_service_type_id";
$tdataservice[".googleLikeFields"][] = "service_service_provider_id";
$tdataservice[".googleLikeFields"][] = "service_title_ar";
$tdataservice[".googleLikeFields"][] = "service_title_en";
$tdataservice[".googleLikeFields"][] = "service_description_ar";
$tdataservice[".googleLikeFields"][] = "service_description_en";
$tdataservice[".googleLikeFields"][] = "service_price";
$tdataservice[".googleLikeFields"][] = "service_price_min";
$tdataservice[".googleLikeFields"][] = "service_shipping_cost";
$tdataservice[".googleLikeFields"][] = "service_period";
$tdataservice[".googleLikeFields"][] = "service_status";
$tdataservice[".googleLikeFields"][] = "service_active";
$tdataservice[".googleLikeFields"][] = "service_active_shipping";


$tdataservice[".advSearchFields"] = array();
$tdataservice[".advSearchFields"][] = "service_id";
$tdataservice[".advSearchFields"][] = "service_service_type_id";
$tdataservice[".advSearchFields"][] = "service_title_ar";
$tdataservice[".advSearchFields"][] = "service_title_en";
$tdataservice[".advSearchFields"][] = "service_description_ar";
$tdataservice[".advSearchFields"][] = "service_description_en";
$tdataservice[".advSearchFields"][] = "service_price";
$tdataservice[".advSearchFields"][] = "service_price_min";
$tdataservice[".advSearchFields"][] = "service_shipping_cost";
$tdataservice[".advSearchFields"][] = "service_period";
$tdataservice[".advSearchFields"][] = "service_status";
$tdataservice[".advSearchFields"][] = "service_active";

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

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

$tdataservice[".nPrinterSplitRecords"] = 40;

$tdataservice[".nPrinterPDFSplitRecords"] = 40;



$tdataservice[".geocodingEnabled"] = false;





$tdataservice[".listGridLayout"] = 3;





// view page pdf

// print page pdf


$tdataservice[".pageSize"] = 20;

$tdataservice[".warnLeavingPages"] = true;



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

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

$tdataservice[".sqlHead"] = "SELECT service_id,  	service_business_business_id,  	service_service_type_id,  	service_service_provider_id,  	service_title_ar,  	service_title_en,  	service_description_ar,  	service_description_en,  	service_price,  	service_price_min,  	service_shipping_cost,  	service_period,  	service_status,  	service_active,  	service_active_shipping";
$tdataservice[".sqlFrom"] = "FROM service";
$tdataservice[".sqlWhereExpr"] = "";
$tdataservice[".sqlTail"] = "";

//fill array of tabs for list page
$arrGridTabs = array();
$arrGridTabs[] = array(
	'tabId' => "",
	'name' => "All data",
	'nameType' => 'Text',
	'where' => "",	
	'showRowCount' => 1,
	'hideEmpty' => 0,	
);				  
$arrGridTabs[] = array(
	'tabId' => "active",
	'name' => "Active",
	'nameType' => 'Text',
	'where' => "service_active = '1'",	
	'showRowCount' => 1,
	'hideEmpty' => 0,	
);				  
$arrGridTabs[] = array(
	'tabId' => "inactive",
	'name' => "InActive",
	'nameType' => 'Text',
	'where' => "service_active = '0'",	
	'showRowCount' => 1,
	'hideEmpty' => 0,	
);				  
$tdataservice[".arrGridTabs"] = $arrGridTabs;











//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;
$tdataservice[".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;
$tdataservice[".arrGroupsPerPage"] = $arrGPP;

$tdataservice[".highlightSearchResults"] = true;

$tableKeysservice = array();
$tableKeysservice[] = "service_id";
$tdataservice[".Keys"] = $tableKeysservice;

$tdataservice[".listFields"] = array();
$tdataservice[".listFields"][] = "service_id";
$tdataservice[".listFields"][] = "service_service_type_id";
$tdataservice[".listFields"][] = "service_title_ar";
$tdataservice[".listFields"][] = "service_title_en";
$tdataservice[".listFields"][] = "service_price";
$tdataservice[".listFields"][] = "service_price_min";
$tdataservice[".listFields"][] = "service_active";

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


$tdataservice[".viewFields"] = array();
$tdataservice[".viewFields"][] = "service_id";
$tdataservice[".viewFields"][] = "service_service_type_id";
$tdataservice[".viewFields"][] = "service_title_ar";
$tdataservice[".viewFields"][] = "service_title_en";
$tdataservice[".viewFields"][] = "service_description_ar";
$tdataservice[".viewFields"][] = "service_description_en";
$tdataservice[".viewFields"][] = "service_price";
$tdataservice[".viewFields"][] = "service_price_min";
$tdataservice[".viewFields"][] = "service_shipping_cost";
$tdataservice[".viewFields"][] = "service_period";
$tdataservice[".viewFields"][] = "service_status";
$tdataservice[".viewFields"][] = "service_active";

$tdataservice[".addFields"] = array();
$tdataservice[".addFields"][] = "service_service_type_id";
$tdataservice[".addFields"][] = "service_title_ar";
$tdataservice[".addFields"][] = "service_title_en";
$tdataservice[".addFields"][] = "service_description_ar";
$tdataservice[".addFields"][] = "service_description_en";
$tdataservice[".addFields"][] = "service_price";
$tdataservice[".addFields"][] = "service_price_min";
$tdataservice[".addFields"][] = "service_shipping_cost";
$tdataservice[".addFields"][] = "service_period";
$tdataservice[".addFields"][] = "service_status";
$tdataservice[".addFields"][] = "service_active";

$tdataservice[".masterListFields"] = array();
$tdataservice[".masterListFields"][] = "service_id";
$tdataservice[".masterListFields"][] = "service_service_type_id";
$tdataservice[".masterListFields"][] = "service_title_ar";
$tdataservice[".masterListFields"][] = "service_title_en";
$tdataservice[".masterListFields"][] = "service_description_ar";
$tdataservice[".masterListFields"][] = "service_description_en";
$tdataservice[".masterListFields"][] = "service_price";
$tdataservice[".masterListFields"][] = "service_price_min";
$tdataservice[".masterListFields"][] = "service_shipping_cost";
$tdataservice[".masterListFields"][] = "service_period";
$tdataservice[".masterListFields"][] = "service_status";
$tdataservice[".masterListFields"][] = "service_active";

$tdataservice[".inlineAddFields"] = array();
$tdataservice[".inlineAddFields"][] = "service_service_type_id";
$tdataservice[".inlineAddFields"][] = "service_title_ar";
$tdataservice[".inlineAddFields"][] = "service_title_en";
$tdataservice[".inlineAddFields"][] = "service_price";
$tdataservice[".inlineAddFields"][] = "service_price_min";
$tdataservice[".inlineAddFields"][] = "service_active";

$tdataservice[".editFields"] = array();
$tdataservice[".editFields"][] = "service_service_type_id";
$tdataservice[".editFields"][] = "service_title_ar";
$tdataservice[".editFields"][] = "service_title_en";
$tdataservice[".editFields"][] = "service_description_ar";
$tdataservice[".editFields"][] = "service_description_en";
$tdataservice[".editFields"][] = "service_price";
$tdataservice[".editFields"][] = "service_price_min";
$tdataservice[".editFields"][] = "service_shipping_cost";
$tdataservice[".editFields"][] = "service_period";
$tdataservice[".editFields"][] = "service_status";
$tdataservice[".editFields"][] = "service_active";

$tdataservice[".inlineEditFields"] = array();
$tdataservice[".inlineEditFields"][] = "service_service_type_id";
$tdataservice[".inlineEditFields"][] = "service_title_ar";
$tdataservice[".inlineEditFields"][] = "service_title_en";
$tdataservice[".inlineEditFields"][] = "service_price";
$tdataservice[".inlineEditFields"][] = "service_price_min";
$tdataservice[".inlineEditFields"][] = "service_active";

$tdataservice[".updateSelectedFields"] = array();
$tdataservice[".updateSelectedFields"][] = "service_service_type_id";
$tdataservice[".updateSelectedFields"][] = "service_title_ar";
$tdataservice[".updateSelectedFields"][] = "service_title_en";
$tdataservice[".updateSelectedFields"][] = "service_description_ar";
$tdataservice[".updateSelectedFields"][] = "service_description_en";
$tdataservice[".updateSelectedFields"][] = "service_price";
$tdataservice[".updateSelectedFields"][] = "service_price_min";
$tdataservice[".updateSelectedFields"][] = "service_shipping_cost";
$tdataservice[".updateSelectedFields"][] = "service_period";
$tdataservice[".updateSelectedFields"][] = "service_status";
$tdataservice[".updateSelectedFields"][] = "service_active";


$tdataservice[".exportFields"] = array();
$tdataservice[".exportFields"][] = "service_id";
$tdataservice[".exportFields"][] = "service_service_type_id";
$tdataservice[".exportFields"][] = "service_title_ar";
$tdataservice[".exportFields"][] = "service_title_en";
$tdataservice[".exportFields"][] = "service_description_ar";
$tdataservice[".exportFields"][] = "service_description_en";
$tdataservice[".exportFields"][] = "service_price";
$tdataservice[".exportFields"][] = "service_price_min";
$tdataservice[".exportFields"][] = "service_shipping_cost";
$tdataservice[".exportFields"][] = "service_period";
$tdataservice[".exportFields"][] = "service_status";
$tdataservice[".exportFields"][] = "service_active";

$tdataservice[".importFields"] = array();
$tdataservice[".importFields"][] = "service_id";
$tdataservice[".importFields"][] = "service_service_type_id";
$tdataservice[".importFields"][] = "service_title_ar";
$tdataservice[".importFields"][] = "service_title_en";
$tdataservice[".importFields"][] = "service_description_ar";
$tdataservice[".importFields"][] = "service_description_en";
$tdataservice[".importFields"][] = "service_price";
$tdataservice[".importFields"][] = "service_price_min";
$tdataservice[".importFields"][] = "service_shipping_cost";
$tdataservice[".importFields"][] = "service_period";
$tdataservice[".importFields"][] = "service_status";
$tdataservice[".importFields"][] = "service_active";

$tdataservice[".printFields"] = array();
$tdataservice[".printFields"][] = "service_id";
$tdataservice[".printFields"][] = "service_service_type_id";
$tdataservice[".printFields"][] = "service_title_ar";
$tdataservice[".printFields"][] = "service_title_en";
$tdataservice[".printFields"][] = "service_description_ar";
$tdataservice[".printFields"][] = "service_description_en";
$tdataservice[".printFields"][] = "service_price";
$tdataservice[".printFields"][] = "service_price_min";
$tdataservice[".printFields"][] = "service_shipping_cost";
$tdataservice[".printFields"][] = "service_period";
$tdataservice[".printFields"][] = "service_status";
$tdataservice[".printFields"][] = "service_active";


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

	
		$fdata["AutoInc"] = true;

	
			
		$fdata["bListPage"] = true;

	
	
	
	
	

		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


		$edata["IsRequired"] = true;

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

		$edata["maxNumberOfFiles"] = 1;

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

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

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdataservice["service_id"] = $fdata;
//	service_business_business_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "service_business_business_id";
	$fdata["GoodName"] = "service_business_business_id";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_business_business_id");
	$fdata["FieldType"] = 3;

	
	
	
			
	
	
	
	
	
	

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


		$edata["IsRequired"] = true;

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

		$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;








	$tdataservice["service_business_business_id"] = $fdata;
//	service_service_type_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "service_service_type_id";
	$fdata["GoodName"] = "service_service_type_id";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_service_type_id");
	$fdata["FieldType"] = 3;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

	
		
	$edata["LinkField"] = "service_type_id";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "concat(service_type_title_en,' -  ',service_type_title_ar)";
	
	

		$edata["CustomDisplay"] = "true";

	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$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




	$tdataservice["service_service_type_id"] = $fdata;
//	service_service_provider_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "service_service_provider_id";
	$fdata["GoodName"] = "service_service_provider_id";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_service_provider_id");
	$fdata["FieldType"] = 3;

	
	
	
			
	
	
	
	
	
	

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

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

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

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

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

	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


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

		$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;








	$tdataservice["service_service_provider_id"] = $fdata;
//	service_title_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "service_title_ar";
	$fdata["GoodName"] = "service_title_ar";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_title_ar");
	$fdata["FieldType"] = 200;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdataservice["service_title_ar"] = $fdata;
//	service_title_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "service_title_en";
	$fdata["GoodName"] = "service_title_en";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_title_en");
	$fdata["FieldType"] = 200;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdataservice["service_title_en"] = $fdata;
//	service_description_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "service_description_ar";
	$fdata["GoodName"] = "service_description_ar";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_description_ar");
	$fdata["FieldType"] = 201;

	
	
	
			
	
		$fdata["bAddPage"] = true;

	
		$fdata["bEditPage"] = true;

	
		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
				$edata["nRows"] = 100;
			$edata["nCols"] = 200;

	
	
		$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




	$tdataservice["service_description_ar"] = $fdata;
//	service_description_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "service_description_en";
	$fdata["GoodName"] = "service_description_en";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_description_en");
	$fdata["FieldType"] = 201;

	
	
	
			
	
		$fdata["bAddPage"] = true;

	
		$fdata["bEditPage"] = true;

	
		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

	
	
	
				$edata["nRows"] = 100;
			$edata["nCols"] = 200;

	
	
		$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




	$tdataservice["service_description_en"] = $fdata;
//	service_price
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "service_price";
	$fdata["GoodName"] = "service_price";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_price");
	$fdata["FieldType"] = 5;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

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

		$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




	$tdataservice["service_price"] = $fdata;
//	service_price_min
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "service_price_min";
	$fdata["GoodName"] = "service_price_min";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_price_min");
	$fdata["FieldType"] = 5;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

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

		$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




	$tdataservice["service_price_min"] = $fdata;
//	service_shipping_cost
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "service_shipping_cost";
	$fdata["GoodName"] = "service_shipping_cost";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_shipping_cost");
	$fdata["FieldType"] = 5;

	
	
	
			
	
		$fdata["bAddPage"] = true;

	
		$fdata["bEditPage"] = true;

	
		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

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

		$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




	$tdataservice["service_shipping_cost"] = $fdata;
//	service_period
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "service_period";
	$fdata["GoodName"] = "service_period";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_period");
	$fdata["FieldType"] = 3;

	
	
	
			
	
		$fdata["bAddPage"] = true;

	
		$fdata["bEditPage"] = true;

	
		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


		$edata["IsRequired"] = true;

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

		$edata["maxNumberOfFiles"] = 1;

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

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

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdataservice["service_period"] = $fdata;
//	service_status
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "service_status";
	$fdata["GoodName"] = "service_status";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_status");
	$fdata["FieldType"] = 3;

	
	
	
			
	
		$fdata["bAddPage"] = true;

	
		$fdata["bEditPage"] = true;

	
		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

	
	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

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

		$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




	$tdataservice["service_status"] = $fdata;
//	service_active
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "service_active";
	$fdata["GoodName"] = "service_active";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_active");
	$fdata["FieldType"] = 3;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

		$fdata["bEditPage"] = true;

		$fdata["bInlineEdit"] = true;

		$fdata["bUpdateSelected"] = true;


		$fdata["bViewPage"] = true;

		$fdata["bAdvancedSearch"] = true;

		$fdata["bPrinterPage"] = true;

		$fdata["bExportPage"] = true;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

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

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

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

	
	
		
	


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

		$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




	$tdataservice["service_active"] = $fdata;
//	service_active_shipping
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "service_active_shipping";
	$fdata["GoodName"] = "service_active_shipping";
	$fdata["ownerTable"] = "service";
	$fdata["Label"] = GetFieldLabel("service","service_active_shipping");
	$fdata["FieldType"] = 3;

	
	
	
			
	
	
	
	
	
	

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

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

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

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

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

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

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

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

	
	
		
	


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

		$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;








	$tdataservice["service_active_shipping"] = $fdata;


$tables_data["service"]=&$tdataservice;
$field_labels["service"] = &$fieldLabelsservice;
$fieldToolTips["service"] = &$fieldToolTipsservice;
$placeHolders["service"] = &$placeHoldersservice;
$page_titles["service"] = &$pageTitlesservice;

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

		$dIndex = 0;
	$detailsParam = array();
	$detailsParam["dDataSourceTable"]="appoitment";
		$detailsParam["dOriginalTable"] = "appoitment";
		$detailsParam["proceedLink"] = true;
				$detailsParam["dType"]=PAGE_LIST;
	$detailsParam["dShortTable"] = "appoitment";
	$detailsParam["dCaptionTable"] = GetTableCaption("appoitment");
	$detailsParam["masterKeys"] =array();
	$detailsParam["detailKeys"] =array();

	$detailsParam["dispChildCount"] = "1";

		$detailsParam["hideChild"] = false;
						$detailsParam["previewOnList"] = "1";
		$detailsParam["previewOnAdd"] = 0;
		$detailsParam["previewOnEdit"] = 0;
		$detailsParam["previewOnView"] = 0;
		
	$detailsTablesData["service"][$dIndex] = $detailsParam;

	
		$detailsTablesData["service"][$dIndex]["masterKeys"] = array();

	$detailsTablesData["service"][$dIndex]["masterKeys"][]="service_service_type_id";

				$detailsTablesData["service"][$dIndex]["detailKeys"] = array();

	$detailsTablesData["service"][$dIndex]["detailKeys"][]="appoitment_service_service_id";
//	service_provider
	
	

		$dIndex = 1;
	$detailsParam = array();
	$detailsParam["dDataSourceTable"]="service_provider";
		$detailsParam["dOriginalTable"] = "service_provider";
		$detailsParam["proceedLink"] = true;
				$detailsParam["dType"]=PAGE_LIST;
	$detailsParam["dShortTable"] = "service_provider";
	$detailsParam["dCaptionTable"] = GetTableCaption("service_provider");
	$detailsParam["masterKeys"] =array();
	$detailsParam["detailKeys"] =array();

	$detailsParam["dispChildCount"] = "1";

		$detailsParam["hideChild"] = false;
						$detailsParam["previewOnList"] = "1";
		$detailsParam["previewOnAdd"] = 0;
		$detailsParam["previewOnEdit"] = 0;
		$detailsParam["previewOnView"] = 0;
		
	$detailsTablesData["service"][$dIndex] = $detailsParam;

	
		$detailsTablesData["service"][$dIndex]["masterKeys"] = array();

	$detailsTablesData["service"][$dIndex]["masterKeys"][]="service_service_type_id";

				$detailsTablesData["service"][$dIndex]["detailKeys"] = array();

	$detailsTablesData["service"][$dIndex]["detailKeys"][]="service_provider_service_service_id";

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


	
				$strOriginalDetailsTable="service_type";
	$masterParams = array();
	$masterParams["mDataSourceTable"]="service_type";
	$masterParams["mOriginalTable"]= $strOriginalDetailsTable;
	$masterParams["mShortTable"]= "service_type";
	$masterParams["masterKeys"]= array();
	$masterParams["detailKeys"]= array();
	
		$masterParams["dispChildCount"]= "1";
	$masterParams["hideChild"]= "0";
	$masterParams["dispMasterInfo"] = array();
				$masterParams["dispMasterInfo"][PAGE_LIST] = true;
			$masterParams["dispMasterInfo"][PAGE_PRINT] = true;
		
	$masterParams["previewOnList"]= 1;
	$masterParams["previewOnAdd"]= 0;
	$masterParams["previewOnEdit"]= 0;
	$masterParams["previewOnView"]= 0;
	$masterParams["proceedLink"]= 1;

	$masterParams["type"] = PAGE_LIST;
					$masterTablesData["service"][0] = $masterParams;
				$masterTablesData["service"][0]["masterKeys"] = array();
	$masterTablesData["service"][0]["masterKeys"][]="service_type_id";
				$masterTablesData["service"][0]["detailKeys"] = array();
	$masterTablesData["service"][0]["detailKeys"][]="service_service_type_id";
		
// -----------------end  prepare master-details data arrays ------------------------------//

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










function createSqlQuery_service()
{
$proto3=array();
$proto3["m_strHead"] = "SELECT";
$proto3["m_strFieldList"] = "service_id,  	service_business_business_id,  	service_service_type_id,  	service_service_provider_id,  	service_title_ar,  	service_title_en,  	service_description_ar,  	service_description_en,  	service_price,  	service_price_min,  	service_shipping_cost,  	service_period,  	service_status,  	service_active,  	service_active_shipping";
$proto3["m_strFrom"] = "FROM service";
$proto3["m_strWhere"] = "";
$proto3["m_strOrderBy"] = "";
	
		;
			$proto3["cipherer"] = null;
$proto5=array();
$proto5["m_sql"] = "";
$proto5["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

$proto3["m_having"] = $obj;
$proto3["m_fieldlist"] = array();
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "service_id",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto9["m_sql"] = "service_id";
$proto9["m_srcTableName"] = "service";
$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

$proto3["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "service_business_business_id",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto11["m_sql"] = "service_business_business_id";
$proto11["m_srcTableName"] = "service";
$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

$proto3["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "service_service_type_id",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto13["m_sql"] = "service_service_type_id";
$proto13["m_srcTableName"] = "service";
$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

$proto3["m_fieldlist"][]=$obj;
						$proto15=array();
			$obj = new SQLField(array(
	"m_strName" => "service_service_provider_id",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto15["m_sql"] = "service_service_provider_id";
$proto15["m_srcTableName"] = "service";
$proto15["m_expr"]=$obj;
$proto15["m_alias"] = "";
$obj = new SQLFieldListItem($proto15);

$proto3["m_fieldlist"][]=$obj;
						$proto17=array();
			$obj = new SQLField(array(
	"m_strName" => "service_title_ar",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto17["m_sql"] = "service_title_ar";
$proto17["m_srcTableName"] = "service";
$proto17["m_expr"]=$obj;
$proto17["m_alias"] = "";
$obj = new SQLFieldListItem($proto17);

$proto3["m_fieldlist"][]=$obj;
						$proto19=array();
			$obj = new SQLField(array(
	"m_strName" => "service_title_en",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto19["m_sql"] = "service_title_en";
$proto19["m_srcTableName"] = "service";
$proto19["m_expr"]=$obj;
$proto19["m_alias"] = "";
$obj = new SQLFieldListItem($proto19);

$proto3["m_fieldlist"][]=$obj;
						$proto21=array();
			$obj = new SQLField(array(
	"m_strName" => "service_description_ar",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto21["m_sql"] = "service_description_ar";
$proto21["m_srcTableName"] = "service";
$proto21["m_expr"]=$obj;
$proto21["m_alias"] = "";
$obj = new SQLFieldListItem($proto21);

$proto3["m_fieldlist"][]=$obj;
						$proto23=array();
			$obj = new SQLField(array(
	"m_strName" => "service_description_en",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto23["m_sql"] = "service_description_en";
$proto23["m_srcTableName"] = "service";
$proto23["m_expr"]=$obj;
$proto23["m_alias"] = "";
$obj = new SQLFieldListItem($proto23);

$proto3["m_fieldlist"][]=$obj;
						$proto25=array();
			$obj = new SQLField(array(
	"m_strName" => "service_price",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto25["m_sql"] = "service_price";
$proto25["m_srcTableName"] = "service";
$proto25["m_expr"]=$obj;
$proto25["m_alias"] = "";
$obj = new SQLFieldListItem($proto25);

$proto3["m_fieldlist"][]=$obj;
						$proto27=array();
			$obj = new SQLField(array(
	"m_strName" => "service_price_min",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto27["m_sql"] = "service_price_min";
$proto27["m_srcTableName"] = "service";
$proto27["m_expr"]=$obj;
$proto27["m_alias"] = "";
$obj = new SQLFieldListItem($proto27);

$proto3["m_fieldlist"][]=$obj;
						$proto29=array();
			$obj = new SQLField(array(
	"m_strName" => "service_shipping_cost",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto29["m_sql"] = "service_shipping_cost";
$proto29["m_srcTableName"] = "service";
$proto29["m_expr"]=$obj;
$proto29["m_alias"] = "";
$obj = new SQLFieldListItem($proto29);

$proto3["m_fieldlist"][]=$obj;
						$proto31=array();
			$obj = new SQLField(array(
	"m_strName" => "service_period",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto31["m_sql"] = "service_period";
$proto31["m_srcTableName"] = "service";
$proto31["m_expr"]=$obj;
$proto31["m_alias"] = "";
$obj = new SQLFieldListItem($proto31);

$proto3["m_fieldlist"][]=$obj;
						$proto33=array();
			$obj = new SQLField(array(
	"m_strName" => "service_status",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto33["m_sql"] = "service_status";
$proto33["m_srcTableName"] = "service";
$proto33["m_expr"]=$obj;
$proto33["m_alias"] = "";
$obj = new SQLFieldListItem($proto33);

$proto3["m_fieldlist"][]=$obj;
						$proto35=array();
			$obj = new SQLField(array(
	"m_strName" => "service_active",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto35["m_sql"] = "service_active";
$proto35["m_srcTableName"] = "service";
$proto35["m_expr"]=$obj;
$proto35["m_alias"] = "";
$obj = new SQLFieldListItem($proto35);

$proto3["m_fieldlist"][]=$obj;
						$proto37=array();
			$obj = new SQLField(array(
	"m_strName" => "service_active_shipping",
	"m_strTable" => "service",
	"m_srcTableName" => "service"
));

$proto37["m_sql"] = "service_active_shipping";
$proto37["m_srcTableName"] = "service";
$proto37["m_expr"]=$obj;
$proto37["m_alias"] = "";
$obj = new SQLFieldListItem($proto37);

$proto3["m_fieldlist"][]=$obj;
$proto3["m_fromlist"] = array();
												$proto39=array();
$proto39["m_link"] = "SQLL_MAIN";
			$proto40=array();
$proto40["m_strName"] = "service";
$proto40["m_srcTableName"] = "service";
$proto40["m_columns"] = array();
$proto40["m_columns"][] = "service_id";
$proto40["m_columns"][] = "service_business_business_id";
$proto40["m_columns"][] = "service_service_type_id";
$proto40["m_columns"][] = "service_service_provider_id";
$proto40["m_columns"][] = "service_title_ar";
$proto40["m_columns"][] = "service_title_en";
$proto40["m_columns"][] = "service_description_ar";
$proto40["m_columns"][] = "service_description_en";
$proto40["m_columns"][] = "service_price";
$proto40["m_columns"][] = "service_price_min";
$proto40["m_columns"][] = "service_shipping_cost";
$proto40["m_columns"][] = "service_period";
$proto40["m_columns"][] = "service_status";
$proto40["m_columns"][] = "service_active";
$proto40["m_columns"][] = "service_active_shipping";
$obj = new SQLTable($proto40);

$proto39["m_table"] = $obj;
$proto39["m_sql"] = "service";
$proto39["m_alias"] = "";
$proto39["m_srcTableName"] = "service";
$proto41=array();
$proto41["m_sql"] = "";
$proto41["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

	return $obj;
}
$queryData_service = createSqlQuery_service();


	
		;

															

$tdataservice[".sqlquery"] = $queryData_service;

$tableEvents["service"] = new eventsBase;
$tdataservice[".hasEvents"] = false;

?>