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




$tdatabusiness = array();
	$tdatabusiness[".truncateText"] = true;
	$tdatabusiness[".NumberOfChars"] = 80;
	$tdatabusiness[".ShortName"] = "business";
	$tdatabusiness[".OwnerID"] = "";
	$tdatabusiness[".OriginalTable"] = "business";

//	field labels
$fieldLabelsbusiness = array();
$fieldToolTipsbusiness = array();
$pageTitlesbusiness = array();
$placeHoldersbusiness = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsbusiness["English"] = array();
	$fieldToolTipsbusiness["English"] = array();
	$placeHoldersbusiness["English"] = array();
	$pageTitlesbusiness["English"] = array();
	$fieldLabelsbusiness["English"]["business_id"] = "Business Id";
	$fieldToolTipsbusiness["English"]["business_id"] = "";
	$placeHoldersbusiness["English"]["business_id"] = "";
	$fieldLabelsbusiness["English"]["business_username"] = "Business Username";
	$fieldToolTipsbusiness["English"]["business_username"] = "";
	$placeHoldersbusiness["English"]["business_username"] = "";
	$fieldLabelsbusiness["English"]["business_password"] = "Business Password";
	$fieldToolTipsbusiness["English"]["business_password"] = "";
	$placeHoldersbusiness["English"]["business_password"] = "";
	$fieldLabelsbusiness["English"]["business_name_ar"] = "Business Name Ar";
	$fieldToolTipsbusiness["English"]["business_name_ar"] = "";
	$placeHoldersbusiness["English"]["business_name_ar"] = "";
	$fieldLabelsbusiness["English"]["business_name_en"] = "Business Name En";
	$fieldToolTipsbusiness["English"]["business_name_en"] = "";
	$placeHoldersbusiness["English"]["business_name_en"] = "";
	$fieldLabelsbusiness["English"]["business_merchant_id"] = "Business Merchant Id";
	$fieldToolTipsbusiness["English"]["business_merchant_id"] = "";
	$placeHoldersbusiness["English"]["business_merchant_id"] = "";
	$fieldLabelsbusiness["English"]["business_logo_ar"] = "Business Logo Ar";
	$fieldToolTipsbusiness["English"]["business_logo_ar"] = "";
	$placeHoldersbusiness["English"]["business_logo_ar"] = "";
	$fieldLabelsbusiness["English"]["business_logo_en"] = "Business Logo En";
	$fieldToolTipsbusiness["English"]["business_logo_en"] = "";
	$placeHoldersbusiness["English"]["business_logo_en"] = "";
	$fieldLabelsbusiness["English"]["business_phone_number1"] = "Business Phone Number1";
	$fieldToolTipsbusiness["English"]["business_phone_number1"] = "";
	$placeHoldersbusiness["English"]["business_phone_number1"] = "";
	$fieldLabelsbusiness["English"]["business_phone_number2"] = "Business Phone Number2";
	$fieldToolTipsbusiness["English"]["business_phone_number2"] = "";
	$placeHoldersbusiness["English"]["business_phone_number2"] = "";
	$fieldLabelsbusiness["English"]["business_email"] = "Business Email";
	$fieldToolTipsbusiness["English"]["business_email"] = "";
	$placeHoldersbusiness["English"]["business_email"] = "";
	$fieldLabelsbusiness["English"]["business_description_ar"] = "Business Description Ar";
	$fieldToolTipsbusiness["English"]["business_description_ar"] = "";
	$placeHoldersbusiness["English"]["business_description_ar"] = "";
	$fieldLabelsbusiness["English"]["business_description_en"] = "Business Description En";
	$fieldToolTipsbusiness["English"]["business_description_en"] = "";
	$placeHoldersbusiness["English"]["business_description_en"] = "";
	$fieldLabelsbusiness["English"]["business_website"] = "Business Website";
	$fieldToolTipsbusiness["English"]["business_website"] = "";
	$placeHoldersbusiness["English"]["business_website"] = "";
	$fieldLabelsbusiness["English"]["business_address_ar"] = "Business Address Ar";
	$fieldToolTipsbusiness["English"]["business_address_ar"] = "";
	$placeHoldersbusiness["English"]["business_address_ar"] = "";
	$fieldLabelsbusiness["English"]["business_address_en"] = "Business Address En";
	$fieldToolTipsbusiness["English"]["business_address_en"] = "";
	$placeHoldersbusiness["English"]["business_address_en"] = "";
	$fieldLabelsbusiness["English"]["business_google_map"] = "Business Google Map";
	$fieldToolTipsbusiness["English"]["business_google_map"] = "";
	$placeHoldersbusiness["English"]["business_google_map"] = "";
	$fieldLabelsbusiness["English"]["business_owner_gender"] = "Business Owner Gender";
	$fieldToolTipsbusiness["English"]["business_owner_gender"] = "";
	$placeHoldersbusiness["English"]["business_owner_gender"] = "";
	$fieldLabelsbusiness["English"]["business_cr_number"] = "Business Cr Number";
	$fieldToolTipsbusiness["English"]["business_cr_number"] = "";
	$placeHoldersbusiness["English"]["business_cr_number"] = "";
	$fieldLabelsbusiness["English"]["business_cr_file"] = "Business Cr File";
	$fieldToolTipsbusiness["English"]["business_cr_file"] = "";
	$placeHoldersbusiness["English"]["business_cr_file"] = "";
	$fieldLabelsbusiness["English"]["business_owner_full_name_ar"] = "Business Owner Full Name Ar";
	$fieldToolTipsbusiness["English"]["business_owner_full_name_ar"] = "";
	$placeHoldersbusiness["English"]["business_owner_full_name_ar"] = "";
	$fieldLabelsbusiness["English"]["business_owner_full_name_en"] = "Business Owner Full Name En";
	$fieldToolTipsbusiness["English"]["business_owner_full_name_en"] = "";
	$placeHoldersbusiness["English"]["business_owner_full_name_en"] = "";
	$fieldLabelsbusiness["English"]["business_fax"] = "Business Fax";
	$fieldToolTipsbusiness["English"]["business_fax"] = "";
	$placeHoldersbusiness["English"]["business_fax"] = "";
	$fieldLabelsbusiness["English"]["business_eservice_url"] = "Business Eservice Url";
	$fieldToolTipsbusiness["English"]["business_eservice_url"] = "";
	$placeHoldersbusiness["English"]["business_eservice_url"] = "";
	$fieldLabelsbusiness["English"]["business_about_us_ar"] = "Business About Us Ar";
	$fieldToolTipsbusiness["English"]["business_about_us_ar"] = "";
	$placeHoldersbusiness["English"]["business_about_us_ar"] = "";
	$fieldLabelsbusiness["English"]["business_about_us_en"] = "Business About Us En";
	$fieldToolTipsbusiness["English"]["business_about_us_en"] = "";
	$placeHoldersbusiness["English"]["business_about_us_en"] = "";
	$fieldLabelsbusiness["English"]["business_services_ar"] = "Business Services Ar";
	$fieldToolTipsbusiness["English"]["business_services_ar"] = "";
	$placeHoldersbusiness["English"]["business_services_ar"] = "";
	$fieldLabelsbusiness["English"]["business_services_en"] = "Business Services En";
	$fieldToolTipsbusiness["English"]["business_services_en"] = "";
	$placeHoldersbusiness["English"]["business_services_en"] = "";
	$fieldLabelsbusiness["English"]["business_privacy_ar"] = "Business Privacy Ar";
	$fieldToolTipsbusiness["English"]["business_privacy_ar"] = "";
	$placeHoldersbusiness["English"]["business_privacy_ar"] = "";
	$fieldLabelsbusiness["English"]["business_privacy_en"] = "Business Privacy En";
	$fieldToolTipsbusiness["English"]["business_privacy_en"] = "";
	$placeHoldersbusiness["English"]["business_privacy_en"] = "";
	$fieldLabelsbusiness["English"]["business_date_added"] = "Business Date Added";
	$fieldToolTipsbusiness["English"]["business_date_added"] = "";
	$placeHoldersbusiness["English"]["business_date_added"] = "";
	$fieldLabelsbusiness["English"]["business_platform_platform_code"] = "Business Platform Platform Code";
	$fieldToolTipsbusiness["English"]["business_platform_platform_code"] = "";
	$placeHoldersbusiness["English"]["business_platform_platform_code"] = "";
	$fieldLabelsbusiness["English"]["business_business_type_business_type_id"] = "Business Business Type Business Type Id";
	$fieldToolTipsbusiness["English"]["business_business_type_business_type_id"] = "";
	$placeHoldersbusiness["English"]["business_business_type_business_type_id"] = "";
	$fieldLabelsbusiness["English"]["business_show_in_show_in_code"] = "Business Show In Show In Code";
	$fieldToolTipsbusiness["English"]["business_show_in_show_in_code"] = "";
	$placeHoldersbusiness["English"]["business_show_in_show_in_code"] = "";
	$fieldLabelsbusiness["English"]["business_location_location_id"] = "Business Location Location Id";
	$fieldToolTipsbusiness["English"]["business_location_location_id"] = "";
	$placeHoldersbusiness["English"]["business_location_location_id"] = "";
	$fieldLabelsbusiness["English"]["business_business_category_business_category_id"] = "Business Business Category Business Category Id";
	$fieldToolTipsbusiness["English"]["business_business_category_business_category_id"] = "";
	$placeHoldersbusiness["English"]["business_business_category_business_category_id"] = "";
	$fieldLabelsbusiness["English"]["business_business_subcategory_business_subcategory_id"] = "Business Business Subcategory Business Subcategory Id";
	$fieldToolTipsbusiness["English"]["business_business_subcategory_business_subcategory_id"] = "";
	$placeHoldersbusiness["English"]["business_business_subcategory_business_subcategory_id"] = "";
	$fieldLabelsbusiness["English"]["business_status_status_code"] = "Business Status Status Code";
	$fieldToolTipsbusiness["English"]["business_status_status_code"] = "";
	$placeHoldersbusiness["English"]["business_status_status_code"] = "";
	$fieldLabelsbusiness["English"]["business_currency_currency_code_en"] = "Business Currency Currency Code En";
	$fieldToolTipsbusiness["English"]["business_currency_currency_code_en"] = "";
	$placeHoldersbusiness["English"]["business_currency_currency_code_en"] = "";
	$fieldLabelsbusiness["English"]["business_reset_token"] = "Business Reset Token";
	$fieldToolTipsbusiness["English"]["business_reset_token"] = "";
	$placeHoldersbusiness["English"]["business_reset_token"] = "";
	$fieldLabelsbusiness["English"]["business_reset_date"] = "Business Reset Date";
	$fieldToolTipsbusiness["English"]["business_reset_date"] = "";
	$placeHoldersbusiness["English"]["business_reset_date"] = "";
	$fieldLabelsbusiness["English"]["business_priority"] = "Business Priority";
	$fieldToolTipsbusiness["English"]["business_priority"] = "";
	$placeHoldersbusiness["English"]["business_priority"] = "";
	$fieldLabelsbusiness["English"]["business_location_latitude"] = "Business Location Latitude";
	$fieldToolTipsbusiness["English"]["business_location_latitude"] = "";
	$placeHoldersbusiness["English"]["business_location_latitude"] = "";
	$fieldLabelsbusiness["English"]["business_location_longitude"] = "Business Location Longitude";
	$fieldToolTipsbusiness["English"]["business_location_longitude"] = "";
	$placeHoldersbusiness["English"]["business_location_longitude"] = "";
	$fieldLabelsbusiness["English"]["business_visits"] = "Business Visits";
	$fieldToolTipsbusiness["English"]["business_visits"] = "";
	$placeHoldersbusiness["English"]["business_visits"] = "";
	$fieldLabelsbusiness["English"]["business_country_code"] = "Business Country Code";
	$fieldToolTipsbusiness["English"]["business_country_code"] = "";
	$placeHoldersbusiness["English"]["business_country_code"] = "";
	if (count($fieldToolTipsbusiness["English"]))
		$tdatabusiness[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="Arabic")
{
	$fieldLabelsbusiness["Arabic"] = array();
	$fieldToolTipsbusiness["Arabic"] = array();
	$placeHoldersbusiness["Arabic"] = array();
	$pageTitlesbusiness["Arabic"] = array();
	$fieldLabelsbusiness["Arabic"]["business_id"] = "Business Id";
	$fieldToolTipsbusiness["Arabic"]["business_id"] = "";
	$placeHoldersbusiness["Arabic"]["business_id"] = "";
	$fieldLabelsbusiness["Arabic"]["business_username"] = "Business Username";
	$fieldToolTipsbusiness["Arabic"]["business_username"] = "";
	$placeHoldersbusiness["Arabic"]["business_username"] = "";
	$fieldLabelsbusiness["Arabic"]["business_password"] = "Business Password";
	$fieldToolTipsbusiness["Arabic"]["business_password"] = "";
	$placeHoldersbusiness["Arabic"]["business_password"] = "";
	$fieldLabelsbusiness["Arabic"]["business_name_ar"] = "Business Name Ar";
	$fieldToolTipsbusiness["Arabic"]["business_name_ar"] = "";
	$placeHoldersbusiness["Arabic"]["business_name_ar"] = "";
	$fieldLabelsbusiness["Arabic"]["business_name_en"] = "Business Name En";
	$fieldToolTipsbusiness["Arabic"]["business_name_en"] = "";
	$placeHoldersbusiness["Arabic"]["business_name_en"] = "";
	$fieldLabelsbusiness["Arabic"]["business_merchant_id"] = "Business Merchant Id";
	$fieldToolTipsbusiness["Arabic"]["business_merchant_id"] = "";
	$placeHoldersbusiness["Arabic"]["business_merchant_id"] = "";
	$fieldLabelsbusiness["Arabic"]["business_logo_ar"] = "Business Logo Ar";
	$fieldToolTipsbusiness["Arabic"]["business_logo_ar"] = "";
	$placeHoldersbusiness["Arabic"]["business_logo_ar"] = "";
	$fieldLabelsbusiness["Arabic"]["business_logo_en"] = "Business Logo En";
	$fieldToolTipsbusiness["Arabic"]["business_logo_en"] = "";
	$placeHoldersbusiness["Arabic"]["business_logo_en"] = "";
	$fieldLabelsbusiness["Arabic"]["business_phone_number1"] = "Business Phone Number1";
	$fieldToolTipsbusiness["Arabic"]["business_phone_number1"] = "";
	$placeHoldersbusiness["Arabic"]["business_phone_number1"] = "";
	$fieldLabelsbusiness["Arabic"]["business_phone_number2"] = "Business Phone Number2";
	$fieldToolTipsbusiness["Arabic"]["business_phone_number2"] = "";
	$placeHoldersbusiness["Arabic"]["business_phone_number2"] = "";
	$fieldLabelsbusiness["Arabic"]["business_email"] = "Business Email";
	$fieldToolTipsbusiness["Arabic"]["business_email"] = "";
	$placeHoldersbusiness["Arabic"]["business_email"] = "";
	$fieldLabelsbusiness["Arabic"]["business_description_ar"] = "Business Description Ar";
	$fieldToolTipsbusiness["Arabic"]["business_description_ar"] = "";
	$placeHoldersbusiness["Arabic"]["business_description_ar"] = "";
	$fieldLabelsbusiness["Arabic"]["business_description_en"] = "Business Description En";
	$fieldToolTipsbusiness["Arabic"]["business_description_en"] = "";
	$placeHoldersbusiness["Arabic"]["business_description_en"] = "";
	$fieldLabelsbusiness["Arabic"]["business_website"] = "Business Website";
	$fieldToolTipsbusiness["Arabic"]["business_website"] = "";
	$placeHoldersbusiness["Arabic"]["business_website"] = "";
	$fieldLabelsbusiness["Arabic"]["business_address_ar"] = "Business Address Ar";
	$fieldToolTipsbusiness["Arabic"]["business_address_ar"] = "";
	$placeHoldersbusiness["Arabic"]["business_address_ar"] = "";
	$fieldLabelsbusiness["Arabic"]["business_address_en"] = "Business Address En";
	$fieldToolTipsbusiness["Arabic"]["business_address_en"] = "";
	$placeHoldersbusiness["Arabic"]["business_address_en"] = "";
	$fieldLabelsbusiness["Arabic"]["business_google_map"] = "Business Google Map";
	$fieldToolTipsbusiness["Arabic"]["business_google_map"] = "";
	$placeHoldersbusiness["Arabic"]["business_google_map"] = "";
	$fieldLabelsbusiness["Arabic"]["business_owner_gender"] = "Business Owner Gender";
	$fieldToolTipsbusiness["Arabic"]["business_owner_gender"] = "";
	$placeHoldersbusiness["Arabic"]["business_owner_gender"] = "";
	$fieldLabelsbusiness["Arabic"]["business_cr_number"] = "Business Cr Number";
	$fieldToolTipsbusiness["Arabic"]["business_cr_number"] = "";
	$placeHoldersbusiness["Arabic"]["business_cr_number"] = "";
	$fieldLabelsbusiness["Arabic"]["business_cr_file"] = "Business Cr File";
	$fieldToolTipsbusiness["Arabic"]["business_cr_file"] = "";
	$placeHoldersbusiness["Arabic"]["business_cr_file"] = "";
	$fieldLabelsbusiness["Arabic"]["business_owner_full_name_ar"] = "Business Owner Full Name Ar";
	$fieldToolTipsbusiness["Arabic"]["business_owner_full_name_ar"] = "";
	$placeHoldersbusiness["Arabic"]["business_owner_full_name_ar"] = "";
	$fieldLabelsbusiness["Arabic"]["business_owner_full_name_en"] = "Business Owner Full Name En";
	$fieldToolTipsbusiness["Arabic"]["business_owner_full_name_en"] = "";
	$placeHoldersbusiness["Arabic"]["business_owner_full_name_en"] = "";
	$fieldLabelsbusiness["Arabic"]["business_fax"] = "Business Fax";
	$fieldToolTipsbusiness["Arabic"]["business_fax"] = "";
	$placeHoldersbusiness["Arabic"]["business_fax"] = "";
	$fieldLabelsbusiness["Arabic"]["business_eservice_url"] = "Business Eservice Url";
	$fieldToolTipsbusiness["Arabic"]["business_eservice_url"] = "";
	$placeHoldersbusiness["Arabic"]["business_eservice_url"] = "";
	$fieldLabelsbusiness["Arabic"]["business_about_us_ar"] = "Business About Us Ar";
	$fieldToolTipsbusiness["Arabic"]["business_about_us_ar"] = "";
	$placeHoldersbusiness["Arabic"]["business_about_us_ar"] = "";
	$fieldLabelsbusiness["Arabic"]["business_about_us_en"] = "Business About Us En";
	$fieldToolTipsbusiness["Arabic"]["business_about_us_en"] = "";
	$placeHoldersbusiness["Arabic"]["business_about_us_en"] = "";
	$fieldLabelsbusiness["Arabic"]["business_services_ar"] = "Business Services Ar";
	$fieldToolTipsbusiness["Arabic"]["business_services_ar"] = "";
	$placeHoldersbusiness["Arabic"]["business_services_ar"] = "";
	$fieldLabelsbusiness["Arabic"]["business_services_en"] = "Business Services En";
	$fieldToolTipsbusiness["Arabic"]["business_services_en"] = "";
	$placeHoldersbusiness["Arabic"]["business_services_en"] = "";
	$fieldLabelsbusiness["Arabic"]["business_privacy_ar"] = "Business Privacy Ar";
	$fieldToolTipsbusiness["Arabic"]["business_privacy_ar"] = "";
	$placeHoldersbusiness["Arabic"]["business_privacy_ar"] = "";
	$fieldLabelsbusiness["Arabic"]["business_privacy_en"] = "Business Privacy En";
	$fieldToolTipsbusiness["Arabic"]["business_privacy_en"] = "";
	$placeHoldersbusiness["Arabic"]["business_privacy_en"] = "";
	$fieldLabelsbusiness["Arabic"]["business_date_added"] = "Business Date Added";
	$fieldToolTipsbusiness["Arabic"]["business_date_added"] = "";
	$placeHoldersbusiness["Arabic"]["business_date_added"] = "";
	$fieldLabelsbusiness["Arabic"]["business_platform_platform_code"] = "Business Platform Platform Code";
	$fieldToolTipsbusiness["Arabic"]["business_platform_platform_code"] = "";
	$placeHoldersbusiness["Arabic"]["business_platform_platform_code"] = "";
	$fieldLabelsbusiness["Arabic"]["business_business_type_business_type_id"] = "Business Business Type Business Type Id";
	$fieldToolTipsbusiness["Arabic"]["business_business_type_business_type_id"] = "";
	$placeHoldersbusiness["Arabic"]["business_business_type_business_type_id"] = "";
	$fieldLabelsbusiness["Arabic"]["business_show_in_show_in_code"] = "Business Show In Show In Code";
	$fieldToolTipsbusiness["Arabic"]["business_show_in_show_in_code"] = "";
	$placeHoldersbusiness["Arabic"]["business_show_in_show_in_code"] = "";
	$fieldLabelsbusiness["Arabic"]["business_location_location_id"] = "Business Location Location Id";
	$fieldToolTipsbusiness["Arabic"]["business_location_location_id"] = "";
	$placeHoldersbusiness["Arabic"]["business_location_location_id"] = "";
	$fieldLabelsbusiness["Arabic"]["business_business_category_business_category_id"] = "Business Business Category Business Category Id";
	$fieldToolTipsbusiness["Arabic"]["business_business_category_business_category_id"] = "";
	$placeHoldersbusiness["Arabic"]["business_business_category_business_category_id"] = "";
	$fieldLabelsbusiness["Arabic"]["business_business_subcategory_business_subcategory_id"] = "Business Business Subcategory Business Subcategory Id";
	$fieldToolTipsbusiness["Arabic"]["business_business_subcategory_business_subcategory_id"] = "";
	$placeHoldersbusiness["Arabic"]["business_business_subcategory_business_subcategory_id"] = "";
	$fieldLabelsbusiness["Arabic"]["business_status_status_code"] = "Business Status Status Code";
	$fieldToolTipsbusiness["Arabic"]["business_status_status_code"] = "";
	$placeHoldersbusiness["Arabic"]["business_status_status_code"] = "";
	$fieldLabelsbusiness["Arabic"]["business_currency_currency_code_en"] = "Business Currency Currency Code En";
	$fieldToolTipsbusiness["Arabic"]["business_currency_currency_code_en"] = "";
	$placeHoldersbusiness["Arabic"]["business_currency_currency_code_en"] = "";
	$fieldLabelsbusiness["Arabic"]["business_reset_token"] = "Business Reset Token";
	$fieldToolTipsbusiness["Arabic"]["business_reset_token"] = "";
	$placeHoldersbusiness["Arabic"]["business_reset_token"] = "";
	$fieldLabelsbusiness["Arabic"]["business_reset_date"] = "Business Reset Date";
	$fieldToolTipsbusiness["Arabic"]["business_reset_date"] = "";
	$placeHoldersbusiness["Arabic"]["business_reset_date"] = "";
	$fieldLabelsbusiness["Arabic"]["business_priority"] = "Business Priority";
	$fieldToolTipsbusiness["Arabic"]["business_priority"] = "";
	$placeHoldersbusiness["Arabic"]["business_priority"] = "";
	$fieldLabelsbusiness["Arabic"]["business_location_latitude"] = "Business Location Latitude";
	$fieldToolTipsbusiness["Arabic"]["business_location_latitude"] = "";
	$placeHoldersbusiness["Arabic"]["business_location_latitude"] = "";
	$fieldLabelsbusiness["Arabic"]["business_location_longitude"] = "Business Location Longitude";
	$fieldToolTipsbusiness["Arabic"]["business_location_longitude"] = "";
	$placeHoldersbusiness["Arabic"]["business_location_longitude"] = "";
	$fieldLabelsbusiness["Arabic"]["business_visits"] = "Business Visits";
	$fieldToolTipsbusiness["Arabic"]["business_visits"] = "";
	$placeHoldersbusiness["Arabic"]["business_visits"] = "";
	$fieldLabelsbusiness["Arabic"]["business_country_code"] = "Business Country Code";
	$fieldToolTipsbusiness["Arabic"]["business_country_code"] = "";
	$placeHoldersbusiness["Arabic"]["business_country_code"] = "";
	if (count($fieldToolTipsbusiness["Arabic"]))
		$tdatabusiness[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="")
{
	$fieldLabelsbusiness[""] = array();
	$fieldToolTipsbusiness[""] = array();
	$placeHoldersbusiness[""] = array();
	$pageTitlesbusiness[""] = array();
	$fieldLabelsbusiness[""]["business_id"] = "Business Id";
	$fieldToolTipsbusiness[""]["business_id"] = "";
	$placeHoldersbusiness[""]["business_id"] = "";
	$fieldLabelsbusiness[""]["business_username"] = "Business Username";
	$fieldToolTipsbusiness[""]["business_username"] = "";
	$placeHoldersbusiness[""]["business_username"] = "";
	$fieldLabelsbusiness[""]["business_password"] = "Business Password";
	$fieldToolTipsbusiness[""]["business_password"] = "";
	$placeHoldersbusiness[""]["business_password"] = "";
	$fieldLabelsbusiness[""]["business_name_ar"] = "Business Name Ar";
	$fieldToolTipsbusiness[""]["business_name_ar"] = "";
	$placeHoldersbusiness[""]["business_name_ar"] = "";
	$fieldLabelsbusiness[""]["business_name_en"] = "Business Name En";
	$fieldToolTipsbusiness[""]["business_name_en"] = "";
	$placeHoldersbusiness[""]["business_name_en"] = "";
	$fieldLabelsbusiness[""]["business_merchant_id"] = "Business Merchant Id";
	$fieldToolTipsbusiness[""]["business_merchant_id"] = "";
	$placeHoldersbusiness[""]["business_merchant_id"] = "";
	$fieldLabelsbusiness[""]["business_logo_ar"] = "Business Logo Ar";
	$fieldToolTipsbusiness[""]["business_logo_ar"] = "";
	$placeHoldersbusiness[""]["business_logo_ar"] = "";
	$fieldLabelsbusiness[""]["business_logo_en"] = "Business Logo En";
	$fieldToolTipsbusiness[""]["business_logo_en"] = "";
	$placeHoldersbusiness[""]["business_logo_en"] = "";
	$fieldLabelsbusiness[""]["business_phone_number1"] = "Business Phone Number1";
	$fieldToolTipsbusiness[""]["business_phone_number1"] = "";
	$placeHoldersbusiness[""]["business_phone_number1"] = "";
	$fieldLabelsbusiness[""]["business_phone_number2"] = "Business Phone Number2";
	$fieldToolTipsbusiness[""]["business_phone_number2"] = "";
	$placeHoldersbusiness[""]["business_phone_number2"] = "";
	$fieldLabelsbusiness[""]["business_email"] = "Business Email";
	$fieldToolTipsbusiness[""]["business_email"] = "";
	$placeHoldersbusiness[""]["business_email"] = "";
	$fieldLabelsbusiness[""]["business_description_ar"] = "Business Description Ar";
	$fieldToolTipsbusiness[""]["business_description_ar"] = "";
	$placeHoldersbusiness[""]["business_description_ar"] = "";
	$fieldLabelsbusiness[""]["business_description_en"] = "Business Description En";
	$fieldToolTipsbusiness[""]["business_description_en"] = "";
	$placeHoldersbusiness[""]["business_description_en"] = "";
	$fieldLabelsbusiness[""]["business_website"] = "Business Website";
	$fieldToolTipsbusiness[""]["business_website"] = "";
	$placeHoldersbusiness[""]["business_website"] = "";
	$fieldLabelsbusiness[""]["business_address_ar"] = "Business Address Ar";
	$fieldToolTipsbusiness[""]["business_address_ar"] = "";
	$placeHoldersbusiness[""]["business_address_ar"] = "";
	$fieldLabelsbusiness[""]["business_address_en"] = "Business Address En";
	$fieldToolTipsbusiness[""]["business_address_en"] = "";
	$placeHoldersbusiness[""]["business_address_en"] = "";
	$fieldLabelsbusiness[""]["business_google_map"] = "Business Google Map";
	$fieldToolTipsbusiness[""]["business_google_map"] = "";
	$placeHoldersbusiness[""]["business_google_map"] = "";
	$fieldLabelsbusiness[""]["business_owner_gender"] = "Business Owner Gender";
	$fieldToolTipsbusiness[""]["business_owner_gender"] = "";
	$placeHoldersbusiness[""]["business_owner_gender"] = "";
	$fieldLabelsbusiness[""]["business_cr_number"] = "Business Cr Number";
	$fieldToolTipsbusiness[""]["business_cr_number"] = "";
	$placeHoldersbusiness[""]["business_cr_number"] = "";
	$fieldLabelsbusiness[""]["business_cr_file"] = "Business Cr File";
	$fieldToolTipsbusiness[""]["business_cr_file"] = "";
	$placeHoldersbusiness[""]["business_cr_file"] = "";
	$fieldLabelsbusiness[""]["business_owner_full_name_ar"] = "Business Owner Full Name Ar";
	$fieldToolTipsbusiness[""]["business_owner_full_name_ar"] = "";
	$placeHoldersbusiness[""]["business_owner_full_name_ar"] = "";
	$fieldLabelsbusiness[""]["business_owner_full_name_en"] = "Business Owner Full Name En";
	$fieldToolTipsbusiness[""]["business_owner_full_name_en"] = "";
	$placeHoldersbusiness[""]["business_owner_full_name_en"] = "";
	$fieldLabelsbusiness[""]["business_fax"] = "Business Fax";
	$fieldToolTipsbusiness[""]["business_fax"] = "";
	$placeHoldersbusiness[""]["business_fax"] = "";
	$fieldLabelsbusiness[""]["business_eservice_url"] = "Business Eservice Url";
	$fieldToolTipsbusiness[""]["business_eservice_url"] = "";
	$placeHoldersbusiness[""]["business_eservice_url"] = "";
	$fieldLabelsbusiness[""]["business_about_us_ar"] = "Business About Us Ar";
	$fieldToolTipsbusiness[""]["business_about_us_ar"] = "";
	$placeHoldersbusiness[""]["business_about_us_ar"] = "";
	$fieldLabelsbusiness[""]["business_about_us_en"] = "Business About Us En";
	$fieldToolTipsbusiness[""]["business_about_us_en"] = "";
	$placeHoldersbusiness[""]["business_about_us_en"] = "";
	$fieldLabelsbusiness[""]["business_services_ar"] = "Business Services Ar";
	$fieldToolTipsbusiness[""]["business_services_ar"] = "";
	$placeHoldersbusiness[""]["business_services_ar"] = "";
	$fieldLabelsbusiness[""]["business_services_en"] = "Business Services En";
	$fieldToolTipsbusiness[""]["business_services_en"] = "";
	$placeHoldersbusiness[""]["business_services_en"] = "";
	$fieldLabelsbusiness[""]["business_privacy_ar"] = "Business Privacy Ar";
	$fieldToolTipsbusiness[""]["business_privacy_ar"] = "";
	$placeHoldersbusiness[""]["business_privacy_ar"] = "";
	$fieldLabelsbusiness[""]["business_privacy_en"] = "Business Privacy En";
	$fieldToolTipsbusiness[""]["business_privacy_en"] = "";
	$placeHoldersbusiness[""]["business_privacy_en"] = "";
	$fieldLabelsbusiness[""]["business_date_added"] = "Business Date Added";
	$fieldToolTipsbusiness[""]["business_date_added"] = "";
	$placeHoldersbusiness[""]["business_date_added"] = "";
	$fieldLabelsbusiness[""]["business_platform_platform_code"] = "Business Platform Platform Code";
	$fieldToolTipsbusiness[""]["business_platform_platform_code"] = "";
	$placeHoldersbusiness[""]["business_platform_platform_code"] = "";
	$fieldLabelsbusiness[""]["business_business_type_business_type_id"] = "Business Business Type Business Type Id";
	$fieldToolTipsbusiness[""]["business_business_type_business_type_id"] = "";
	$placeHoldersbusiness[""]["business_business_type_business_type_id"] = "";
	$fieldLabelsbusiness[""]["business_show_in_show_in_code"] = "Business Show In Show In Code";
	$fieldToolTipsbusiness[""]["business_show_in_show_in_code"] = "";
	$placeHoldersbusiness[""]["business_show_in_show_in_code"] = "";
	$fieldLabelsbusiness[""]["business_location_location_id"] = "Business Location Location Id";
	$fieldToolTipsbusiness[""]["business_location_location_id"] = "";
	$placeHoldersbusiness[""]["business_location_location_id"] = "";
	$fieldLabelsbusiness[""]["business_business_category_business_category_id"] = "Business Business Category Business Category Id";
	$fieldToolTipsbusiness[""]["business_business_category_business_category_id"] = "";
	$placeHoldersbusiness[""]["business_business_category_business_category_id"] = "";
	$fieldLabelsbusiness[""]["business_business_subcategory_business_subcategory_id"] = "Business Business Subcategory Business Subcategory Id";
	$fieldToolTipsbusiness[""]["business_business_subcategory_business_subcategory_id"] = "";
	$placeHoldersbusiness[""]["business_business_subcategory_business_subcategory_id"] = "";
	$fieldLabelsbusiness[""]["business_status_status_code"] = "Business Status Status Code";
	$fieldToolTipsbusiness[""]["business_status_status_code"] = "";
	$placeHoldersbusiness[""]["business_status_status_code"] = "";
	$fieldLabelsbusiness[""]["business_currency_currency_code_en"] = "Business Currency Currency Code En";
	$fieldToolTipsbusiness[""]["business_currency_currency_code_en"] = "";
	$placeHoldersbusiness[""]["business_currency_currency_code_en"] = "";
	$fieldLabelsbusiness[""]["business_reset_token"] = "Business Reset Token";
	$fieldToolTipsbusiness[""]["business_reset_token"] = "";
	$placeHoldersbusiness[""]["business_reset_token"] = "";
	$fieldLabelsbusiness[""]["business_reset_date"] = "Business Reset Date";
	$fieldToolTipsbusiness[""]["business_reset_date"] = "";
	$placeHoldersbusiness[""]["business_reset_date"] = "";
	$fieldLabelsbusiness[""]["business_priority"] = "Business Priority";
	$fieldToolTipsbusiness[""]["business_priority"] = "";
	$placeHoldersbusiness[""]["business_priority"] = "";
	$fieldLabelsbusiness[""]["business_location_latitude"] = "Business Location Latitude";
	$fieldToolTipsbusiness[""]["business_location_latitude"] = "";
	$placeHoldersbusiness[""]["business_location_latitude"] = "";
	$fieldLabelsbusiness[""]["business_location_longitude"] = "Business Location Longitude";
	$fieldToolTipsbusiness[""]["business_location_longitude"] = "";
	$placeHoldersbusiness[""]["business_location_longitude"] = "";
	$fieldLabelsbusiness[""]["business_visits"] = "Business Visits";
	$fieldToolTipsbusiness[""]["business_visits"] = "";
	$placeHoldersbusiness[""]["business_visits"] = "";
	$fieldLabelsbusiness[""]["business_country_code"] = "Business Country Code";
	$fieldToolTipsbusiness[""]["business_country_code"] = "";
	$placeHoldersbusiness[""]["business_country_code"] = "";
	if (count($fieldToolTipsbusiness[""]))
		$tdatabusiness[".isUseToolTips"] = true;
}


	$tdatabusiness[".NCSearch"] = true;



$tdatabusiness[".shortTableName"] = "business";
$tdatabusiness[".nSecOptions"] = 0;
$tdatabusiness[".recsPerRowPrint"] = 1;
$tdatabusiness[".mainTableOwnerID"] = "";
$tdatabusiness[".moveNext"] = 1;
$tdatabusiness[".entityType"] = 0;

$tdatabusiness[".strOriginalTableName"] = "business";

	



$tdatabusiness[".showAddInPopup"] = false;

$tdatabusiness[".showEditInPopup"] = false;

$tdatabusiness[".showViewInPopup"] = false;

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


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

$tdatabusiness[".listAjax"] = false;

	$tdatabusiness[".audit"] = false;

	$tdatabusiness[".locking"] = false;

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


$tdatabusiness[".list"] = true;

$tdatabusiness[".inlineEdit"] = true;


$tdatabusiness[".reorderRecordsByHeader"] = true;


$tdatabusiness[".exportFormatting"] = 2;
$tdatabusiness[".exportDelimiter"] = ",";
		
$tdatabusiness[".inlineAdd"] = true;

$tdatabusiness[".import"] = true;

$tdatabusiness[".exportTo"] = true;

$tdatabusiness[".printFriendly"] = true;


$tdatabusiness[".showSimpleSearchOptions"] = false;

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

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

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

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

$tdatabusiness[".isUseAjaxSuggest"] = true;

$tdatabusiness[".rowHighlite"] = true;





$tdatabusiness[".ajaxCodeSnippetAdded"] = false;

$tdatabusiness[".buttonsAdded"] = false;

$tdatabusiness[".addPageEvents"] = false;

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





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

$tdatabusiness[".allSearchFields"][] = "business_id";
	$tdatabusiness[".allSearchFields"][] = "business_username";
	$tdatabusiness[".allSearchFields"][] = "business_password";
	$tdatabusiness[".allSearchFields"][] = "business_name_ar";
	$tdatabusiness[".allSearchFields"][] = "business_name_en";
	$tdatabusiness[".allSearchFields"][] = "business_merchant_id";
	$tdatabusiness[".allSearchFields"][] = "business_logo_ar";
	$tdatabusiness[".allSearchFields"][] = "business_logo_en";
	$tdatabusiness[".allSearchFields"][] = "business_phone_number1";
	$tdatabusiness[".allSearchFields"][] = "business_phone_number2";
	$tdatabusiness[".allSearchFields"][] = "business_email";
	$tdatabusiness[".allSearchFields"][] = "business_description_ar";
	$tdatabusiness[".allSearchFields"][] = "business_description_en";
	$tdatabusiness[".allSearchFields"][] = "business_website";
	$tdatabusiness[".allSearchFields"][] = "business_address_ar";
	$tdatabusiness[".allSearchFields"][] = "business_address_en";
	$tdatabusiness[".allSearchFields"][] = "business_google_map";
	$tdatabusiness[".allSearchFields"][] = "business_owner_gender";
	$tdatabusiness[".allSearchFields"][] = "business_cr_number";
	$tdatabusiness[".allSearchFields"][] = "business_cr_file";
	$tdatabusiness[".allSearchFields"][] = "business_owner_full_name_ar";
	$tdatabusiness[".allSearchFields"][] = "business_owner_full_name_en";
	$tdatabusiness[".allSearchFields"][] = "business_fax";
	$tdatabusiness[".allSearchFields"][] = "business_eservice_url";
	$tdatabusiness[".allSearchFields"][] = "business_about_us_ar";
	$tdatabusiness[".allSearchFields"][] = "business_about_us_en";
	$tdatabusiness[".allSearchFields"][] = "business_services_ar";
	$tdatabusiness[".allSearchFields"][] = "business_services_en";
	$tdatabusiness[".allSearchFields"][] = "business_privacy_ar";
	$tdatabusiness[".allSearchFields"][] = "business_privacy_en";
	$tdatabusiness[".allSearchFields"][] = "business_date_added";
	$tdatabusiness[".allSearchFields"][] = "business_platform_platform_code";
	$tdatabusiness[".allSearchFields"][] = "business_business_type_business_type_id";
	$tdatabusiness[".allSearchFields"][] = "business_show_in_show_in_code";
	$tdatabusiness[".allSearchFields"][] = "business_location_location_id";
	$tdatabusiness[".allSearchFields"][] = "business_business_category_business_category_id";
	$tdatabusiness[".allSearchFields"][] = "business_business_subcategory_business_subcategory_id";
	$tdatabusiness[".allSearchFields"][] = "business_status_status_code";
	$tdatabusiness[".allSearchFields"][] = "business_currency_currency_code_en";
	$tdatabusiness[".allSearchFields"][] = "business_reset_token";
	$tdatabusiness[".allSearchFields"][] = "business_reset_date";
	$tdatabusiness[".allSearchFields"][] = "business_priority";
	$tdatabusiness[".allSearchFields"][] = "business_location_latitude";
	$tdatabusiness[".allSearchFields"][] = "business_location_longitude";
	$tdatabusiness[".allSearchFields"][] = "business_visits";
	$tdatabusiness[".allSearchFields"][] = "business_country_code";
	

$tdatabusiness[".googleLikeFields"] = array();
$tdatabusiness[".googleLikeFields"][] = "business_id";
$tdatabusiness[".googleLikeFields"][] = "business_username";
$tdatabusiness[".googleLikeFields"][] = "business_password";
$tdatabusiness[".googleLikeFields"][] = "business_name_ar";
$tdatabusiness[".googleLikeFields"][] = "business_name_en";
$tdatabusiness[".googleLikeFields"][] = "business_merchant_id";
$tdatabusiness[".googleLikeFields"][] = "business_logo_ar";
$tdatabusiness[".googleLikeFields"][] = "business_logo_en";
$tdatabusiness[".googleLikeFields"][] = "business_phone_number1";
$tdatabusiness[".googleLikeFields"][] = "business_phone_number2";
$tdatabusiness[".googleLikeFields"][] = "business_email";
$tdatabusiness[".googleLikeFields"][] = "business_description_ar";
$tdatabusiness[".googleLikeFields"][] = "business_description_en";
$tdatabusiness[".googleLikeFields"][] = "business_website";
$tdatabusiness[".googleLikeFields"][] = "business_address_ar";
$tdatabusiness[".googleLikeFields"][] = "business_address_en";
$tdatabusiness[".googleLikeFields"][] = "business_google_map";
$tdatabusiness[".googleLikeFields"][] = "business_owner_gender";
$tdatabusiness[".googleLikeFields"][] = "business_cr_number";
$tdatabusiness[".googleLikeFields"][] = "business_cr_file";
$tdatabusiness[".googleLikeFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".googleLikeFields"][] = "business_owner_full_name_en";
$tdatabusiness[".googleLikeFields"][] = "business_fax";
$tdatabusiness[".googleLikeFields"][] = "business_eservice_url";
$tdatabusiness[".googleLikeFields"][] = "business_about_us_ar";
$tdatabusiness[".googleLikeFields"][] = "business_about_us_en";
$tdatabusiness[".googleLikeFields"][] = "business_services_ar";
$tdatabusiness[".googleLikeFields"][] = "business_services_en";
$tdatabusiness[".googleLikeFields"][] = "business_privacy_ar";
$tdatabusiness[".googleLikeFields"][] = "business_privacy_en";
$tdatabusiness[".googleLikeFields"][] = "business_date_added";
$tdatabusiness[".googleLikeFields"][] = "business_platform_platform_code";
$tdatabusiness[".googleLikeFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".googleLikeFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".googleLikeFields"][] = "business_location_location_id";
$tdatabusiness[".googleLikeFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".googleLikeFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".googleLikeFields"][] = "business_status_status_code";
$tdatabusiness[".googleLikeFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".googleLikeFields"][] = "business_reset_token";
$tdatabusiness[".googleLikeFields"][] = "business_reset_date";
$tdatabusiness[".googleLikeFields"][] = "business_priority";
$tdatabusiness[".googleLikeFields"][] = "business_location_latitude";
$tdatabusiness[".googleLikeFields"][] = "business_location_longitude";
$tdatabusiness[".googleLikeFields"][] = "business_visits";
$tdatabusiness[".googleLikeFields"][] = "business_country_code";


$tdatabusiness[".advSearchFields"] = array();
$tdatabusiness[".advSearchFields"][] = "business_id";
$tdatabusiness[".advSearchFields"][] = "business_username";
$tdatabusiness[".advSearchFields"][] = "business_password";
$tdatabusiness[".advSearchFields"][] = "business_name_ar";
$tdatabusiness[".advSearchFields"][] = "business_name_en";
$tdatabusiness[".advSearchFields"][] = "business_merchant_id";
$tdatabusiness[".advSearchFields"][] = "business_logo_ar";
$tdatabusiness[".advSearchFields"][] = "business_logo_en";
$tdatabusiness[".advSearchFields"][] = "business_phone_number1";
$tdatabusiness[".advSearchFields"][] = "business_phone_number2";
$tdatabusiness[".advSearchFields"][] = "business_email";
$tdatabusiness[".advSearchFields"][] = "business_description_ar";
$tdatabusiness[".advSearchFields"][] = "business_description_en";
$tdatabusiness[".advSearchFields"][] = "business_website";
$tdatabusiness[".advSearchFields"][] = "business_address_ar";
$tdatabusiness[".advSearchFields"][] = "business_address_en";
$tdatabusiness[".advSearchFields"][] = "business_google_map";
$tdatabusiness[".advSearchFields"][] = "business_owner_gender";
$tdatabusiness[".advSearchFields"][] = "business_cr_number";
$tdatabusiness[".advSearchFields"][] = "business_cr_file";
$tdatabusiness[".advSearchFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".advSearchFields"][] = "business_owner_full_name_en";
$tdatabusiness[".advSearchFields"][] = "business_fax";
$tdatabusiness[".advSearchFields"][] = "business_eservice_url";
$tdatabusiness[".advSearchFields"][] = "business_about_us_ar";
$tdatabusiness[".advSearchFields"][] = "business_about_us_en";
$tdatabusiness[".advSearchFields"][] = "business_services_ar";
$tdatabusiness[".advSearchFields"][] = "business_services_en";
$tdatabusiness[".advSearchFields"][] = "business_privacy_ar";
$tdatabusiness[".advSearchFields"][] = "business_privacy_en";
$tdatabusiness[".advSearchFields"][] = "business_date_added";
$tdatabusiness[".advSearchFields"][] = "business_platform_platform_code";
$tdatabusiness[".advSearchFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".advSearchFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".advSearchFields"][] = "business_location_location_id";
$tdatabusiness[".advSearchFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".advSearchFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".advSearchFields"][] = "business_status_status_code";
$tdatabusiness[".advSearchFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".advSearchFields"][] = "business_reset_token";
$tdatabusiness[".advSearchFields"][] = "business_reset_date";
$tdatabusiness[".advSearchFields"][] = "business_priority";
$tdatabusiness[".advSearchFields"][] = "business_location_latitude";
$tdatabusiness[".advSearchFields"][] = "business_location_longitude";
$tdatabusiness[".advSearchFields"][] = "business_visits";
$tdatabusiness[".advSearchFields"][] = "business_country_code";

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

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

$tdatabusiness[".nPrinterSplitRecords"] = 40;

$tdatabusiness[".nPrinterPDFSplitRecords"] = 40;



$tdatabusiness[".geocodingEnabled"] = false;





$tdatabusiness[".listGridLayout"] = 3;





// view page pdf

// print page pdf


$tdatabusiness[".pageSize"] = 20;

$tdatabusiness[".warnLeavingPages"] = true;



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

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

$tdatabusiness[".sqlHead"] = "SELECT business_id,  	business_username,  	business_password,  	business_name_ar,  	business_name_en,  	business_merchant_id,  	business_logo_ar,  	business_logo_en,  	business_phone_number1,  	business_phone_number2,  	business_email,  	business_description_ar,  	business_description_en,  	business_website,  	business_address_ar,  	business_address_en,  	business_google_map,  	business_owner_gender,  	business_cr_number,  	business_cr_file,  	business_owner_full_name_ar,  	business_owner_full_name_en,  	business_fax,  	business_eservice_url,  	business_about_us_ar,  	business_about_us_en,  	business_services_ar,  	business_services_en,  	business_privacy_ar,  	business_privacy_en,  	business_date_added,  	business_platform_platform_code,  	business_business_type_business_type_id,  	business_show_in_show_in_code,  	business_location_location_id,  	business_business_category_business_category_id,  	business_business_subcategory_business_subcategory_id,  	business_status_status_code,  	business_currency_currency_code_en,  	business_reset_token,  	business_reset_date,  	business_priority,  	business_location_latitude,  	business_location_longitude,  	business_visits,  	business_country_code";
$tdatabusiness[".sqlFrom"] = "FROM business";
$tdatabusiness[".sqlWhereExpr"] = "";
$tdatabusiness[".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;
$tdatabusiness[".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;
$tdatabusiness[".arrGroupsPerPage"] = $arrGPP;

$tdatabusiness[".highlightSearchResults"] = true;

$tableKeysbusiness = array();
$tableKeysbusiness[] = "business_id";
$tdatabusiness[".Keys"] = $tableKeysbusiness;

$tdatabusiness[".listFields"] = array();
$tdatabusiness[".listFields"][] = "business_id";
$tdatabusiness[".listFields"][] = "business_username";
$tdatabusiness[".listFields"][] = "business_password";
$tdatabusiness[".listFields"][] = "business_name_ar";
$tdatabusiness[".listFields"][] = "business_name_en";
$tdatabusiness[".listFields"][] = "business_merchant_id";
$tdatabusiness[".listFields"][] = "business_logo_ar";
$tdatabusiness[".listFields"][] = "business_logo_en";
$tdatabusiness[".listFields"][] = "business_phone_number1";
$tdatabusiness[".listFields"][] = "business_phone_number2";
$tdatabusiness[".listFields"][] = "business_email";
$tdatabusiness[".listFields"][] = "business_description_ar";
$tdatabusiness[".listFields"][] = "business_description_en";
$tdatabusiness[".listFields"][] = "business_website";
$tdatabusiness[".listFields"][] = "business_address_ar";
$tdatabusiness[".listFields"][] = "business_address_en";
$tdatabusiness[".listFields"][] = "business_google_map";
$tdatabusiness[".listFields"][] = "business_owner_gender";
$tdatabusiness[".listFields"][] = "business_cr_number";
$tdatabusiness[".listFields"][] = "business_cr_file";
$tdatabusiness[".listFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".listFields"][] = "business_owner_full_name_en";
$tdatabusiness[".listFields"][] = "business_fax";
$tdatabusiness[".listFields"][] = "business_eservice_url";
$tdatabusiness[".listFields"][] = "business_about_us_ar";
$tdatabusiness[".listFields"][] = "business_about_us_en";
$tdatabusiness[".listFields"][] = "business_services_ar";
$tdatabusiness[".listFields"][] = "business_services_en";
$tdatabusiness[".listFields"][] = "business_privacy_ar";
$tdatabusiness[".listFields"][] = "business_privacy_en";
$tdatabusiness[".listFields"][] = "business_date_added";
$tdatabusiness[".listFields"][] = "business_platform_platform_code";
$tdatabusiness[".listFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".listFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".listFields"][] = "business_location_location_id";
$tdatabusiness[".listFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".listFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".listFields"][] = "business_status_status_code";
$tdatabusiness[".listFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".listFields"][] = "business_reset_token";
$tdatabusiness[".listFields"][] = "business_reset_date";
$tdatabusiness[".listFields"][] = "business_priority";
$tdatabusiness[".listFields"][] = "business_location_latitude";
$tdatabusiness[".listFields"][] = "business_location_longitude";
$tdatabusiness[".listFields"][] = "business_visits";
$tdatabusiness[".listFields"][] = "business_country_code";

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


$tdatabusiness[".viewFields"] = array();
$tdatabusiness[".viewFields"][] = "business_id";
$tdatabusiness[".viewFields"][] = "business_username";
$tdatabusiness[".viewFields"][] = "business_password";
$tdatabusiness[".viewFields"][] = "business_name_ar";
$tdatabusiness[".viewFields"][] = "business_name_en";
$tdatabusiness[".viewFields"][] = "business_merchant_id";
$tdatabusiness[".viewFields"][] = "business_logo_ar";
$tdatabusiness[".viewFields"][] = "business_logo_en";
$tdatabusiness[".viewFields"][] = "business_phone_number1";
$tdatabusiness[".viewFields"][] = "business_phone_number2";
$tdatabusiness[".viewFields"][] = "business_email";
$tdatabusiness[".viewFields"][] = "business_description_ar";
$tdatabusiness[".viewFields"][] = "business_description_en";
$tdatabusiness[".viewFields"][] = "business_website";
$tdatabusiness[".viewFields"][] = "business_address_ar";
$tdatabusiness[".viewFields"][] = "business_address_en";
$tdatabusiness[".viewFields"][] = "business_google_map";
$tdatabusiness[".viewFields"][] = "business_owner_gender";
$tdatabusiness[".viewFields"][] = "business_cr_number";
$tdatabusiness[".viewFields"][] = "business_cr_file";
$tdatabusiness[".viewFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".viewFields"][] = "business_owner_full_name_en";
$tdatabusiness[".viewFields"][] = "business_fax";
$tdatabusiness[".viewFields"][] = "business_eservice_url";
$tdatabusiness[".viewFields"][] = "business_about_us_ar";
$tdatabusiness[".viewFields"][] = "business_about_us_en";
$tdatabusiness[".viewFields"][] = "business_services_ar";
$tdatabusiness[".viewFields"][] = "business_services_en";
$tdatabusiness[".viewFields"][] = "business_privacy_ar";
$tdatabusiness[".viewFields"][] = "business_privacy_en";
$tdatabusiness[".viewFields"][] = "business_date_added";
$tdatabusiness[".viewFields"][] = "business_platform_platform_code";
$tdatabusiness[".viewFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".viewFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".viewFields"][] = "business_location_location_id";
$tdatabusiness[".viewFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".viewFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".viewFields"][] = "business_status_status_code";
$tdatabusiness[".viewFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".viewFields"][] = "business_reset_token";
$tdatabusiness[".viewFields"][] = "business_reset_date";
$tdatabusiness[".viewFields"][] = "business_priority";
$tdatabusiness[".viewFields"][] = "business_location_latitude";
$tdatabusiness[".viewFields"][] = "business_location_longitude";
$tdatabusiness[".viewFields"][] = "business_visits";
$tdatabusiness[".viewFields"][] = "business_country_code";

$tdatabusiness[".addFields"] = array();
$tdatabusiness[".addFields"][] = "business_id";
$tdatabusiness[".addFields"][] = "business_username";
$tdatabusiness[".addFields"][] = "business_password";
$tdatabusiness[".addFields"][] = "business_name_ar";
$tdatabusiness[".addFields"][] = "business_name_en";
$tdatabusiness[".addFields"][] = "business_merchant_id";
$tdatabusiness[".addFields"][] = "business_logo_ar";
$tdatabusiness[".addFields"][] = "business_logo_en";
$tdatabusiness[".addFields"][] = "business_phone_number1";
$tdatabusiness[".addFields"][] = "business_phone_number2";
$tdatabusiness[".addFields"][] = "business_email";
$tdatabusiness[".addFields"][] = "business_description_ar";
$tdatabusiness[".addFields"][] = "business_description_en";
$tdatabusiness[".addFields"][] = "business_website";
$tdatabusiness[".addFields"][] = "business_address_ar";
$tdatabusiness[".addFields"][] = "business_address_en";
$tdatabusiness[".addFields"][] = "business_google_map";
$tdatabusiness[".addFields"][] = "business_owner_gender";
$tdatabusiness[".addFields"][] = "business_cr_number";
$tdatabusiness[".addFields"][] = "business_cr_file";
$tdatabusiness[".addFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".addFields"][] = "business_owner_full_name_en";
$tdatabusiness[".addFields"][] = "business_fax";
$tdatabusiness[".addFields"][] = "business_eservice_url";
$tdatabusiness[".addFields"][] = "business_about_us_ar";
$tdatabusiness[".addFields"][] = "business_about_us_en";
$tdatabusiness[".addFields"][] = "business_services_ar";
$tdatabusiness[".addFields"][] = "business_services_en";
$tdatabusiness[".addFields"][] = "business_privacy_ar";
$tdatabusiness[".addFields"][] = "business_privacy_en";
$tdatabusiness[".addFields"][] = "business_date_added";
$tdatabusiness[".addFields"][] = "business_platform_platform_code";
$tdatabusiness[".addFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".addFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".addFields"][] = "business_location_location_id";
$tdatabusiness[".addFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".addFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".addFields"][] = "business_status_status_code";
$tdatabusiness[".addFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".addFields"][] = "business_reset_token";
$tdatabusiness[".addFields"][] = "business_reset_date";
$tdatabusiness[".addFields"][] = "business_priority";
$tdatabusiness[".addFields"][] = "business_location_latitude";
$tdatabusiness[".addFields"][] = "business_location_longitude";
$tdatabusiness[".addFields"][] = "business_visits";
$tdatabusiness[".addFields"][] = "business_country_code";

$tdatabusiness[".masterListFields"] = array();
$tdatabusiness[".masterListFields"][] = "business_id";
$tdatabusiness[".masterListFields"][] = "business_username";
$tdatabusiness[".masterListFields"][] = "business_password";
$tdatabusiness[".masterListFields"][] = "business_name_ar";
$tdatabusiness[".masterListFields"][] = "business_name_en";
$tdatabusiness[".masterListFields"][] = "business_merchant_id";
$tdatabusiness[".masterListFields"][] = "business_logo_ar";
$tdatabusiness[".masterListFields"][] = "business_logo_en";
$tdatabusiness[".masterListFields"][] = "business_phone_number1";
$tdatabusiness[".masterListFields"][] = "business_phone_number2";
$tdatabusiness[".masterListFields"][] = "business_email";
$tdatabusiness[".masterListFields"][] = "business_description_ar";
$tdatabusiness[".masterListFields"][] = "business_description_en";
$tdatabusiness[".masterListFields"][] = "business_website";
$tdatabusiness[".masterListFields"][] = "business_address_ar";
$tdatabusiness[".masterListFields"][] = "business_address_en";
$tdatabusiness[".masterListFields"][] = "business_google_map";
$tdatabusiness[".masterListFields"][] = "business_owner_gender";
$tdatabusiness[".masterListFields"][] = "business_cr_number";
$tdatabusiness[".masterListFields"][] = "business_cr_file";
$tdatabusiness[".masterListFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".masterListFields"][] = "business_owner_full_name_en";
$tdatabusiness[".masterListFields"][] = "business_fax";
$tdatabusiness[".masterListFields"][] = "business_eservice_url";
$tdatabusiness[".masterListFields"][] = "business_about_us_ar";
$tdatabusiness[".masterListFields"][] = "business_about_us_en";
$tdatabusiness[".masterListFields"][] = "business_services_ar";
$tdatabusiness[".masterListFields"][] = "business_services_en";
$tdatabusiness[".masterListFields"][] = "business_privacy_ar";
$tdatabusiness[".masterListFields"][] = "business_privacy_en";
$tdatabusiness[".masterListFields"][] = "business_date_added";
$tdatabusiness[".masterListFields"][] = "business_platform_platform_code";
$tdatabusiness[".masterListFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".masterListFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".masterListFields"][] = "business_location_location_id";
$tdatabusiness[".masterListFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".masterListFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".masterListFields"][] = "business_status_status_code";
$tdatabusiness[".masterListFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".masterListFields"][] = "business_reset_token";
$tdatabusiness[".masterListFields"][] = "business_reset_date";
$tdatabusiness[".masterListFields"][] = "business_priority";
$tdatabusiness[".masterListFields"][] = "business_location_latitude";
$tdatabusiness[".masterListFields"][] = "business_location_longitude";
$tdatabusiness[".masterListFields"][] = "business_visits";
$tdatabusiness[".masterListFields"][] = "business_country_code";

$tdatabusiness[".inlineAddFields"] = array();
$tdatabusiness[".inlineAddFields"][] = "business_id";
$tdatabusiness[".inlineAddFields"][] = "business_username";
$tdatabusiness[".inlineAddFields"][] = "business_password";
$tdatabusiness[".inlineAddFields"][] = "business_name_ar";
$tdatabusiness[".inlineAddFields"][] = "business_name_en";
$tdatabusiness[".inlineAddFields"][] = "business_merchant_id";
$tdatabusiness[".inlineAddFields"][] = "business_logo_ar";
$tdatabusiness[".inlineAddFields"][] = "business_logo_en";
$tdatabusiness[".inlineAddFields"][] = "business_phone_number1";
$tdatabusiness[".inlineAddFields"][] = "business_phone_number2";
$tdatabusiness[".inlineAddFields"][] = "business_email";
$tdatabusiness[".inlineAddFields"][] = "business_description_ar";
$tdatabusiness[".inlineAddFields"][] = "business_description_en";
$tdatabusiness[".inlineAddFields"][] = "business_website";
$tdatabusiness[".inlineAddFields"][] = "business_address_ar";
$tdatabusiness[".inlineAddFields"][] = "business_address_en";
$tdatabusiness[".inlineAddFields"][] = "business_google_map";
$tdatabusiness[".inlineAddFields"][] = "business_owner_gender";
$tdatabusiness[".inlineAddFields"][] = "business_cr_number";
$tdatabusiness[".inlineAddFields"][] = "business_cr_file";
$tdatabusiness[".inlineAddFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".inlineAddFields"][] = "business_owner_full_name_en";
$tdatabusiness[".inlineAddFields"][] = "business_fax";
$tdatabusiness[".inlineAddFields"][] = "business_eservice_url";
$tdatabusiness[".inlineAddFields"][] = "business_about_us_ar";
$tdatabusiness[".inlineAddFields"][] = "business_about_us_en";
$tdatabusiness[".inlineAddFields"][] = "business_services_ar";
$tdatabusiness[".inlineAddFields"][] = "business_services_en";
$tdatabusiness[".inlineAddFields"][] = "business_privacy_ar";
$tdatabusiness[".inlineAddFields"][] = "business_privacy_en";
$tdatabusiness[".inlineAddFields"][] = "business_date_added";
$tdatabusiness[".inlineAddFields"][] = "business_platform_platform_code";
$tdatabusiness[".inlineAddFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".inlineAddFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".inlineAddFields"][] = "business_location_location_id";
$tdatabusiness[".inlineAddFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".inlineAddFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".inlineAddFields"][] = "business_status_status_code";
$tdatabusiness[".inlineAddFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".inlineAddFields"][] = "business_reset_token";
$tdatabusiness[".inlineAddFields"][] = "business_reset_date";
$tdatabusiness[".inlineAddFields"][] = "business_priority";
$tdatabusiness[".inlineAddFields"][] = "business_location_latitude";
$tdatabusiness[".inlineAddFields"][] = "business_location_longitude";
$tdatabusiness[".inlineAddFields"][] = "business_visits";
$tdatabusiness[".inlineAddFields"][] = "business_country_code";

$tdatabusiness[".editFields"] = array();
$tdatabusiness[".editFields"][] = "business_id";
$tdatabusiness[".editFields"][] = "business_username";
$tdatabusiness[".editFields"][] = "business_password";
$tdatabusiness[".editFields"][] = "business_name_ar";
$tdatabusiness[".editFields"][] = "business_name_en";
$tdatabusiness[".editFields"][] = "business_merchant_id";
$tdatabusiness[".editFields"][] = "business_logo_ar";
$tdatabusiness[".editFields"][] = "business_logo_en";
$tdatabusiness[".editFields"][] = "business_phone_number1";
$tdatabusiness[".editFields"][] = "business_phone_number2";
$tdatabusiness[".editFields"][] = "business_email";
$tdatabusiness[".editFields"][] = "business_description_ar";
$tdatabusiness[".editFields"][] = "business_description_en";
$tdatabusiness[".editFields"][] = "business_website";
$tdatabusiness[".editFields"][] = "business_address_ar";
$tdatabusiness[".editFields"][] = "business_address_en";
$tdatabusiness[".editFields"][] = "business_google_map";
$tdatabusiness[".editFields"][] = "business_owner_gender";
$tdatabusiness[".editFields"][] = "business_cr_number";
$tdatabusiness[".editFields"][] = "business_cr_file";
$tdatabusiness[".editFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".editFields"][] = "business_owner_full_name_en";
$tdatabusiness[".editFields"][] = "business_fax";
$tdatabusiness[".editFields"][] = "business_eservice_url";
$tdatabusiness[".editFields"][] = "business_about_us_ar";
$tdatabusiness[".editFields"][] = "business_about_us_en";
$tdatabusiness[".editFields"][] = "business_services_ar";
$tdatabusiness[".editFields"][] = "business_services_en";
$tdatabusiness[".editFields"][] = "business_privacy_ar";
$tdatabusiness[".editFields"][] = "business_privacy_en";
$tdatabusiness[".editFields"][] = "business_date_added";
$tdatabusiness[".editFields"][] = "business_platform_platform_code";
$tdatabusiness[".editFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".editFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".editFields"][] = "business_location_location_id";
$tdatabusiness[".editFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".editFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".editFields"][] = "business_status_status_code";
$tdatabusiness[".editFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".editFields"][] = "business_reset_token";
$tdatabusiness[".editFields"][] = "business_reset_date";
$tdatabusiness[".editFields"][] = "business_priority";
$tdatabusiness[".editFields"][] = "business_location_latitude";
$tdatabusiness[".editFields"][] = "business_location_longitude";
$tdatabusiness[".editFields"][] = "business_visits";
$tdatabusiness[".editFields"][] = "business_country_code";

$tdatabusiness[".inlineEditFields"] = array();
$tdatabusiness[".inlineEditFields"][] = "business_id";
$tdatabusiness[".inlineEditFields"][] = "business_username";
$tdatabusiness[".inlineEditFields"][] = "business_password";
$tdatabusiness[".inlineEditFields"][] = "business_name_ar";
$tdatabusiness[".inlineEditFields"][] = "business_name_en";
$tdatabusiness[".inlineEditFields"][] = "business_merchant_id";
$tdatabusiness[".inlineEditFields"][] = "business_logo_ar";
$tdatabusiness[".inlineEditFields"][] = "business_logo_en";
$tdatabusiness[".inlineEditFields"][] = "business_phone_number1";
$tdatabusiness[".inlineEditFields"][] = "business_phone_number2";
$tdatabusiness[".inlineEditFields"][] = "business_email";
$tdatabusiness[".inlineEditFields"][] = "business_description_ar";
$tdatabusiness[".inlineEditFields"][] = "business_description_en";
$tdatabusiness[".inlineEditFields"][] = "business_website";
$tdatabusiness[".inlineEditFields"][] = "business_address_ar";
$tdatabusiness[".inlineEditFields"][] = "business_address_en";
$tdatabusiness[".inlineEditFields"][] = "business_google_map";
$tdatabusiness[".inlineEditFields"][] = "business_owner_gender";
$tdatabusiness[".inlineEditFields"][] = "business_cr_number";
$tdatabusiness[".inlineEditFields"][] = "business_cr_file";
$tdatabusiness[".inlineEditFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".inlineEditFields"][] = "business_owner_full_name_en";
$tdatabusiness[".inlineEditFields"][] = "business_fax";
$tdatabusiness[".inlineEditFields"][] = "business_eservice_url";
$tdatabusiness[".inlineEditFields"][] = "business_about_us_ar";
$tdatabusiness[".inlineEditFields"][] = "business_about_us_en";
$tdatabusiness[".inlineEditFields"][] = "business_services_ar";
$tdatabusiness[".inlineEditFields"][] = "business_services_en";
$tdatabusiness[".inlineEditFields"][] = "business_privacy_ar";
$tdatabusiness[".inlineEditFields"][] = "business_privacy_en";
$tdatabusiness[".inlineEditFields"][] = "business_date_added";
$tdatabusiness[".inlineEditFields"][] = "business_platform_platform_code";
$tdatabusiness[".inlineEditFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".inlineEditFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".inlineEditFields"][] = "business_location_location_id";
$tdatabusiness[".inlineEditFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".inlineEditFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".inlineEditFields"][] = "business_status_status_code";
$tdatabusiness[".inlineEditFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".inlineEditFields"][] = "business_reset_token";
$tdatabusiness[".inlineEditFields"][] = "business_reset_date";
$tdatabusiness[".inlineEditFields"][] = "business_priority";
$tdatabusiness[".inlineEditFields"][] = "business_location_latitude";
$tdatabusiness[".inlineEditFields"][] = "business_location_longitude";
$tdatabusiness[".inlineEditFields"][] = "business_visits";
$tdatabusiness[".inlineEditFields"][] = "business_country_code";

$tdatabusiness[".updateSelectedFields"] = array();
$tdatabusiness[".updateSelectedFields"][] = "business_id";
$tdatabusiness[".updateSelectedFields"][] = "business_username";
$tdatabusiness[".updateSelectedFields"][] = "business_password";
$tdatabusiness[".updateSelectedFields"][] = "business_name_ar";
$tdatabusiness[".updateSelectedFields"][] = "business_name_en";
$tdatabusiness[".updateSelectedFields"][] = "business_merchant_id";
$tdatabusiness[".updateSelectedFields"][] = "business_logo_ar";
$tdatabusiness[".updateSelectedFields"][] = "business_logo_en";
$tdatabusiness[".updateSelectedFields"][] = "business_phone_number1";
$tdatabusiness[".updateSelectedFields"][] = "business_phone_number2";
$tdatabusiness[".updateSelectedFields"][] = "business_email";
$tdatabusiness[".updateSelectedFields"][] = "business_description_ar";
$tdatabusiness[".updateSelectedFields"][] = "business_description_en";
$tdatabusiness[".updateSelectedFields"][] = "business_website";
$tdatabusiness[".updateSelectedFields"][] = "business_address_ar";
$tdatabusiness[".updateSelectedFields"][] = "business_address_en";
$tdatabusiness[".updateSelectedFields"][] = "business_google_map";
$tdatabusiness[".updateSelectedFields"][] = "business_owner_gender";
$tdatabusiness[".updateSelectedFields"][] = "business_cr_number";
$tdatabusiness[".updateSelectedFields"][] = "business_cr_file";
$tdatabusiness[".updateSelectedFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".updateSelectedFields"][] = "business_owner_full_name_en";
$tdatabusiness[".updateSelectedFields"][] = "business_fax";
$tdatabusiness[".updateSelectedFields"][] = "business_eservice_url";
$tdatabusiness[".updateSelectedFields"][] = "business_about_us_ar";
$tdatabusiness[".updateSelectedFields"][] = "business_about_us_en";
$tdatabusiness[".updateSelectedFields"][] = "business_services_ar";
$tdatabusiness[".updateSelectedFields"][] = "business_services_en";
$tdatabusiness[".updateSelectedFields"][] = "business_privacy_ar";
$tdatabusiness[".updateSelectedFields"][] = "business_privacy_en";
$tdatabusiness[".updateSelectedFields"][] = "business_date_added";
$tdatabusiness[".updateSelectedFields"][] = "business_platform_platform_code";
$tdatabusiness[".updateSelectedFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".updateSelectedFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".updateSelectedFields"][] = "business_location_location_id";
$tdatabusiness[".updateSelectedFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".updateSelectedFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".updateSelectedFields"][] = "business_status_status_code";
$tdatabusiness[".updateSelectedFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".updateSelectedFields"][] = "business_reset_token";
$tdatabusiness[".updateSelectedFields"][] = "business_reset_date";
$tdatabusiness[".updateSelectedFields"][] = "business_priority";
$tdatabusiness[".updateSelectedFields"][] = "business_location_latitude";
$tdatabusiness[".updateSelectedFields"][] = "business_location_longitude";
$tdatabusiness[".updateSelectedFields"][] = "business_visits";
$tdatabusiness[".updateSelectedFields"][] = "business_country_code";


$tdatabusiness[".exportFields"] = array();
$tdatabusiness[".exportFields"][] = "business_id";
$tdatabusiness[".exportFields"][] = "business_username";
$tdatabusiness[".exportFields"][] = "business_password";
$tdatabusiness[".exportFields"][] = "business_name_ar";
$tdatabusiness[".exportFields"][] = "business_name_en";
$tdatabusiness[".exportFields"][] = "business_merchant_id";
$tdatabusiness[".exportFields"][] = "business_logo_ar";
$tdatabusiness[".exportFields"][] = "business_logo_en";
$tdatabusiness[".exportFields"][] = "business_phone_number1";
$tdatabusiness[".exportFields"][] = "business_phone_number2";
$tdatabusiness[".exportFields"][] = "business_email";
$tdatabusiness[".exportFields"][] = "business_description_ar";
$tdatabusiness[".exportFields"][] = "business_description_en";
$tdatabusiness[".exportFields"][] = "business_website";
$tdatabusiness[".exportFields"][] = "business_address_ar";
$tdatabusiness[".exportFields"][] = "business_address_en";
$tdatabusiness[".exportFields"][] = "business_google_map";
$tdatabusiness[".exportFields"][] = "business_owner_gender";
$tdatabusiness[".exportFields"][] = "business_cr_number";
$tdatabusiness[".exportFields"][] = "business_cr_file";
$tdatabusiness[".exportFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".exportFields"][] = "business_owner_full_name_en";
$tdatabusiness[".exportFields"][] = "business_fax";
$tdatabusiness[".exportFields"][] = "business_eservice_url";
$tdatabusiness[".exportFields"][] = "business_about_us_ar";
$tdatabusiness[".exportFields"][] = "business_about_us_en";
$tdatabusiness[".exportFields"][] = "business_services_ar";
$tdatabusiness[".exportFields"][] = "business_services_en";
$tdatabusiness[".exportFields"][] = "business_privacy_ar";
$tdatabusiness[".exportFields"][] = "business_privacy_en";
$tdatabusiness[".exportFields"][] = "business_date_added";
$tdatabusiness[".exportFields"][] = "business_platform_platform_code";
$tdatabusiness[".exportFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".exportFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".exportFields"][] = "business_location_location_id";
$tdatabusiness[".exportFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".exportFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".exportFields"][] = "business_status_status_code";
$tdatabusiness[".exportFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".exportFields"][] = "business_reset_token";
$tdatabusiness[".exportFields"][] = "business_reset_date";
$tdatabusiness[".exportFields"][] = "business_priority";
$tdatabusiness[".exportFields"][] = "business_location_latitude";
$tdatabusiness[".exportFields"][] = "business_location_longitude";
$tdatabusiness[".exportFields"][] = "business_visits";
$tdatabusiness[".exportFields"][] = "business_country_code";

$tdatabusiness[".importFields"] = array();
$tdatabusiness[".importFields"][] = "business_id";
$tdatabusiness[".importFields"][] = "business_username";
$tdatabusiness[".importFields"][] = "business_password";
$tdatabusiness[".importFields"][] = "business_name_ar";
$tdatabusiness[".importFields"][] = "business_name_en";
$tdatabusiness[".importFields"][] = "business_merchant_id";
$tdatabusiness[".importFields"][] = "business_logo_ar";
$tdatabusiness[".importFields"][] = "business_logo_en";
$tdatabusiness[".importFields"][] = "business_phone_number1";
$tdatabusiness[".importFields"][] = "business_phone_number2";
$tdatabusiness[".importFields"][] = "business_email";
$tdatabusiness[".importFields"][] = "business_description_ar";
$tdatabusiness[".importFields"][] = "business_description_en";
$tdatabusiness[".importFields"][] = "business_website";
$tdatabusiness[".importFields"][] = "business_address_ar";
$tdatabusiness[".importFields"][] = "business_address_en";
$tdatabusiness[".importFields"][] = "business_google_map";
$tdatabusiness[".importFields"][] = "business_owner_gender";
$tdatabusiness[".importFields"][] = "business_cr_number";
$tdatabusiness[".importFields"][] = "business_cr_file";
$tdatabusiness[".importFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".importFields"][] = "business_owner_full_name_en";
$tdatabusiness[".importFields"][] = "business_fax";
$tdatabusiness[".importFields"][] = "business_eservice_url";
$tdatabusiness[".importFields"][] = "business_about_us_ar";
$tdatabusiness[".importFields"][] = "business_about_us_en";
$tdatabusiness[".importFields"][] = "business_services_ar";
$tdatabusiness[".importFields"][] = "business_services_en";
$tdatabusiness[".importFields"][] = "business_privacy_ar";
$tdatabusiness[".importFields"][] = "business_privacy_en";
$tdatabusiness[".importFields"][] = "business_date_added";
$tdatabusiness[".importFields"][] = "business_platform_platform_code";
$tdatabusiness[".importFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".importFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".importFields"][] = "business_location_location_id";
$tdatabusiness[".importFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".importFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".importFields"][] = "business_status_status_code";
$tdatabusiness[".importFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".importFields"][] = "business_reset_token";
$tdatabusiness[".importFields"][] = "business_reset_date";
$tdatabusiness[".importFields"][] = "business_priority";
$tdatabusiness[".importFields"][] = "business_location_latitude";
$tdatabusiness[".importFields"][] = "business_location_longitude";
$tdatabusiness[".importFields"][] = "business_visits";
$tdatabusiness[".importFields"][] = "business_country_code";

$tdatabusiness[".printFields"] = array();
$tdatabusiness[".printFields"][] = "business_id";
$tdatabusiness[".printFields"][] = "business_username";
$tdatabusiness[".printFields"][] = "business_password";
$tdatabusiness[".printFields"][] = "business_name_ar";
$tdatabusiness[".printFields"][] = "business_name_en";
$tdatabusiness[".printFields"][] = "business_merchant_id";
$tdatabusiness[".printFields"][] = "business_logo_ar";
$tdatabusiness[".printFields"][] = "business_logo_en";
$tdatabusiness[".printFields"][] = "business_phone_number1";
$tdatabusiness[".printFields"][] = "business_phone_number2";
$tdatabusiness[".printFields"][] = "business_email";
$tdatabusiness[".printFields"][] = "business_description_ar";
$tdatabusiness[".printFields"][] = "business_description_en";
$tdatabusiness[".printFields"][] = "business_website";
$tdatabusiness[".printFields"][] = "business_address_ar";
$tdatabusiness[".printFields"][] = "business_address_en";
$tdatabusiness[".printFields"][] = "business_google_map";
$tdatabusiness[".printFields"][] = "business_owner_gender";
$tdatabusiness[".printFields"][] = "business_cr_number";
$tdatabusiness[".printFields"][] = "business_cr_file";
$tdatabusiness[".printFields"][] = "business_owner_full_name_ar";
$tdatabusiness[".printFields"][] = "business_owner_full_name_en";
$tdatabusiness[".printFields"][] = "business_fax";
$tdatabusiness[".printFields"][] = "business_eservice_url";
$tdatabusiness[".printFields"][] = "business_about_us_ar";
$tdatabusiness[".printFields"][] = "business_about_us_en";
$tdatabusiness[".printFields"][] = "business_services_ar";
$tdatabusiness[".printFields"][] = "business_services_en";
$tdatabusiness[".printFields"][] = "business_privacy_ar";
$tdatabusiness[".printFields"][] = "business_privacy_en";
$tdatabusiness[".printFields"][] = "business_date_added";
$tdatabusiness[".printFields"][] = "business_platform_platform_code";
$tdatabusiness[".printFields"][] = "business_business_type_business_type_id";
$tdatabusiness[".printFields"][] = "business_show_in_show_in_code";
$tdatabusiness[".printFields"][] = "business_location_location_id";
$tdatabusiness[".printFields"][] = "business_business_category_business_category_id";
$tdatabusiness[".printFields"][] = "business_business_subcategory_business_subcategory_id";
$tdatabusiness[".printFields"][] = "business_status_status_code";
$tdatabusiness[".printFields"][] = "business_currency_currency_code_en";
$tdatabusiness[".printFields"][] = "business_reset_token";
$tdatabusiness[".printFields"][] = "business_reset_date";
$tdatabusiness[".printFields"][] = "business_priority";
$tdatabusiness[".printFields"][] = "business_location_latitude";
$tdatabusiness[".printFields"][] = "business_location_longitude";
$tdatabusiness[".printFields"][] = "business_visits";
$tdatabusiness[".printFields"][] = "business_country_code";


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

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




	$tdatabusiness["business_id"] = $fdata;
//	business_username
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "business_username";
	$fdata["GoodName"] = "business_username";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_username");
	$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"] = "business_username";

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

	
	
				$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




	$tdatabusiness["business_username"] = $fdata;
//	business_password
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "business_password";
	$fdata["GoodName"] = "business_password";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_password");
	$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"] = "business_password";

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

	
	
				$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




	$tdatabusiness["business_password"] = $fdata;
//	business_name_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "business_name_ar";
	$fdata["GoodName"] = "business_name_ar";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_name_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"] = "business_name_ar";

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




	$tdatabusiness["business_name_ar"] = $fdata;
//	business_name_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "business_name_en";
	$fdata["GoodName"] = "business_name_en";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_name_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"] = "business_name_en";

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




	$tdatabusiness["business_name_en"] = $fdata;
//	business_merchant_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "business_merchant_id";
	$fdata["GoodName"] = "business_merchant_id";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_merchant_id");
	$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"] = "business_merchant_id";

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




	$tdatabusiness["business_merchant_id"] = $fdata;
//	business_logo_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "business_logo_ar";
	$fdata["GoodName"] = "business_logo_ar";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_logo_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"] = "business_logo_ar";

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




	$tdatabusiness["business_logo_ar"] = $fdata;
//	business_logo_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "business_logo_en";
	$fdata["GoodName"] = "business_logo_en";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_logo_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"] = "business_logo_en";

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




	$tdatabusiness["business_logo_en"] = $fdata;
//	business_phone_number1
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "business_phone_number1";
	$fdata["GoodName"] = "business_phone_number1";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_phone_number1");
	$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"] = "business_phone_number1";

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

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

		$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




	$tdatabusiness["business_phone_number1"] = $fdata;
//	business_phone_number2
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "business_phone_number2";
	$fdata["GoodName"] = "business_phone_number2";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_phone_number2");
	$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"] = "business_phone_number2";

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

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

		$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




	$tdatabusiness["business_phone_number2"] = $fdata;
//	business_email
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "business_email";
	$fdata["GoodName"] = "business_email";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_email");
	$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"] = "business_email";

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




	$tdatabusiness["business_email"] = $fdata;
//	business_description_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "business_description_ar";
	$fdata["GoodName"] = "business_description_ar";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_description_ar");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_description_ar"] = $fdata;
//	business_description_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "business_description_en";
	$fdata["GoodName"] = "business_description_en";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_description_en");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_description_en"] = $fdata;
//	business_website
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "business_website";
	$fdata["GoodName"] = "business_website";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_website");
	$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"] = "business_website";

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

	
	
				$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




	$tdatabusiness["business_website"] = $fdata;
//	business_address_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "business_address_ar";
	$fdata["GoodName"] = "business_address_ar";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_address_ar");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_address_ar"] = $fdata;
//	business_address_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "business_address_en";
	$fdata["GoodName"] = "business_address_en";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_address_en");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_address_en"] = $fdata;
//	business_google_map
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "business_google_map";
	$fdata["GoodName"] = "business_google_map";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_google_map");
	$fdata["FieldType"] = 201;

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

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

	
	
				$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




	$tdatabusiness["business_google_map"] = $fdata;
//	business_owner_gender
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "business_owner_gender";
	$fdata["GoodName"] = "business_owner_gender";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_owner_gender");
	$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"] = "business_owner_gender";

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdatabusiness["business_owner_gender"] = $fdata;
//	business_cr_number
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "business_cr_number";
	$fdata["GoodName"] = "business_cr_number";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_cr_number");
	$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"] = "business_cr_number";

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

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

		$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




	$tdatabusiness["business_cr_number"] = $fdata;
//	business_cr_file
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "business_cr_file";
	$fdata["GoodName"] = "business_cr_file";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_cr_file");
	$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"] = "business_cr_file";

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

	
	
				$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




	$tdatabusiness["business_cr_file"] = $fdata;
//	business_owner_full_name_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "business_owner_full_name_ar";
	$fdata["GoodName"] = "business_owner_full_name_ar";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_owner_full_name_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"] = "business_owner_full_name_ar";

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




	$tdatabusiness["business_owner_full_name_ar"] = $fdata;
//	business_owner_full_name_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "business_owner_full_name_en";
	$fdata["GoodName"] = "business_owner_full_name_en";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_owner_full_name_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"] = "business_owner_full_name_en";

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




	$tdatabusiness["business_owner_full_name_en"] = $fdata;
//	business_fax
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "business_fax";
	$fdata["GoodName"] = "business_fax";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_fax");
	$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"] = "business_fax";

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

	
	
				$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




	$tdatabusiness["business_fax"] = $fdata;
//	business_eservice_url
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "business_eservice_url";
	$fdata["GoodName"] = "business_eservice_url";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_eservice_url");
	$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"] = "business_eservice_url";

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

	
	
				$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




	$tdatabusiness["business_eservice_url"] = $fdata;
//	business_about_us_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 25;
	$fdata["strName"] = "business_about_us_ar";
	$fdata["GoodName"] = "business_about_us_ar";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_about_us_ar");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_about_us_ar"] = $fdata;
//	business_about_us_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 26;
	$fdata["strName"] = "business_about_us_en";
	$fdata["GoodName"] = "business_about_us_en";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_about_us_en");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_about_us_en"] = $fdata;
//	business_services_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 27;
	$fdata["strName"] = "business_services_ar";
	$fdata["GoodName"] = "business_services_ar";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_services_ar");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_services_ar"] = $fdata;
//	business_services_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 28;
	$fdata["strName"] = "business_services_en";
	$fdata["GoodName"] = "business_services_en";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_services_en");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_services_en"] = $fdata;
//	business_privacy_ar
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 29;
	$fdata["strName"] = "business_privacy_ar";
	$fdata["GoodName"] = "business_privacy_ar";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_privacy_ar");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_privacy_ar"] = $fdata;
//	business_privacy_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 30;
	$fdata["strName"] = "business_privacy_en";
	$fdata["GoodName"] = "business_privacy_en";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_privacy_en");
	$fdata["FieldType"] = 201;

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

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




	$tdatabusiness["business_privacy_en"] = $fdata;
//	business_date_added
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 31;
	$fdata["strName"] = "business_date_added";
	$fdata["GoodName"] = "business_date_added";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_date_added");
	$fdata["FieldType"] = 135;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

		$edata["ShowTime"] = true;

	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 13;
	$edata["InitialYearFactor"] = 100;
	$edata["LastYearFactor"] = 10;

	
	
	
		$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("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
// the end of search options settings




	$tdatabusiness["business_date_added"] = $fdata;
//	business_platform_platform_code
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 32;
	$fdata["strName"] = "business_platform_platform_code";
	$fdata["GoodName"] = "business_platform_platform_code";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_platform_platform_code");
	$fdata["FieldType"] = 201;

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

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

	
	
				$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




	$tdatabusiness["business_platform_platform_code"] = $fdata;
//	business_business_type_business_type_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 33;
	$fdata["strName"] = "business_business_type_business_type_id";
	$fdata["GoodName"] = "business_business_type_business_type_id";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_business_type_business_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"] = "business_business_type_business_type_id";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "business_business_type_business_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" => "Text field");

	
	
		
	


	
	
	
			$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");
							
	
	//	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




	$tdatabusiness["business_business_type_business_type_id"] = $fdata;
//	business_show_in_show_in_code
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 34;
	$fdata["strName"] = "business_show_in_show_in_code";
	$fdata["GoodName"] = "business_show_in_show_in_code";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_show_in_show_in_code");
	$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"] = "business_show_in_show_in_code";

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

	
	
				$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




	$tdatabusiness["business_show_in_show_in_code"] = $fdata;
//	business_location_location_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 35;
	$fdata["strName"] = "business_location_location_id";
	$fdata["GoodName"] = "business_location_location_id";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_location_location_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"] = "business_location_location_id";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "business_location_location_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["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");
							
	
	//	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




	$tdatabusiness["business_location_location_id"] = $fdata;
//	business_business_category_business_category_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 36;
	$fdata["strName"] = "business_business_category_business_category_id";
	$fdata["GoodName"] = "business_business_category_business_category_id";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_business_category_business_category_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"] = "business_business_category_business_category_id";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "business_business_category_business_category_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["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");
							
	
	//	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




	$tdatabusiness["business_business_category_business_category_id"] = $fdata;
//	business_business_subcategory_business_subcategory_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 37;
	$fdata["strName"] = "business_business_subcategory_business_subcategory_id";
	$fdata["GoodName"] = "business_business_subcategory_business_subcategory_id";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_business_subcategory_business_subcategory_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"] = "business_business_subcategory_business_subcategory_id";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "business_business_subcategory_business_subcategory_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["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");
							
	
	//	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




	$tdatabusiness["business_business_subcategory_business_subcategory_id"] = $fdata;
//	business_status_status_code
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 38;
	$fdata["strName"] = "business_status_status_code";
	$fdata["GoodName"] = "business_status_status_code";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_status_status_code");
	$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"] = "business_status_status_code";

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdatabusiness["business_status_status_code"] = $fdata;
//	business_currency_currency_code_en
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 39;
	$fdata["strName"] = "business_currency_currency_code_en";
	$fdata["GoodName"] = "business_currency_currency_code_en";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_currency_currency_code_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"] = "business_currency_currency_code_en";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "business_currency_currency_code_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=3";

		$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




	$tdatabusiness["business_currency_currency_code_en"] = $fdata;
//	business_reset_token
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 40;
	$fdata["strName"] = "business_reset_token";
	$fdata["GoodName"] = "business_reset_token";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_reset_token");
	$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"] = "business_reset_token";

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

	
	
				$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




	$tdatabusiness["business_reset_token"] = $fdata;
//	business_reset_date
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 41;
	$fdata["strName"] = "business_reset_date";
	$fdata["GoodName"] = "business_reset_date";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_reset_date");
	$fdata["FieldType"] = 135;

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

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

	
	
				$fdata["FieldPermissions"] = true;

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

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

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

	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

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

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

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

		$edata["ShowTime"] = true;

	
		
	


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

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 13;
	$edata["InitialYearFactor"] = 100;
	$edata["LastYearFactor"] = 10;

	
	
	
		$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("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
// the end of search options settings




	$tdatabusiness["business_reset_date"] = $fdata;
//	business_priority
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 42;
	$fdata["strName"] = "business_priority";
	$fdata["GoodName"] = "business_priority";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_priority");
	$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"] = "business_priority";

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

	
	
				$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["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




	$tdatabusiness["business_priority"] = $fdata;
//	business_location_latitude
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 43;
	$fdata["strName"] = "business_location_latitude";
	$fdata["GoodName"] = "business_location_latitude";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_location_latitude");
	$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"] = "business_location_latitude";

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdatabusiness["business_location_latitude"] = $fdata;
//	business_location_longitude
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 44;
	$fdata["strName"] = "business_location_longitude";
	$fdata["GoodName"] = "business_location_longitude";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_location_longitude");
	$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"] = "business_location_longitude";

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

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

		$edata["controlWidth"] = 200;

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

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


	$fdata["isSeparate"] = false;




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

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




	$tdatabusiness["business_location_longitude"] = $fdata;
//	business_visits
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 45;
	$fdata["strName"] = "business_visits";
	$fdata["GoodName"] = "business_visits";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_visits");
	$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"] = "business_visits";

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

	
	
				$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["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




	$tdatabusiness["business_visits"] = $fdata;
//	business_country_code
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 46;
	$fdata["strName"] = "business_country_code";
	$fdata["GoodName"] = "business_country_code";
	$fdata["ownerTable"] = "business";
	$fdata["Label"] = GetFieldLabel("business","business_country_code");
	$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"] = "business_country_code";

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

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

		$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




	$tdatabusiness["business_country_code"] = $fdata;


$tables_data["business"]=&$tdatabusiness;
$field_labels["business"] = &$fieldLabelsbusiness;
$fieldToolTips["business"] = &$fieldToolTipsbusiness;
$placeHolders["business"] = &$placeHoldersbusiness;
$page_titles["business"] = &$pageTitlesbusiness;

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

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


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

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










function createSqlQuery_business()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "business_id,  	business_username,  	business_password,  	business_name_ar,  	business_name_en,  	business_merchant_id,  	business_logo_ar,  	business_logo_en,  	business_phone_number1,  	business_phone_number2,  	business_email,  	business_description_ar,  	business_description_en,  	business_website,  	business_address_ar,  	business_address_en,  	business_google_map,  	business_owner_gender,  	business_cr_number,  	business_cr_file,  	business_owner_full_name_ar,  	business_owner_full_name_en,  	business_fax,  	business_eservice_url,  	business_about_us_ar,  	business_about_us_en,  	business_services_ar,  	business_services_en,  	business_privacy_ar,  	business_privacy_en,  	business_date_added,  	business_platform_platform_code,  	business_business_type_business_type_id,  	business_show_in_show_in_code,  	business_location_location_id,  	business_business_category_business_category_id,  	business_business_subcategory_business_subcategory_id,  	business_status_status_code,  	business_currency_currency_code_en,  	business_reset_token,  	business_reset_date,  	business_priority,  	business_location_latitude,  	business_location_longitude,  	business_visits,  	business_country_code";
$proto0["m_strFrom"] = "FROM business";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto6=array();
			$obj = new SQLField(array(
	"m_strName" => "business_id",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

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

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

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

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

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

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

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

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

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

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

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

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

$proto18["m_sql"] = "business_logo_ar";
$proto18["m_srcTableName"] = "business";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "";
$obj = new SQLFieldListItem($proto18);

$proto0["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLField(array(
	"m_strName" => "business_logo_en",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$proto0["m_fieldlist"][]=$obj;
						$proto64=array();
			$obj = new SQLField(array(
	"m_strName" => "business_privacy_en",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto64["m_sql"] = "business_privacy_en";
$proto64["m_srcTableName"] = "business";
$proto64["m_expr"]=$obj;
$proto64["m_alias"] = "";
$obj = new SQLFieldListItem($proto64);

$proto0["m_fieldlist"][]=$obj;
						$proto66=array();
			$obj = new SQLField(array(
	"m_strName" => "business_date_added",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto66["m_sql"] = "business_date_added";
$proto66["m_srcTableName"] = "business";
$proto66["m_expr"]=$obj;
$proto66["m_alias"] = "";
$obj = new SQLFieldListItem($proto66);

$proto0["m_fieldlist"][]=$obj;
						$proto68=array();
			$obj = new SQLField(array(
	"m_strName" => "business_platform_platform_code",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto68["m_sql"] = "business_platform_platform_code";
$proto68["m_srcTableName"] = "business";
$proto68["m_expr"]=$obj;
$proto68["m_alias"] = "";
$obj = new SQLFieldListItem($proto68);

$proto0["m_fieldlist"][]=$obj;
						$proto70=array();
			$obj = new SQLField(array(
	"m_strName" => "business_business_type_business_type_id",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto70["m_sql"] = "business_business_type_business_type_id";
$proto70["m_srcTableName"] = "business";
$proto70["m_expr"]=$obj;
$proto70["m_alias"] = "";
$obj = new SQLFieldListItem($proto70);

$proto0["m_fieldlist"][]=$obj;
						$proto72=array();
			$obj = new SQLField(array(
	"m_strName" => "business_show_in_show_in_code",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto72["m_sql"] = "business_show_in_show_in_code";
$proto72["m_srcTableName"] = "business";
$proto72["m_expr"]=$obj;
$proto72["m_alias"] = "";
$obj = new SQLFieldListItem($proto72);

$proto0["m_fieldlist"][]=$obj;
						$proto74=array();
			$obj = new SQLField(array(
	"m_strName" => "business_location_location_id",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto74["m_sql"] = "business_location_location_id";
$proto74["m_srcTableName"] = "business";
$proto74["m_expr"]=$obj;
$proto74["m_alias"] = "";
$obj = new SQLFieldListItem($proto74);

$proto0["m_fieldlist"][]=$obj;
						$proto76=array();
			$obj = new SQLField(array(
	"m_strName" => "business_business_category_business_category_id",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto76["m_sql"] = "business_business_category_business_category_id";
$proto76["m_srcTableName"] = "business";
$proto76["m_expr"]=$obj;
$proto76["m_alias"] = "";
$obj = new SQLFieldListItem($proto76);

$proto0["m_fieldlist"][]=$obj;
						$proto78=array();
			$obj = new SQLField(array(
	"m_strName" => "business_business_subcategory_business_subcategory_id",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto78["m_sql"] = "business_business_subcategory_business_subcategory_id";
$proto78["m_srcTableName"] = "business";
$proto78["m_expr"]=$obj;
$proto78["m_alias"] = "";
$obj = new SQLFieldListItem($proto78);

$proto0["m_fieldlist"][]=$obj;
						$proto80=array();
			$obj = new SQLField(array(
	"m_strName" => "business_status_status_code",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto80["m_sql"] = "business_status_status_code";
$proto80["m_srcTableName"] = "business";
$proto80["m_expr"]=$obj;
$proto80["m_alias"] = "";
$obj = new SQLFieldListItem($proto80);

$proto0["m_fieldlist"][]=$obj;
						$proto82=array();
			$obj = new SQLField(array(
	"m_strName" => "business_currency_currency_code_en",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto82["m_sql"] = "business_currency_currency_code_en";
$proto82["m_srcTableName"] = "business";
$proto82["m_expr"]=$obj;
$proto82["m_alias"] = "";
$obj = new SQLFieldListItem($proto82);

$proto0["m_fieldlist"][]=$obj;
						$proto84=array();
			$obj = new SQLField(array(
	"m_strName" => "business_reset_token",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto84["m_sql"] = "business_reset_token";
$proto84["m_srcTableName"] = "business";
$proto84["m_expr"]=$obj;
$proto84["m_alias"] = "";
$obj = new SQLFieldListItem($proto84);

$proto0["m_fieldlist"][]=$obj;
						$proto86=array();
			$obj = new SQLField(array(
	"m_strName" => "business_reset_date",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto86["m_sql"] = "business_reset_date";
$proto86["m_srcTableName"] = "business";
$proto86["m_expr"]=$obj;
$proto86["m_alias"] = "";
$obj = new SQLFieldListItem($proto86);

$proto0["m_fieldlist"][]=$obj;
						$proto88=array();
			$obj = new SQLField(array(
	"m_strName" => "business_priority",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto88["m_sql"] = "business_priority";
$proto88["m_srcTableName"] = "business";
$proto88["m_expr"]=$obj;
$proto88["m_alias"] = "";
$obj = new SQLFieldListItem($proto88);

$proto0["m_fieldlist"][]=$obj;
						$proto90=array();
			$obj = new SQLField(array(
	"m_strName" => "business_location_latitude",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto90["m_sql"] = "business_location_latitude";
$proto90["m_srcTableName"] = "business";
$proto90["m_expr"]=$obj;
$proto90["m_alias"] = "";
$obj = new SQLFieldListItem($proto90);

$proto0["m_fieldlist"][]=$obj;
						$proto92=array();
			$obj = new SQLField(array(
	"m_strName" => "business_location_longitude",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto92["m_sql"] = "business_location_longitude";
$proto92["m_srcTableName"] = "business";
$proto92["m_expr"]=$obj;
$proto92["m_alias"] = "";
$obj = new SQLFieldListItem($proto92);

$proto0["m_fieldlist"][]=$obj;
						$proto94=array();
			$obj = new SQLField(array(
	"m_strName" => "business_visits",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto94["m_sql"] = "business_visits";
$proto94["m_srcTableName"] = "business";
$proto94["m_expr"]=$obj;
$proto94["m_alias"] = "";
$obj = new SQLFieldListItem($proto94);

$proto0["m_fieldlist"][]=$obj;
						$proto96=array();
			$obj = new SQLField(array(
	"m_strName" => "business_country_code",
	"m_strTable" => "business",
	"m_srcTableName" => "business"
));

$proto96["m_sql"] = "business_country_code";
$proto96["m_srcTableName"] = "business";
$proto96["m_expr"]=$obj;
$proto96["m_alias"] = "";
$obj = new SQLFieldListItem($proto96);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto98=array();
$proto98["m_link"] = "SQLL_MAIN";
			$proto99=array();
$proto99["m_strName"] = "business";
$proto99["m_srcTableName"] = "business";
$proto99["m_columns"] = array();
$proto99["m_columns"][] = "business_id";
$proto99["m_columns"][] = "business_username";
$proto99["m_columns"][] = "business_password";
$proto99["m_columns"][] = "business_name_ar";
$proto99["m_columns"][] = "business_name_en";
$proto99["m_columns"][] = "business_merchant_id";
$proto99["m_columns"][] = "business_logo_ar";
$proto99["m_columns"][] = "business_logo_en";
$proto99["m_columns"][] = "business_phone_number1";
$proto99["m_columns"][] = "business_phone_number2";
$proto99["m_columns"][] = "business_email";
$proto99["m_columns"][] = "business_description_ar";
$proto99["m_columns"][] = "business_description_en";
$proto99["m_columns"][] = "business_website";
$proto99["m_columns"][] = "business_address_ar";
$proto99["m_columns"][] = "business_address_en";
$proto99["m_columns"][] = "business_google_map";
$proto99["m_columns"][] = "business_owner_gender";
$proto99["m_columns"][] = "business_cr_number";
$proto99["m_columns"][] = "business_cr_file";
$proto99["m_columns"][] = "business_owner_full_name_ar";
$proto99["m_columns"][] = "business_owner_full_name_en";
$proto99["m_columns"][] = "business_fax";
$proto99["m_columns"][] = "business_eservice_url";
$proto99["m_columns"][] = "business_about_us_ar";
$proto99["m_columns"][] = "business_about_us_en";
$proto99["m_columns"][] = "business_services_ar";
$proto99["m_columns"][] = "business_services_en";
$proto99["m_columns"][] = "business_privacy_ar";
$proto99["m_columns"][] = "business_privacy_en";
$proto99["m_columns"][] = "business_date_added";
$proto99["m_columns"][] = "business_platform_platform_code";
$proto99["m_columns"][] = "business_business_type_business_type_id";
$proto99["m_columns"][] = "business_show_in_show_in_code";
$proto99["m_columns"][] = "business_location_location_id";
$proto99["m_columns"][] = "business_business_category_business_category_id";
$proto99["m_columns"][] = "business_business_subcategory_business_subcategory_id";
$proto99["m_columns"][] = "business_status_status_code";
$proto99["m_columns"][] = "business_currency_currency_code_en";
$proto99["m_columns"][] = "business_reset_token";
$proto99["m_columns"][] = "business_reset_date";
$proto99["m_columns"][] = "business_priority";
$proto99["m_columns"][] = "business_location_latitude";
$proto99["m_columns"][] = "business_location_longitude";
$proto99["m_columns"][] = "business_visits";
$proto99["m_columns"][] = "business_country_code";
$obj = new SQLTable($proto99);

$proto98["m_table"] = $obj;
$proto98["m_sql"] = "business";
$proto98["m_alias"] = "";
$proto98["m_srcTableName"] = "business";
$proto100=array();
$proto100["m_sql"] = "";
$proto100["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

	return $obj;
}
$queryData_business = createSqlQuery_business();


	
		;

																																														

$tdatabusiness[".sqlquery"] = $queryData_business;

$tableEvents["business"] = new eventsBase;
$tdatabusiness[".hasEvents"] = false;

?>