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




$tdataprovider_services_details = array();
	$tdataprovider_services_details[".truncateText"] = true;
	$tdataprovider_services_details[".NumberOfChars"] = 80;
	$tdataprovider_services_details[".ShortName"] = "provider_services_details";
	$tdataprovider_services_details[".OwnerID"] = "";
	$tdataprovider_services_details[".OriginalTable"] = "provider";

//	field labels
$fieldLabelsprovider_services_details = array();
$fieldToolTipsprovider_services_details = array();
$pageTitlesprovider_services_details = array();
$placeHoldersprovider_services_details = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsprovider_services_details["English"] = array();
	$fieldToolTipsprovider_services_details["English"] = array();
	$placeHoldersprovider_services_details["English"] = array();
	$pageTitlesprovider_services_details["English"] = array();
	$fieldLabelsprovider_services_details["English"]["service_provider_id"] = "Service Provider Id";
	$fieldToolTipsprovider_services_details["English"]["service_provider_id"] = "";
	$placeHoldersprovider_services_details["English"]["service_provider_id"] = "";
	$fieldLabelsprovider_services_details["English"]["service_provider_provider_provider_id"] = "Service Provider Provider Provider Id";
	$fieldToolTipsprovider_services_details["English"]["service_provider_provider_provider_id"] = "";
	$placeHoldersprovider_services_details["English"]["service_provider_provider_provider_id"] = "";
	$fieldLabelsprovider_services_details["English"]["service_provider_service_service_id"] = "Service Provider Service Service Id";
	$fieldToolTipsprovider_services_details["English"]["service_provider_service_service_id"] = "";
	$placeHoldersprovider_services_details["English"]["service_provider_service_service_id"] = "";
	$fieldLabelsprovider_services_details["English"]["service_provider_status_id"] = "Service Provider Status Id";
	$fieldToolTipsprovider_services_details["English"]["service_provider_status_id"] = "";
	$placeHoldersprovider_services_details["English"]["service_provider_status_id"] = "";
	$fieldLabelsprovider_services_details["English"]["provider_id"] = "Stuff Id";
	$fieldToolTipsprovider_services_details["English"]["provider_id"] = "";
	$placeHoldersprovider_services_details["English"]["provider_id"] = "";
	$fieldLabelsprovider_services_details["English"]["provider_title_ar"] = "Name Ar";
	$fieldToolTipsprovider_services_details["English"]["provider_title_ar"] = "";
	$placeHoldersprovider_services_details["English"]["provider_title_ar"] = "";
	$fieldLabelsprovider_services_details["English"]["provider_title_en"] = "Name En";
	$fieldToolTipsprovider_services_details["English"]["provider_title_en"] = "";
	$placeHoldersprovider_services_details["English"]["provider_title_en"] = "";
	$fieldLabelsprovider_services_details["English"]["provider_tel"] = "Tel";
	$fieldToolTipsprovider_services_details["English"]["provider_tel"] = "";
	$placeHoldersprovider_services_details["English"]["provider_tel"] = "";
	$fieldLabelsprovider_services_details["English"]["provider_email"] = "Email";
	$fieldToolTipsprovider_services_details["English"]["provider_email"] = "";
	$placeHoldersprovider_services_details["English"]["provider_email"] = "";
	$fieldLabelsprovider_services_details["English"]["provider_status"] = "Status";
	$fieldToolTipsprovider_services_details["English"]["provider_status"] = "";
	$placeHoldersprovider_services_details["English"]["provider_status"] = "";
	if (count($fieldToolTipsprovider_services_details["English"]))
		$tdataprovider_services_details[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="Arabic")
{
	$fieldLabelsprovider_services_details["Arabic"] = array();
	$fieldToolTipsprovider_services_details["Arabic"] = array();
	$placeHoldersprovider_services_details["Arabic"] = array();
	$pageTitlesprovider_services_details["Arabic"] = array();
	$fieldLabelsprovider_services_details["Arabic"]["service_provider_id"] = "Service Provider Id";
	$fieldToolTipsprovider_services_details["Arabic"]["service_provider_id"] = "";
	$placeHoldersprovider_services_details["Arabic"]["service_provider_id"] = "";
	$fieldLabelsprovider_services_details["Arabic"]["service_provider_provider_provider_id"] = "Service Provider Provider Provider Id";
	$fieldToolTipsprovider_services_details["Arabic"]["service_provider_provider_provider_id"] = "";
	$placeHoldersprovider_services_details["Arabic"]["service_provider_provider_provider_id"] = "";
	$fieldLabelsprovider_services_details["Arabic"]["service_provider_service_service_id"] = "Service Provider Service Service Id";
	$fieldToolTipsprovider_services_details["Arabic"]["service_provider_service_service_id"] = "";
	$placeHoldersprovider_services_details["Arabic"]["service_provider_service_service_id"] = "";
	$fieldLabelsprovider_services_details["Arabic"]["service_provider_status_id"] = "Service Provider Status Id";
	$fieldToolTipsprovider_services_details["Arabic"]["service_provider_status_id"] = "";
	$placeHoldersprovider_services_details["Arabic"]["service_provider_status_id"] = "";
	$fieldLabelsprovider_services_details["Arabic"]["provider_id"] = "Provider Id";
	$fieldToolTipsprovider_services_details["Arabic"]["provider_id"] = "";
	$placeHoldersprovider_services_details["Arabic"]["provider_id"] = "";
	$fieldLabelsprovider_services_details["Arabic"]["provider_title_ar"] = "Provider Title Ar";
	$fieldToolTipsprovider_services_details["Arabic"]["provider_title_ar"] = "";
	$placeHoldersprovider_services_details["Arabic"]["provider_title_ar"] = "";
	$fieldLabelsprovider_services_details["Arabic"]["provider_title_en"] = "Provider Title En";
	$fieldToolTipsprovider_services_details["Arabic"]["provider_title_en"] = "";
	$placeHoldersprovider_services_details["Arabic"]["provider_title_en"] = "";
	$fieldLabelsprovider_services_details["Arabic"]["provider_tel"] = "Provider Tel";
	$fieldToolTipsprovider_services_details["Arabic"]["provider_tel"] = "";
	$placeHoldersprovider_services_details["Arabic"]["provider_tel"] = "";
	$fieldLabelsprovider_services_details["Arabic"]["provider_email"] = "Provider Email";
	$fieldToolTipsprovider_services_details["Arabic"]["provider_email"] = "";
	$placeHoldersprovider_services_details["Arabic"]["provider_email"] = "";
	$fieldLabelsprovider_services_details["Arabic"]["provider_status"] = "Provider Status";
	$fieldToolTipsprovider_services_details["Arabic"]["provider_status"] = "";
	$placeHoldersprovider_services_details["Arabic"]["provider_status"] = "";
	if (count($fieldToolTipsprovider_services_details["Arabic"]))
		$tdataprovider_services_details[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="")
{
	$fieldLabelsprovider_services_details[""] = array();
	$fieldToolTipsprovider_services_details[""] = array();
	$placeHoldersprovider_services_details[""] = array();
	$pageTitlesprovider_services_details[""] = array();
	if (count($fieldToolTipsprovider_services_details[""]))
		$tdataprovider_services_details[".isUseToolTips"] = true;
}


	$tdataprovider_services_details[".NCSearch"] = true;



$tdataprovider_services_details[".shortTableName"] = "provider_services_details";
$tdataprovider_services_details[".nSecOptions"] = 0;
$tdataprovider_services_details[".recsPerRowPrint"] = 1;
$tdataprovider_services_details[".mainTableOwnerID"] = "";
$tdataprovider_services_details[".moveNext"] = 1;
$tdataprovider_services_details[".entityType"] = 1;

$tdataprovider_services_details[".strOriginalTableName"] = "provider";

	



$tdataprovider_services_details[".showAddInPopup"] = true;

$tdataprovider_services_details[".showEditInPopup"] = true;

$tdataprovider_services_details[".showViewInPopup"] = true;

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


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

$tdataprovider_services_details[".listAjax"] = false;

	$tdataprovider_services_details[".audit"] = false;

	$tdataprovider_services_details[".locking"] = false;


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

$tdataprovider_services_details[".list"] = true;



$tdataprovider_services_details[".reorderRecordsByHeader"] = true;



$tdataprovider_services_details[".inlineAdd"] = true;





$tdataprovider_services_details[".showSimpleSearchOptions"] = false;

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

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

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

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

$tdataprovider_services_details[".isUseAjaxSuggest"] = true;

$tdataprovider_services_details[".rowHighlite"] = true;





$tdataprovider_services_details[".ajaxCodeSnippetAdded"] = false;

$tdataprovider_services_details[".buttonsAdded"] = false;

$tdataprovider_services_details[".addPageEvents"] = false;

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



$tdataprovider_services_details[".badgeColor"] = "2F4F4F";


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

$tdataprovider_services_details[".allSearchFields"][] = "provider_id";
	$tdataprovider_services_details[".allSearchFields"][] = "provider_title_ar";
	$tdataprovider_services_details[".allSearchFields"][] = "provider_title_en";
	$tdataprovider_services_details[".allSearchFields"][] = "provider_tel";
	$tdataprovider_services_details[".allSearchFields"][] = "provider_email";
	$tdataprovider_services_details[".allSearchFields"][] = "provider_status";
	$tdataprovider_services_details[".allSearchFields"][] = "service_provider_id";
	$tdataprovider_services_details[".allSearchFields"][] = "service_provider_provider_provider_id";
	$tdataprovider_services_details[".allSearchFields"][] = "service_provider_service_service_id";
	$tdataprovider_services_details[".allSearchFields"][] = "service_provider_status_id";
	

$tdataprovider_services_details[".googleLikeFields"] = array();
$tdataprovider_services_details[".googleLikeFields"][] = "provider_id";
$tdataprovider_services_details[".googleLikeFields"][] = "provider_title_ar";
$tdataprovider_services_details[".googleLikeFields"][] = "provider_title_en";
$tdataprovider_services_details[".googleLikeFields"][] = "provider_tel";
$tdataprovider_services_details[".googleLikeFields"][] = "provider_email";
$tdataprovider_services_details[".googleLikeFields"][] = "provider_status";
$tdataprovider_services_details[".googleLikeFields"][] = "service_provider_id";
$tdataprovider_services_details[".googleLikeFields"][] = "service_provider_provider_provider_id";
$tdataprovider_services_details[".googleLikeFields"][] = "service_provider_service_service_id";
$tdataprovider_services_details[".googleLikeFields"][] = "service_provider_status_id";


$tdataprovider_services_details[".advSearchFields"] = array();
$tdataprovider_services_details[".advSearchFields"][] = "provider_id";
$tdataprovider_services_details[".advSearchFields"][] = "provider_title_ar";
$tdataprovider_services_details[".advSearchFields"][] = "provider_title_en";
$tdataprovider_services_details[".advSearchFields"][] = "provider_tel";
$tdataprovider_services_details[".advSearchFields"][] = "provider_email";
$tdataprovider_services_details[".advSearchFields"][] = "provider_status";
$tdataprovider_services_details[".advSearchFields"][] = "service_provider_id";
$tdataprovider_services_details[".advSearchFields"][] = "service_provider_provider_provider_id";
$tdataprovider_services_details[".advSearchFields"][] = "service_provider_service_service_id";
$tdataprovider_services_details[".advSearchFields"][] = "service_provider_status_id";

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

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

$tdataprovider_services_details[".nPrinterSplitRecords"] = 40;

$tdataprovider_services_details[".nPrinterPDFSplitRecords"] = 40;



$tdataprovider_services_details[".geocodingEnabled"] = false;





$tdataprovider_services_details[".listGridLayout"] = 3;





// view page pdf

// print page pdf


$tdataprovider_services_details[".pageSize"] = 20;

$tdataprovider_services_details[".warnLeavingPages"] = true;



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

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

$tdataprovider_services_details[".sqlHead"] = "SELECT provider.provider_id,  provider.provider_title_ar,  provider.provider_title_en,  provider.provider_tel,  provider.provider_email,  provider.provider_status,  service_provider.service_provider_id,  service_provider.service_provider_provider_provider_id,  service_provider.service_provider_service_service_id,  service_provider.service_provider_status_id";
$tdataprovider_services_details[".sqlFrom"] = "FROM provider  INNER JOIN service_provider ON provider.provider_id = service_provider.service_provider_provider_provider_id";
$tdataprovider_services_details[".sqlWhereExpr"] = "";
$tdataprovider_services_details[".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;
$tdataprovider_services_details[".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;
$tdataprovider_services_details[".arrGroupsPerPage"] = $arrGPP;

$tdataprovider_services_details[".highlightSearchResults"] = true;

$tableKeysprovider_services_details = array();
$tableKeysprovider_services_details[] = "provider_id";
$tdataprovider_services_details[".Keys"] = $tableKeysprovider_services_details;

$tdataprovider_services_details[".listFields"] = array();
$tdataprovider_services_details[".listFields"][] = "provider_id";
$tdataprovider_services_details[".listFields"][] = "provider_title_ar";
$tdataprovider_services_details[".listFields"][] = "provider_title_en";
$tdataprovider_services_details[".listFields"][] = "provider_tel";
$tdataprovider_services_details[".listFields"][] = "provider_email";
$tdataprovider_services_details[".listFields"][] = "provider_status";
$tdataprovider_services_details[".listFields"][] = "service_provider_id";
$tdataprovider_services_details[".listFields"][] = "service_provider_provider_provider_id";
$tdataprovider_services_details[".listFields"][] = "service_provider_service_service_id";
$tdataprovider_services_details[".listFields"][] = "service_provider_status_id";

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


$tdataprovider_services_details[".viewFields"] = array();

$tdataprovider_services_details[".addFields"] = array();
$tdataprovider_services_details[".addFields"][] = "provider_title_ar";
$tdataprovider_services_details[".addFields"][] = "provider_title_en";
$tdataprovider_services_details[".addFields"][] = "provider_tel";
$tdataprovider_services_details[".addFields"][] = "provider_email";
$tdataprovider_services_details[".addFields"][] = "provider_status";

$tdataprovider_services_details[".masterListFields"] = array();
$tdataprovider_services_details[".masterListFields"][] = "provider_id";
$tdataprovider_services_details[".masterListFields"][] = "provider_title_ar";
$tdataprovider_services_details[".masterListFields"][] = "provider_title_en";
$tdataprovider_services_details[".masterListFields"][] = "provider_tel";
$tdataprovider_services_details[".masterListFields"][] = "provider_email";
$tdataprovider_services_details[".masterListFields"][] = "provider_status";
$tdataprovider_services_details[".masterListFields"][] = "service_provider_id";
$tdataprovider_services_details[".masterListFields"][] = "service_provider_provider_provider_id";
$tdataprovider_services_details[".masterListFields"][] = "service_provider_service_service_id";
$tdataprovider_services_details[".masterListFields"][] = "service_provider_status_id";

$tdataprovider_services_details[".inlineAddFields"] = array();
$tdataprovider_services_details[".inlineAddFields"][] = "provider_title_ar";
$tdataprovider_services_details[".inlineAddFields"][] = "provider_title_en";
$tdataprovider_services_details[".inlineAddFields"][] = "provider_tel";
$tdataprovider_services_details[".inlineAddFields"][] = "provider_email";
$tdataprovider_services_details[".inlineAddFields"][] = "provider_status";

$tdataprovider_services_details[".editFields"] = array();

$tdataprovider_services_details[".inlineEditFields"] = array();

$tdataprovider_services_details[".updateSelectedFields"] = array();


$tdataprovider_services_details[".exportFields"] = array();

$tdataprovider_services_details[".importFields"] = array();

$tdataprovider_services_details[".printFields"] = array();


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

	
		$fdata["AutoInc"] = true;

	
			
		$fdata["bListPage"] = true;

	
	
	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "provider.provider_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




	$tdataprovider_services_details["provider_id"] = $fdata;
//	provider_title_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "provider_title_ar";
	$fdata["GoodName"] = "provider_title_ar";
	$fdata["ownerTable"] = "provider";
	$fdata["Label"] = GetFieldLabel("provider_services_details","provider_title_ar");
	$fdata["FieldType"] = 200;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "provider.provider_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




	$tdataprovider_services_details["provider_title_ar"] = $fdata;
//	provider_title_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "provider_title_en";
	$fdata["GoodName"] = "provider_title_en";
	$fdata["ownerTable"] = "provider";
	$fdata["Label"] = GetFieldLabel("provider_services_details","provider_title_en");
	$fdata["FieldType"] = 200;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "provider.provider_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




	$tdataprovider_services_details["provider_title_en"] = $fdata;
//	provider_tel
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "provider_tel";
	$fdata["GoodName"] = "provider_tel";
	$fdata["ownerTable"] = "provider";
	$fdata["Label"] = GetFieldLabel("provider_services_details","provider_tel");
	$fdata["FieldType"] = 200;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "provider.provider_tel";

	
	
				$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




	$tdataprovider_services_details["provider_tel"] = $fdata;
//	provider_email
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "provider_email";
	$fdata["GoodName"] = "provider_email";
	$fdata["ownerTable"] = "provider";
	$fdata["Label"] = GetFieldLabel("provider_services_details","provider_email");
	$fdata["FieldType"] = 200;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "provider.provider_email";

	
	
				$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




	$tdataprovider_services_details["provider_email"] = $fdata;
//	provider_status
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "provider_status";
	$fdata["GoodName"] = "provider_status";
	$fdata["ownerTable"] = "provider";
	$fdata["Label"] = GetFieldLabel("provider_services_details","provider_status");
	$fdata["FieldType"] = 3;

	
	
	
			
		$fdata["bListPage"] = true;

		$fdata["bAddPage"] = true;

		$fdata["bInlineAdd"] = true;

	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "provider.provider_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




	$tdataprovider_services_details["provider_status"] = $fdata;
//	service_provider_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "service_provider_id";
	$fdata["GoodName"] = "service_provider_id";
	$fdata["ownerTable"] = "service_provider";
	$fdata["Label"] = GetFieldLabel("provider_services_details","service_provider_id");
	$fdata["FieldType"] = 3;

	
		$fdata["AutoInc"] = true;

	
			
		$fdata["bListPage"] = true;

	
	
	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "service_provider.service_provider_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"] = "text";

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

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdataprovider_services_details["service_provider_id"] = $fdata;
//	service_provider_provider_provider_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "service_provider_provider_provider_id";
	$fdata["GoodName"] = "service_provider_provider_provider_id";
	$fdata["ownerTable"] = "service_provider";
	$fdata["Label"] = GetFieldLabel("provider_services_details","service_provider_provider_provider_id");
	$fdata["FieldType"] = 3;

	
	
	
			
		$fdata["bListPage"] = true;

	
	
	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "service_provider.service_provider_provider_provider_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"] = "text";

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

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdataprovider_services_details["service_provider_provider_provider_id"] = $fdata;
//	service_provider_service_service_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "service_provider_service_service_id";
	$fdata["GoodName"] = "service_provider_service_service_id";
	$fdata["ownerTable"] = "service_provider";
	$fdata["Label"] = GetFieldLabel("provider_services_details","service_provider_service_service_id");
	$fdata["FieldType"] = 3;

	
	
	
			
		$fdata["bListPage"] = true;

	
	
	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "service_provider.service_provider_service_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"] = "text";

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

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdataprovider_services_details["service_provider_service_service_id"] = $fdata;
//	service_provider_status_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "service_provider_status_id";
	$fdata["GoodName"] = "service_provider_status_id";
	$fdata["ownerTable"] = "service_provider";
	$fdata["Label"] = GetFieldLabel("provider_services_details","service_provider_status_id");
	$fdata["FieldType"] = 3;

	
	
	
			
		$fdata["bListPage"] = true;

	
	
	
	
	

	
		$fdata["bAdvancedSearch"] = true;

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

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "service_provider.service_provider_status_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"] = "text";

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

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdataprovider_services_details["service_provider_status_id"] = $fdata;


$tables_data["provider_services_details"]=&$tdataprovider_services_details;
$field_labels["provider_services_details"] = &$fieldLabelsprovider_services_details;
$fieldToolTips["provider_services_details"] = &$fieldToolTipsprovider_services_details;
$placeHolders["provider_services_details"] = &$placeHoldersprovider_services_details;
$page_titles["provider_services_details"] = &$pageTitlesprovider_services_details;

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

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


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

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










function createSqlQuery_provider_services_details()
{
$proto3=array();
$proto3["m_strHead"] = "SELECT";
$proto3["m_strFieldList"] = "provider.provider_id,  provider.provider_title_ar,  provider.provider_title_en,  provider.provider_tel,  provider.provider_email,  provider.provider_status,  service_provider.service_provider_id,  service_provider.service_provider_provider_provider_id,  service_provider.service_provider_service_service_id,  service_provider.service_provider_status_id";
$proto3["m_strFrom"] = "FROM provider  INNER JOIN service_provider ON provider.provider_id = service_provider.service_provider_provider_provider_id";
$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" => "provider_id",
	"m_strTable" => "provider",
	"m_srcTableName" => "provider_services_details"
));

$proto9["m_sql"] = "provider.provider_id";
$proto9["m_srcTableName"] = "provider_services_details";
$proto9["m_expr"]=$obj;
$proto9["m_alias"] = "";
$obj = new SQLFieldListItem($proto9);

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

$proto11["m_sql"] = "provider.provider_title_ar";
$proto11["m_srcTableName"] = "provider_services_details";
$proto11["m_expr"]=$obj;
$proto11["m_alias"] = "";
$obj = new SQLFieldListItem($proto11);

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

$proto13["m_sql"] = "provider.provider_title_en";
$proto13["m_srcTableName"] = "provider_services_details";
$proto13["m_expr"]=$obj;
$proto13["m_alias"] = "";
$obj = new SQLFieldListItem($proto13);

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

$proto15["m_sql"] = "provider.provider_tel";
$proto15["m_srcTableName"] = "provider_services_details";
$proto15["m_expr"]=$obj;
$proto15["m_alias"] = "";
$obj = new SQLFieldListItem($proto15);

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

$proto17["m_sql"] = "provider.provider_email";
$proto17["m_srcTableName"] = "provider_services_details";
$proto17["m_expr"]=$obj;
$proto17["m_alias"] = "";
$obj = new SQLFieldListItem($proto17);

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

$proto19["m_sql"] = "provider.provider_status";
$proto19["m_srcTableName"] = "provider_services_details";
$proto19["m_expr"]=$obj;
$proto19["m_alias"] = "";
$obj = new SQLFieldListItem($proto19);

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

$proto21["m_sql"] = "service_provider.service_provider_id";
$proto21["m_srcTableName"] = "provider_services_details";
$proto21["m_expr"]=$obj;
$proto21["m_alias"] = "";
$obj = new SQLFieldListItem($proto21);

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

$proto23["m_sql"] = "service_provider.service_provider_provider_provider_id";
$proto23["m_srcTableName"] = "provider_services_details";
$proto23["m_expr"]=$obj;
$proto23["m_alias"] = "";
$obj = new SQLFieldListItem($proto23);

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

$proto25["m_sql"] = "service_provider.service_provider_service_service_id";
$proto25["m_srcTableName"] = "provider_services_details";
$proto25["m_expr"]=$obj;
$proto25["m_alias"] = "";
$obj = new SQLFieldListItem($proto25);

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

$proto27["m_sql"] = "service_provider.service_provider_status_id";
$proto27["m_srcTableName"] = "provider_services_details";
$proto27["m_expr"]=$obj;
$proto27["m_alias"] = "";
$obj = new SQLFieldListItem($proto27);

$proto3["m_fieldlist"][]=$obj;
$proto3["m_fromlist"] = array();
												$proto29=array();
$proto29["m_link"] = "SQLL_MAIN";
			$proto30=array();
$proto30["m_strName"] = "provider";
$proto30["m_srcTableName"] = "provider_services_details";
$proto30["m_columns"] = array();
$proto30["m_columns"][] = "provider_id";
$proto30["m_columns"][] = "provider_business_business_id";
$proto30["m_columns"][] = "provider_title_ar";
$proto30["m_columns"][] = "provider_title_en";
$proto30["m_columns"][] = "provider_tel";
$proto30["m_columns"][] = "provider_email";
$proto30["m_columns"][] = "provider_status";
$obj = new SQLTable($proto30);

$proto29["m_table"] = $obj;
$proto29["m_sql"] = "provider";
$proto29["m_alias"] = "";
$proto29["m_srcTableName"] = "provider_services_details";
$proto31=array();
$proto31["m_sql"] = "";
$proto31["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto3["m_fromlist"][]=$obj;
												$proto33=array();
$proto33["m_link"] = "SQLL_INNERJOIN";
			$proto34=array();
$proto34["m_strName"] = "service_provider";
$proto34["m_srcTableName"] = "provider_services_details";
$proto34["m_columns"] = array();
$proto34["m_columns"][] = "service_provider_id";
$proto34["m_columns"][] = "service_provider_business_business_id";
$proto34["m_columns"][] = "service_provider_provider_provider_id";
$proto34["m_columns"][] = "service_provider_service_service_id";
$proto34["m_columns"][] = "service_provider_status_id";
$obj = new SQLTable($proto34);

$proto33["m_table"] = $obj;
$proto33["m_sql"] = "INNER JOIN service_provider ON provider.provider_id = service_provider.service_provider_provider_provider_id";
$proto33["m_alias"] = "";
$proto33["m_srcTableName"] = "provider_services_details";
$proto35=array();
$proto35["m_sql"] = "provider.provider_id = service_provider.service_provider_provider_provider_id";
$proto35["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "provider_id",
	"m_strTable" => "provider",
	"m_srcTableName" => "provider_services_details"
));

$proto35["m_column"]=$obj;
$proto35["m_contained"] = array();
$proto35["m_strCase"] = "= service_provider.service_provider_provider_provider_id";
$proto35["m_havingmode"] = false;
$proto35["m_inBrackets"] = false;
$proto35["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto35);

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

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

	return $obj;
}
$queryData_provider_services_details = createSqlQuery_provider_services_details();


	
		;

										

$tdataprovider_services_details[".sqlquery"] = $queryData_provider_services_details;

$tableEvents["provider_services_details"] = new eventsBase;
$tdataprovider_services_details[".hasEvents"] = false;

?>