Notice (8) : Undefined offset: 0 [APP/Controller/BusinessProfile2Controller.php , line 293 ]Code Context if (isset( $this -> params [ 'url' ][ "iid" ]))
{ $imageID = $this -> params [ 'url' ][ "iid" ]; }
$this -> set ( 'cityName' , $bizProf0 [ 0 ][ "city_name" ] );
$_routeParam5 = ''
$url = '/city-of-brawley/imperial-county/ca/'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-brawley',
(int) 2 => 'imperial-county',
(int) 3 => 'ca',
(int) 4 => ''
)
$_routeParam1Orig = 'city-of-brawley'
$_routeParam2Orig = 'imperial-county'
$_routeParam3Orig = 'ca'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofbrawley'
$_routeParam2 = 'imperialcounty'
$_routeParam3 = 'ca'
$_routeParam4 = ''
$_ipAddress = '172.71.158.168'
$conn = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$conn2 = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$queryBusinesses = ''
$queryTopCategories = ''
$bizProf = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$imageID = ''
$query0 = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
$stmt0 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
}
$bizProf0 = array()
$queryTopCities = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
$_city = 'brawley'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='ca' and city_condensed='brawley' LIMIT 1'
$queryTopBusinesses = 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
$queryTopCatPerCity = 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10 '
$queryTopCatPerCounty = 'SELECT DISTINCT state,
top_business_in_category_city_full as city_name , top_business_in_category_city_condensed as city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_county
WHERE state='ca' and county_condensed='imperialcounty'
ORDER BY category_rank_index LIMIT 10 '
$stmt2 = object(PDOStatement) {
queryString => 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '736354',
'id_hashed' => 'df60f2f50ffc95debe3032396d1d1047',
'business_id' => '742163',
'business_id_hashed' => '0b6dd0c2b620fd7c725c62d75a41c704',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '252',
'category' => 'Mortuaries',
'category_condensed' => 'Mortuaries',
'name' => 'Frye Chapel & Mortuary Crematory',
'name_condensed' => 'FryeChapelMortuaryCrematory',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '799 S Brawley Ave',
'address2' => '',
'city' => 'Brawley',
'city_condensed' => 'Brawley',
'state' => 'CA',
'zip' => '92227',
'county' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '32.9681359',
'longitude' => '-115.5464181',
'geolocation' => '32.9681359, -115.5464181',
'serves_food' => '0',
'SEO_pagetitle' => null,
'SEO_meta_description' => null,
'SEO_profile_meta_title' => '0',
'SEO_profile_meta_keywords' => '',
'SEO_profile_meta_description' => '',
'SEO_profile_cities' => '',
'SEO_webpage_meta_title' => '',
'SEO_webpage_meta_keywords' => '',
'SEO_webpage_meta_description' => '',
'SEO_webpage_cities' => '',
'copyright_text' => '',
'googlemaps_API' => '',
'googlemaps_streetview_lat' => '',
'googlemaps_streetview_lon' => '',
'googlemaps_streetview_heading' => '0',
'googlemaps_streetview_pitch' => '0',
'googlemaps_streetview_zoom' => '2',
'phone' => '(760) 545-5582',
'phone_functional' => '7605455582',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://www.fryechapel.net',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/CA/Brawley/Mortuaries/FryeChapelMortuaryCrematory/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Mortuaries Mortuariess ',
'related' => '',
'background_image' => '/img/common/bak_default.png',
'custom_background_image' => '0',
'headerPanel_useGradient' => '1',
'enable_headerBusinessName' => '1',
'header_mobile_title' => null,
'enable_mobileapp' => '0',
'header_services_title' => '',
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => '',
'enable_products' => '0',
'header_gallery_title' => '',
'enable_gallery' => '0',
'enable_videos' => '0',
'header_promotions_title' => null,
'enable_promotions' => '0',
'header_about_title' => null,
'enable_about' => '0',
'enable_faq' => '0',
'header_social_title' => null,
'enable_social_links' => '0',
'header_location_title' => null,
'enable_location' => '1',
'header_contact_title' => 'Contact Us',
'enable_contact' => '0',
'enable_appointments' => '0',
'header_staff_title' => null,
'enable_staff' => '0',
'label_mobile_app' => 'Mobile App',
'label_services' => 'Services',
'label_gallery' => 'Gallery',
'label_videos' => 'Videos',
'label_promotions' => 'Promos',
'label_about' => 'About',
'label_faq' => 'FAQ',
'label_location' => 'Location',
'label_contact' => 'Contact',
'label_appointments' => 'Appointments',
'color_headerpanel_background_color' => 'ffffff',
'use_businessname_logo_only' => '0',
'color_businessname' => '000000',
'color_businessname_subtext' => 'E7E7E7',
'color_nav_font' => '000000',
'color_background_1' => 'ffffff',
'color_background_2' => '5e7384',
'color_background_3' => '7b8b9b',
'color_background_4' => 'f7f7f7',
'color_background_5' => '798a8b',
'color_foreground' => 'c7c9d4',
'color_text_description' => 'b8b8b8',
'color_mobile_header_text' => 'd7d9e0',
'color_headertext_testimonials' => 'e9eaee',
'color_text_testimonials' => 'ffffff',
'color_subtext_testimonials' => 'a7a7a7',
'color_background_testimonials' => '000000',
'color_mobile_bulletpoints_text' => 'e9eaee',
'mobile_app_image_url' => null,
'mobile_app_apple_url' => 'https://itunes.apple.com/ ',
'mobile_app_android_url' => null,
'mobile_header' => 'GO MOBILE WITH OUR NEW APP FOR iOS AND ANDROID.',
'mobile_bulletpoint_1' => 'Get the Best Deals!',
'mobile_bulletpoint_2' => 'Appointments',
'mobile_bulletpoint_3' => 'Exclusive Events',
'mobile_bulletpoint_4' => 'Stay Connected',
'social_facebook_page' => null,
'social_twitter_page' => null,
'social_pinterest_page' => null,
'social_youtube_page' => null,
'social_instagram_page' => null,
'social_googleplus_page' => null,
'social_beelocal_page' => null,
'social_linkedin_page' => null,
'social_personal_page_facebook' => null,
'social_personal_page_twitter' => null,
'social_personal_page_pinterest' => null,
'social_personal_page_youtube' => null,
'social_personal_page_instagram' => null,
'social_personal_page_googleplus' => null,
'social_personal_page_beelocal' => null,
'social_personal_page_linkedin' => null,
'social_facebook_url_active' => '0',
'social_twitter_url_active' => '0',
'social_pinterest_url_active' => '0',
'social_youtube_url_active' => '0',
'social_instagram_url_active' => '0',
'social_googleplus_url_active' => '0',
'social_linkedin_url_active' => '0',
'social_personal_active_facebook' => '0',
'social_personal_active_twitter' => '0',
'social_personal_active_pinterest' => '0',
'social_personal_active_youtube' => '0',
'social_personal_active_instagram' => '0',
'social_personal_active_googleplus' => '0',
'social_personal_active_beelocal' => '0',
'social_personal_active_linkedin' => '0',
'gallery_default_image' => null,
'logo_50x50' => null,
'logo_150x100' => null,
'logo_portal' => null,
'display_hours' => '0',
'open_hours_MF_open' => '--- NA ---',
'open_hours_MF_close' => '--- NA ---',
'open_hours_SAT_close' => '--- NA ---',
'open_hours_SAT_open' => '--- NA ---',
'open_hours_SUN_open' => '--- NA ---',
'open_hours_SUN_close' => null,
'can_deliver' => '0',
'can_carryout' => '0',
'can_schedule' => '0',
'rating' => '0.00',
'rating_qty' => '0',
'is_active' => '1',
'category_hero_image_default' => null,
'hero_image_default' => null,
'hero_banners' => null,
'hero_banners_json' => null,
'is_beelocalBusiness' => '0',
'last_updated' => null
)
)
$stmt = object(PDOStatement) {
queryString => 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
}
$businesses = array(
(int) 0 => array(
'category_id' => '171',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => 'BumbleBee Pizza',
'top_business_in_category_name_condensed' => 'BumbleBeePizza',
'top_business_in_category_city_full' => 'Fontana',
'top_business_in_category_city_condensed' => 'Fontana',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Ocotillo Cafe',
'top_business_in_category_name_condensed' => 'QuechanOcotilloCafe',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Casino Resort',
'top_business_in_category_name_condensed' => 'QuechanCasinoResort',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 8 => array(
'category_id' => '119',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'SmokeShop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Tomkinson, Wayne W, DDS',
'top_business_in_category_name_condensed' => 'TomkinsonWayneWDDS',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'T R Body Shop',
'top_business_in_category_name_condensed' => 'TRBodyShop',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8'
)
)
$stmt3 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Bard',
'cityCondensed' => 'Bard',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 1 => array(
'cityFullName' => 'Brawley',
'cityCondensed' => 'Brawley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 2 => array(
'cityFullName' => 'Calexico',
'cityCondensed' => 'Calexico',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 3 => array(
'cityFullName' => 'Calipatria',
'cityCondensed' => 'Calipatria',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 4 => array(
'cityFullName' => 'El Centro',
'cityCondensed' => 'ElCentro',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 5 => array(
'cityFullName' => 'Heber',
'cityCondensed' => 'Heber',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 6 => array(
'cityFullName' => 'Holtville',
'cityCondensed' => 'Holtville',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 7 => array(
'cityFullName' => 'Imperial',
'cityCondensed' => 'Imperial',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 8 => array(
'cityFullName' => 'Niland',
'cityCondensed' => 'Niland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 9 => array(
'cityFullName' => 'Ocotillo',
'cityCondensed' => 'Ocotillo',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 10 => array(
'cityFullName' => 'Palo Verde',
'cityCondensed' => 'PaloVerde',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 11 => array(
'cityFullName' => 'Salton City',
'cityCondensed' => 'SaltonCity',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 12 => array(
'cityFullName' => 'Seeley',
'cityCondensed' => 'Seeley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 13 => array(
'cityFullName' => 'Westmorland',
'cityCondensed' => 'Westmorland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 14 => array(
'cityFullName' => 'Winterhaven',
'cityCondensed' => 'Winterhaven',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
)
) BusinessProfile2Controller::id() - APP/Controller/BusinessProfile2Controller.php, line 293
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108 Notice (8) : Undefined offset: 0 [APP/Controller/BusinessProfile2Controller.php , line 294 ]Code Context { $imageID = $this -> params [ 'url' ][ "iid" ]; }
$this -> set ( 'cityName' , $bizProf0 [ 0 ][ "city_name" ] );
$this -> set ( 'cityNameCondensed' , $bizProf0 [ 0 ][ "city_name" ] );
$_routeParam5 = ''
$url = '/city-of-brawley/imperial-county/ca/'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-brawley',
(int) 2 => 'imperial-county',
(int) 3 => 'ca',
(int) 4 => ''
)
$_routeParam1Orig = 'city-of-brawley'
$_routeParam2Orig = 'imperial-county'
$_routeParam3Orig = 'ca'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofbrawley'
$_routeParam2 = 'imperialcounty'
$_routeParam3 = 'ca'
$_routeParam4 = ''
$_ipAddress = '172.71.158.168'
$conn = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$conn2 = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$queryBusinesses = ''
$queryTopCategories = ''
$bizProf = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$imageID = ''
$query0 = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
$stmt0 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
}
$bizProf0 = array()
$queryTopCities = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
$_city = 'brawley'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='ca' and city_condensed='brawley' LIMIT 1'
$queryTopBusinesses = 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
$queryTopCatPerCity = 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10 '
$queryTopCatPerCounty = 'SELECT DISTINCT state,
top_business_in_category_city_full as city_name , top_business_in_category_city_condensed as city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_county
WHERE state='ca' and county_condensed='imperialcounty'
ORDER BY category_rank_index LIMIT 10 '
$stmt2 = object(PDOStatement) {
queryString => 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '736354',
'id_hashed' => 'df60f2f50ffc95debe3032396d1d1047',
'business_id' => '742163',
'business_id_hashed' => '0b6dd0c2b620fd7c725c62d75a41c704',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '252',
'category' => 'Mortuaries',
'category_condensed' => 'Mortuaries',
'name' => 'Frye Chapel & Mortuary Crematory',
'name_condensed' => 'FryeChapelMortuaryCrematory',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '799 S Brawley Ave',
'address2' => '',
'city' => 'Brawley',
'city_condensed' => 'Brawley',
'state' => 'CA',
'zip' => '92227',
'county' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '32.9681359',
'longitude' => '-115.5464181',
'geolocation' => '32.9681359, -115.5464181',
'serves_food' => '0',
'SEO_pagetitle' => null,
'SEO_meta_description' => null,
'SEO_profile_meta_title' => '0',
'SEO_profile_meta_keywords' => '',
'SEO_profile_meta_description' => '',
'SEO_profile_cities' => '',
'SEO_webpage_meta_title' => '',
'SEO_webpage_meta_keywords' => '',
'SEO_webpage_meta_description' => '',
'SEO_webpage_cities' => '',
'copyright_text' => '',
'googlemaps_API' => '',
'googlemaps_streetview_lat' => '',
'googlemaps_streetview_lon' => '',
'googlemaps_streetview_heading' => '0',
'googlemaps_streetview_pitch' => '0',
'googlemaps_streetview_zoom' => '2',
'phone' => '(760) 545-5582',
'phone_functional' => '7605455582',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://www.fryechapel.net',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/CA/Brawley/Mortuaries/FryeChapelMortuaryCrematory/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Mortuaries Mortuariess ',
'related' => '',
'background_image' => '/img/common/bak_default.png',
'custom_background_image' => '0',
'headerPanel_useGradient' => '1',
'enable_headerBusinessName' => '1',
'header_mobile_title' => null,
'enable_mobileapp' => '0',
'header_services_title' => '',
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => '',
'enable_products' => '0',
'header_gallery_title' => '',
'enable_gallery' => '0',
'enable_videos' => '0',
'header_promotions_title' => null,
'enable_promotions' => '0',
'header_about_title' => null,
'enable_about' => '0',
'enable_faq' => '0',
'header_social_title' => null,
'enable_social_links' => '0',
'header_location_title' => null,
'enable_location' => '1',
'header_contact_title' => 'Contact Us',
'enable_contact' => '0',
'enable_appointments' => '0',
'header_staff_title' => null,
'enable_staff' => '0',
'label_mobile_app' => 'Mobile App',
'label_services' => 'Services',
'label_gallery' => 'Gallery',
'label_videos' => 'Videos',
'label_promotions' => 'Promos',
'label_about' => 'About',
'label_faq' => 'FAQ',
'label_location' => 'Location',
'label_contact' => 'Contact',
'label_appointments' => 'Appointments',
'color_headerpanel_background_color' => 'ffffff',
'use_businessname_logo_only' => '0',
'color_businessname' => '000000',
'color_businessname_subtext' => 'E7E7E7',
'color_nav_font' => '000000',
'color_background_1' => 'ffffff',
'color_background_2' => '5e7384',
'color_background_3' => '7b8b9b',
'color_background_4' => 'f7f7f7',
'color_background_5' => '798a8b',
'color_foreground' => 'c7c9d4',
'color_text_description' => 'b8b8b8',
'color_mobile_header_text' => 'd7d9e0',
'color_headertext_testimonials' => 'e9eaee',
'color_text_testimonials' => 'ffffff',
'color_subtext_testimonials' => 'a7a7a7',
'color_background_testimonials' => '000000',
'color_mobile_bulletpoints_text' => 'e9eaee',
'mobile_app_image_url' => null,
'mobile_app_apple_url' => 'https://itunes.apple.com/ ',
'mobile_app_android_url' => null,
'mobile_header' => 'GO MOBILE WITH OUR NEW APP FOR iOS AND ANDROID.',
'mobile_bulletpoint_1' => 'Get the Best Deals!',
'mobile_bulletpoint_2' => 'Appointments',
'mobile_bulletpoint_3' => 'Exclusive Events',
'mobile_bulletpoint_4' => 'Stay Connected',
'social_facebook_page' => null,
'social_twitter_page' => null,
'social_pinterest_page' => null,
'social_youtube_page' => null,
'social_instagram_page' => null,
'social_googleplus_page' => null,
'social_beelocal_page' => null,
'social_linkedin_page' => null,
'social_personal_page_facebook' => null,
'social_personal_page_twitter' => null,
'social_personal_page_pinterest' => null,
'social_personal_page_youtube' => null,
'social_personal_page_instagram' => null,
'social_personal_page_googleplus' => null,
'social_personal_page_beelocal' => null,
'social_personal_page_linkedin' => null,
'social_facebook_url_active' => '0',
'social_twitter_url_active' => '0',
'social_pinterest_url_active' => '0',
'social_youtube_url_active' => '0',
'social_instagram_url_active' => '0',
'social_googleplus_url_active' => '0',
'social_linkedin_url_active' => '0',
'social_personal_active_facebook' => '0',
'social_personal_active_twitter' => '0',
'social_personal_active_pinterest' => '0',
'social_personal_active_youtube' => '0',
'social_personal_active_instagram' => '0',
'social_personal_active_googleplus' => '0',
'social_personal_active_beelocal' => '0',
'social_personal_active_linkedin' => '0',
'gallery_default_image' => null,
'logo_50x50' => null,
'logo_150x100' => null,
'logo_portal' => null,
'display_hours' => '0',
'open_hours_MF_open' => '--- NA ---',
'open_hours_MF_close' => '--- NA ---',
'open_hours_SAT_close' => '--- NA ---',
'open_hours_SAT_open' => '--- NA ---',
'open_hours_SUN_open' => '--- NA ---',
'open_hours_SUN_close' => null,
'can_deliver' => '0',
'can_carryout' => '0',
'can_schedule' => '0',
'rating' => '0.00',
'rating_qty' => '0',
'is_active' => '1',
'category_hero_image_default' => null,
'hero_image_default' => null,
'hero_banners' => null,
'hero_banners_json' => null,
'is_beelocalBusiness' => '0',
'last_updated' => null
)
)
$stmt = object(PDOStatement) {
queryString => 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
}
$businesses = array(
(int) 0 => array(
'category_id' => '171',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => 'BumbleBee Pizza',
'top_business_in_category_name_condensed' => 'BumbleBeePizza',
'top_business_in_category_city_full' => 'Fontana',
'top_business_in_category_city_condensed' => 'Fontana',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Ocotillo Cafe',
'top_business_in_category_name_condensed' => 'QuechanOcotilloCafe',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Casino Resort',
'top_business_in_category_name_condensed' => 'QuechanCasinoResort',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 8 => array(
'category_id' => '119',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'SmokeShop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Tomkinson, Wayne W, DDS',
'top_business_in_category_name_condensed' => 'TomkinsonWayneWDDS',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'T R Body Shop',
'top_business_in_category_name_condensed' => 'TRBodyShop',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8'
)
)
$stmt3 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Bard',
'cityCondensed' => 'Bard',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 1 => array(
'cityFullName' => 'Brawley',
'cityCondensed' => 'Brawley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 2 => array(
'cityFullName' => 'Calexico',
'cityCondensed' => 'Calexico',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 3 => array(
'cityFullName' => 'Calipatria',
'cityCondensed' => 'Calipatria',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 4 => array(
'cityFullName' => 'El Centro',
'cityCondensed' => 'ElCentro',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 5 => array(
'cityFullName' => 'Heber',
'cityCondensed' => 'Heber',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 6 => array(
'cityFullName' => 'Holtville',
'cityCondensed' => 'Holtville',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 7 => array(
'cityFullName' => 'Imperial',
'cityCondensed' => 'Imperial',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 8 => array(
'cityFullName' => 'Niland',
'cityCondensed' => 'Niland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 9 => array(
'cityFullName' => 'Ocotillo',
'cityCondensed' => 'Ocotillo',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 10 => array(
'cityFullName' => 'Palo Verde',
'cityCondensed' => 'PaloVerde',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 11 => array(
'cityFullName' => 'Salton City',
'cityCondensed' => 'SaltonCity',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 12 => array(
'cityFullName' => 'Seeley',
'cityCondensed' => 'Seeley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 13 => array(
'cityFullName' => 'Westmorland',
'cityCondensed' => 'Westmorland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 14 => array(
'cityFullName' => 'Winterhaven',
'cityCondensed' => 'Winterhaven',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
)
) BusinessProfile2Controller::id() - APP/Controller/BusinessProfile2Controller.php, line 294
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108 Notice (8) : Undefined offset: 0 [APP/Controller/BusinessProfile2Controller.php , line 301 ]Code Context $this -> set ( 'Cities' , $topCities );
$this -> set ( 'hasResultsCSS' , " " );
$this -> set ( 'Places' , "<a href='/ $_routeParam2Orig / $_routeParam3 '>" . $bizProf0 [ 0 ][ "county_name" ] . "</a>" );
$_routeParam5 = ''
$url = '/city-of-brawley/imperial-county/ca/'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-brawley',
(int) 2 => 'imperial-county',
(int) 3 => 'ca',
(int) 4 => ''
)
$_routeParam1Orig = 'city-of-brawley'
$_routeParam2Orig = 'imperial-county'
$_routeParam3Orig = 'ca'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofbrawley'
$_routeParam2 = 'imperialcounty'
$_routeParam3 = 'ca'
$_routeParam4 = ''
$_ipAddress = '172.71.158.168'
$conn = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$conn2 = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$queryBusinesses = ''
$queryTopCategories = ''
$bizProf = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$imageID = ''
$query0 = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
$stmt0 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
}
$bizProf0 = array()
$queryTopCities = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
$_city = 'brawley'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='ca' and city_condensed='brawley' LIMIT 1'
$queryTopBusinesses = 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
$queryTopCatPerCity = 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10 '
$queryTopCatPerCounty = 'SELECT DISTINCT state,
top_business_in_category_city_full as city_name , top_business_in_category_city_condensed as city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_county
WHERE state='ca' and county_condensed='imperialcounty'
ORDER BY category_rank_index LIMIT 10 '
$stmt2 = object(PDOStatement) {
queryString => 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '736354',
'id_hashed' => 'df60f2f50ffc95debe3032396d1d1047',
'business_id' => '742163',
'business_id_hashed' => '0b6dd0c2b620fd7c725c62d75a41c704',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '252',
'category' => 'Mortuaries',
'category_condensed' => 'Mortuaries',
'name' => 'Frye Chapel & Mortuary Crematory',
'name_condensed' => 'FryeChapelMortuaryCrematory',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '799 S Brawley Ave',
'address2' => '',
'city' => 'Brawley',
'city_condensed' => 'Brawley',
'state' => 'CA',
'zip' => '92227',
'county' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '32.9681359',
'longitude' => '-115.5464181',
'geolocation' => '32.9681359, -115.5464181',
'serves_food' => '0',
'SEO_pagetitle' => null,
'SEO_meta_description' => null,
'SEO_profile_meta_title' => '0',
'SEO_profile_meta_keywords' => '',
'SEO_profile_meta_description' => '',
'SEO_profile_cities' => '',
'SEO_webpage_meta_title' => '',
'SEO_webpage_meta_keywords' => '',
'SEO_webpage_meta_description' => '',
'SEO_webpage_cities' => '',
'copyright_text' => '',
'googlemaps_API' => '',
'googlemaps_streetview_lat' => '',
'googlemaps_streetview_lon' => '',
'googlemaps_streetview_heading' => '0',
'googlemaps_streetview_pitch' => '0',
'googlemaps_streetview_zoom' => '2',
'phone' => '(760) 545-5582',
'phone_functional' => '7605455582',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://www.fryechapel.net',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/CA/Brawley/Mortuaries/FryeChapelMortuaryCrematory/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Mortuaries Mortuariess ',
'related' => '',
'background_image' => '/img/common/bak_default.png',
'custom_background_image' => '0',
'headerPanel_useGradient' => '1',
'enable_headerBusinessName' => '1',
'header_mobile_title' => null,
'enable_mobileapp' => '0',
'header_services_title' => '',
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => '',
'enable_products' => '0',
'header_gallery_title' => '',
'enable_gallery' => '0',
'enable_videos' => '0',
'header_promotions_title' => null,
'enable_promotions' => '0',
'header_about_title' => null,
'enable_about' => '0',
'enable_faq' => '0',
'header_social_title' => null,
'enable_social_links' => '0',
'header_location_title' => null,
'enable_location' => '1',
'header_contact_title' => 'Contact Us',
'enable_contact' => '0',
'enable_appointments' => '0',
'header_staff_title' => null,
'enable_staff' => '0',
'label_mobile_app' => 'Mobile App',
'label_services' => 'Services',
'label_gallery' => 'Gallery',
'label_videos' => 'Videos',
'label_promotions' => 'Promos',
'label_about' => 'About',
'label_faq' => 'FAQ',
'label_location' => 'Location',
'label_contact' => 'Contact',
'label_appointments' => 'Appointments',
'color_headerpanel_background_color' => 'ffffff',
'use_businessname_logo_only' => '0',
'color_businessname' => '000000',
'color_businessname_subtext' => 'E7E7E7',
'color_nav_font' => '000000',
'color_background_1' => 'ffffff',
'color_background_2' => '5e7384',
'color_background_3' => '7b8b9b',
'color_background_4' => 'f7f7f7',
'color_background_5' => '798a8b',
'color_foreground' => 'c7c9d4',
'color_text_description' => 'b8b8b8',
'color_mobile_header_text' => 'd7d9e0',
'color_headertext_testimonials' => 'e9eaee',
'color_text_testimonials' => 'ffffff',
'color_subtext_testimonials' => 'a7a7a7',
'color_background_testimonials' => '000000',
'color_mobile_bulletpoints_text' => 'e9eaee',
'mobile_app_image_url' => null,
'mobile_app_apple_url' => 'https://itunes.apple.com/ ',
'mobile_app_android_url' => null,
'mobile_header' => 'GO MOBILE WITH OUR NEW APP FOR iOS AND ANDROID.',
'mobile_bulletpoint_1' => 'Get the Best Deals!',
'mobile_bulletpoint_2' => 'Appointments',
'mobile_bulletpoint_3' => 'Exclusive Events',
'mobile_bulletpoint_4' => 'Stay Connected',
'social_facebook_page' => null,
'social_twitter_page' => null,
'social_pinterest_page' => null,
'social_youtube_page' => null,
'social_instagram_page' => null,
'social_googleplus_page' => null,
'social_beelocal_page' => null,
'social_linkedin_page' => null,
'social_personal_page_facebook' => null,
'social_personal_page_twitter' => null,
'social_personal_page_pinterest' => null,
'social_personal_page_youtube' => null,
'social_personal_page_instagram' => null,
'social_personal_page_googleplus' => null,
'social_personal_page_beelocal' => null,
'social_personal_page_linkedin' => null,
'social_facebook_url_active' => '0',
'social_twitter_url_active' => '0',
'social_pinterest_url_active' => '0',
'social_youtube_url_active' => '0',
'social_instagram_url_active' => '0',
'social_googleplus_url_active' => '0',
'social_linkedin_url_active' => '0',
'social_personal_active_facebook' => '0',
'social_personal_active_twitter' => '0',
'social_personal_active_pinterest' => '0',
'social_personal_active_youtube' => '0',
'social_personal_active_instagram' => '0',
'social_personal_active_googleplus' => '0',
'social_personal_active_beelocal' => '0',
'social_personal_active_linkedin' => '0',
'gallery_default_image' => null,
'logo_50x50' => null,
'logo_150x100' => null,
'logo_portal' => null,
'display_hours' => '0',
'open_hours_MF_open' => '--- NA ---',
'open_hours_MF_close' => '--- NA ---',
'open_hours_SAT_close' => '--- NA ---',
'open_hours_SAT_open' => '--- NA ---',
'open_hours_SUN_open' => '--- NA ---',
'open_hours_SUN_close' => null,
'can_deliver' => '0',
'can_carryout' => '0',
'can_schedule' => '0',
'rating' => '0.00',
'rating_qty' => '0',
'is_active' => '1',
'category_hero_image_default' => null,
'hero_image_default' => null,
'hero_banners' => null,
'hero_banners_json' => null,
'is_beelocalBusiness' => '0',
'last_updated' => null
)
)
$stmt = object(PDOStatement) {
queryString => 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
}
$businesses = array(
(int) 0 => array(
'category_id' => '171',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => 'BumbleBee Pizza',
'top_business_in_category_name_condensed' => 'BumbleBeePizza',
'top_business_in_category_city_full' => 'Fontana',
'top_business_in_category_city_condensed' => 'Fontana',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Ocotillo Cafe',
'top_business_in_category_name_condensed' => 'QuechanOcotilloCafe',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Casino Resort',
'top_business_in_category_name_condensed' => 'QuechanCasinoResort',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 8 => array(
'category_id' => '119',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'SmokeShop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Tomkinson, Wayne W, DDS',
'top_business_in_category_name_condensed' => 'TomkinsonWayneWDDS',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'T R Body Shop',
'top_business_in_category_name_condensed' => 'TRBodyShop',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8'
)
)
$stmt3 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Bard',
'cityCondensed' => 'Bard',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 1 => array(
'cityFullName' => 'Brawley',
'cityCondensed' => 'Brawley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 2 => array(
'cityFullName' => 'Calexico',
'cityCondensed' => 'Calexico',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 3 => array(
'cityFullName' => 'Calipatria',
'cityCondensed' => 'Calipatria',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 4 => array(
'cityFullName' => 'El Centro',
'cityCondensed' => 'ElCentro',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 5 => array(
'cityFullName' => 'Heber',
'cityCondensed' => 'Heber',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 6 => array(
'cityFullName' => 'Holtville',
'cityCondensed' => 'Holtville',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 7 => array(
'cityFullName' => 'Imperial',
'cityCondensed' => 'Imperial',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 8 => array(
'cityFullName' => 'Niland',
'cityCondensed' => 'Niland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 9 => array(
'cityFullName' => 'Ocotillo',
'cityCondensed' => 'Ocotillo',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 10 => array(
'cityFullName' => 'Palo Verde',
'cityCondensed' => 'PaloVerde',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 11 => array(
'cityFullName' => 'Salton City',
'cityCondensed' => 'SaltonCity',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 12 => array(
'cityFullName' => 'Seeley',
'cityCondensed' => 'Seeley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 13 => array(
'cityFullName' => 'Westmorland',
'cityCondensed' => 'Westmorland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 14 => array(
'cityFullName' => 'Winterhaven',
'cityCondensed' => 'Winterhaven',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
)
) BusinessProfile2Controller::id() - APP/Controller/BusinessProfile2Controller.php, line 301
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108 Notice (8) : Undefined offset: 0 [APP/Controller/BusinessProfile2Controller.php , line 302 ]Code Context $this -> set ( 'hasResultsCSS' , " " );
$this -> set ( 'Places' , "<a href='/ $_routeParam2Orig / $_routeParam3 '>" . $bizProf0 [ 0 ][ "county_name" ] . "</a>" );
$this -> set ( 'resultsHeaderTitle' , "Top Best Favorite Local Busineses in<br> " . $bizProf0 [ 0 ][ "city_name" ] );
$_routeParam5 = ''
$url = '/city-of-brawley/imperial-county/ca/'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-brawley',
(int) 2 => 'imperial-county',
(int) 3 => 'ca',
(int) 4 => ''
)
$_routeParam1Orig = 'city-of-brawley'
$_routeParam2Orig = 'imperial-county'
$_routeParam3Orig = 'ca'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofbrawley'
$_routeParam2 = 'imperialcounty'
$_routeParam3 = 'ca'
$_routeParam4 = ''
$_ipAddress = '172.71.158.168'
$conn = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$conn2 = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$queryBusinesses = ''
$queryTopCategories = ''
$bizProf = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$imageID = ''
$query0 = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
$stmt0 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
}
$bizProf0 = array()
$queryTopCities = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
$_city = 'brawley'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='ca' and city_condensed='brawley' LIMIT 1'
$queryTopBusinesses = 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
$queryTopCatPerCity = 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10 '
$queryTopCatPerCounty = 'SELECT DISTINCT state,
top_business_in_category_city_full as city_name , top_business_in_category_city_condensed as city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_county
WHERE state='ca' and county_condensed='imperialcounty'
ORDER BY category_rank_index LIMIT 10 '
$stmt2 = object(PDOStatement) {
queryString => 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '736354',
'id_hashed' => 'df60f2f50ffc95debe3032396d1d1047',
'business_id' => '742163',
'business_id_hashed' => '0b6dd0c2b620fd7c725c62d75a41c704',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '252',
'category' => 'Mortuaries',
'category_condensed' => 'Mortuaries',
'name' => 'Frye Chapel & Mortuary Crematory',
'name_condensed' => 'FryeChapelMortuaryCrematory',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '799 S Brawley Ave',
'address2' => '',
'city' => 'Brawley',
'city_condensed' => 'Brawley',
'state' => 'CA',
'zip' => '92227',
'county' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '32.9681359',
'longitude' => '-115.5464181',
'geolocation' => '32.9681359, -115.5464181',
'serves_food' => '0',
'SEO_pagetitle' => null,
'SEO_meta_description' => null,
'SEO_profile_meta_title' => '0',
'SEO_profile_meta_keywords' => '',
'SEO_profile_meta_description' => '',
'SEO_profile_cities' => '',
'SEO_webpage_meta_title' => '',
'SEO_webpage_meta_keywords' => '',
'SEO_webpage_meta_description' => '',
'SEO_webpage_cities' => '',
'copyright_text' => '',
'googlemaps_API' => '',
'googlemaps_streetview_lat' => '',
'googlemaps_streetview_lon' => '',
'googlemaps_streetview_heading' => '0',
'googlemaps_streetview_pitch' => '0',
'googlemaps_streetview_zoom' => '2',
'phone' => '(760) 545-5582',
'phone_functional' => '7605455582',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://www.fryechapel.net',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/CA/Brawley/Mortuaries/FryeChapelMortuaryCrematory/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Mortuaries Mortuariess ',
'related' => '',
'background_image' => '/img/common/bak_default.png',
'custom_background_image' => '0',
'headerPanel_useGradient' => '1',
'enable_headerBusinessName' => '1',
'header_mobile_title' => null,
'enable_mobileapp' => '0',
'header_services_title' => '',
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => '',
'enable_products' => '0',
'header_gallery_title' => '',
'enable_gallery' => '0',
'enable_videos' => '0',
'header_promotions_title' => null,
'enable_promotions' => '0',
'header_about_title' => null,
'enable_about' => '0',
'enable_faq' => '0',
'header_social_title' => null,
'enable_social_links' => '0',
'header_location_title' => null,
'enable_location' => '1',
'header_contact_title' => 'Contact Us',
'enable_contact' => '0',
'enable_appointments' => '0',
'header_staff_title' => null,
'enable_staff' => '0',
'label_mobile_app' => 'Mobile App',
'label_services' => 'Services',
'label_gallery' => 'Gallery',
'label_videos' => 'Videos',
'label_promotions' => 'Promos',
'label_about' => 'About',
'label_faq' => 'FAQ',
'label_location' => 'Location',
'label_contact' => 'Contact',
'label_appointments' => 'Appointments',
'color_headerpanel_background_color' => 'ffffff',
'use_businessname_logo_only' => '0',
'color_businessname' => '000000',
'color_businessname_subtext' => 'E7E7E7',
'color_nav_font' => '000000',
'color_background_1' => 'ffffff',
'color_background_2' => '5e7384',
'color_background_3' => '7b8b9b',
'color_background_4' => 'f7f7f7',
'color_background_5' => '798a8b',
'color_foreground' => 'c7c9d4',
'color_text_description' => 'b8b8b8',
'color_mobile_header_text' => 'd7d9e0',
'color_headertext_testimonials' => 'e9eaee',
'color_text_testimonials' => 'ffffff',
'color_subtext_testimonials' => 'a7a7a7',
'color_background_testimonials' => '000000',
'color_mobile_bulletpoints_text' => 'e9eaee',
'mobile_app_image_url' => null,
'mobile_app_apple_url' => 'https://itunes.apple.com/ ',
'mobile_app_android_url' => null,
'mobile_header' => 'GO MOBILE WITH OUR NEW APP FOR iOS AND ANDROID.',
'mobile_bulletpoint_1' => 'Get the Best Deals!',
'mobile_bulletpoint_2' => 'Appointments',
'mobile_bulletpoint_3' => 'Exclusive Events',
'mobile_bulletpoint_4' => 'Stay Connected',
'social_facebook_page' => null,
'social_twitter_page' => null,
'social_pinterest_page' => null,
'social_youtube_page' => null,
'social_instagram_page' => null,
'social_googleplus_page' => null,
'social_beelocal_page' => null,
'social_linkedin_page' => null,
'social_personal_page_facebook' => null,
'social_personal_page_twitter' => null,
'social_personal_page_pinterest' => null,
'social_personal_page_youtube' => null,
'social_personal_page_instagram' => null,
'social_personal_page_googleplus' => null,
'social_personal_page_beelocal' => null,
'social_personal_page_linkedin' => null,
'social_facebook_url_active' => '0',
'social_twitter_url_active' => '0',
'social_pinterest_url_active' => '0',
'social_youtube_url_active' => '0',
'social_instagram_url_active' => '0',
'social_googleplus_url_active' => '0',
'social_linkedin_url_active' => '0',
'social_personal_active_facebook' => '0',
'social_personal_active_twitter' => '0',
'social_personal_active_pinterest' => '0',
'social_personal_active_youtube' => '0',
'social_personal_active_instagram' => '0',
'social_personal_active_googleplus' => '0',
'social_personal_active_beelocal' => '0',
'social_personal_active_linkedin' => '0',
'gallery_default_image' => null,
'logo_50x50' => null,
'logo_150x100' => null,
'logo_portal' => null,
'display_hours' => '0',
'open_hours_MF_open' => '--- NA ---',
'open_hours_MF_close' => '--- NA ---',
'open_hours_SAT_close' => '--- NA ---',
'open_hours_SAT_open' => '--- NA ---',
'open_hours_SUN_open' => '--- NA ---',
'open_hours_SUN_close' => null,
'can_deliver' => '0',
'can_carryout' => '0',
'can_schedule' => '0',
'rating' => '0.00',
'rating_qty' => '0',
'is_active' => '1',
'category_hero_image_default' => null,
'hero_image_default' => null,
'hero_banners' => null,
'hero_banners_json' => null,
'is_beelocalBusiness' => '0',
'last_updated' => null
)
)
$stmt = object(PDOStatement) {
queryString => 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
}
$businesses = array(
(int) 0 => array(
'category_id' => '171',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => 'BumbleBee Pizza',
'top_business_in_category_name_condensed' => 'BumbleBeePizza',
'top_business_in_category_city_full' => 'Fontana',
'top_business_in_category_city_condensed' => 'Fontana',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Ocotillo Cafe',
'top_business_in_category_name_condensed' => 'QuechanOcotilloCafe',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Casino Resort',
'top_business_in_category_name_condensed' => 'QuechanCasinoResort',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 8 => array(
'category_id' => '119',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'SmokeShop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Tomkinson, Wayne W, DDS',
'top_business_in_category_name_condensed' => 'TomkinsonWayneWDDS',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'T R Body Shop',
'top_business_in_category_name_condensed' => 'TRBodyShop',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8'
)
)
$stmt3 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Bard',
'cityCondensed' => 'Bard',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 1 => array(
'cityFullName' => 'Brawley',
'cityCondensed' => 'Brawley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 2 => array(
'cityFullName' => 'Calexico',
'cityCondensed' => 'Calexico',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 3 => array(
'cityFullName' => 'Calipatria',
'cityCondensed' => 'Calipatria',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 4 => array(
'cityFullName' => 'El Centro',
'cityCondensed' => 'ElCentro',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 5 => array(
'cityFullName' => 'Heber',
'cityCondensed' => 'Heber',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 6 => array(
'cityFullName' => 'Holtville',
'cityCondensed' => 'Holtville',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 7 => array(
'cityFullName' => 'Imperial',
'cityCondensed' => 'Imperial',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 8 => array(
'cityFullName' => 'Niland',
'cityCondensed' => 'Niland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 9 => array(
'cityFullName' => 'Ocotillo',
'cityCondensed' => 'Ocotillo',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 10 => array(
'cityFullName' => 'Palo Verde',
'cityCondensed' => 'PaloVerde',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 11 => array(
'cityFullName' => 'Salton City',
'cityCondensed' => 'SaltonCity',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 12 => array(
'cityFullName' => 'Seeley',
'cityCondensed' => 'Seeley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 13 => array(
'cityFullName' => 'Westmorland',
'cityCondensed' => 'Westmorland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 14 => array(
'cityFullName' => 'Winterhaven',
'cityCondensed' => 'Winterhaven',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
)
) BusinessProfile2Controller::id() - APP/Controller/BusinessProfile2Controller.php, line 302
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108 Notice (8) : Undefined offset: 0 [APP/Controller/BusinessProfile2Controller.php , line 303 ]Code Context $this -> set ( 'Places' , "<a href='/ $_routeParam2Orig / $_routeParam3 '>" . $bizProf0 [ 0 ][ "county_name" ] . "</a>" );
$this -> set ( 'resultsHeaderTitle' , "Top Best Favorite Local Busineses in<br> " . $bizProf0 [ 0 ][ "city_name" ] );
$this -> set ( 'title' , 'Top 10 Best Favorite Businesses in ' . $bizProf0 [ 0 ][ "city_name" ] . ', ' . strtoupper ( $_routeParam3 ) . ' on Beelocal' );
$_routeParam5 = ''
$url = '/city-of-brawley/imperial-county/ca/'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-brawley',
(int) 2 => 'imperial-county',
(int) 3 => 'ca',
(int) 4 => ''
)
$_routeParam1Orig = 'city-of-brawley'
$_routeParam2Orig = 'imperial-county'
$_routeParam3Orig = 'ca'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofbrawley'
$_routeParam2 = 'imperialcounty'
$_routeParam3 = 'ca'
$_routeParam4 = ''
$_ipAddress = '172.71.158.168'
$conn = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$conn2 = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$queryBusinesses = ''
$queryTopCategories = ''
$bizProf = object(Mysql) {
description => 'MySQL DBO Driver'
startQuote => '`'
endQuote => '`'
fieldParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'comment' => array(
[maximum depth reached]
)
)
tableParameters => array(
'charset' => array(
[maximum depth reached]
),
'collate' => array(
[maximum depth reached]
),
'engine' => array(
[maximum depth reached]
)
)
columns => array(
'primary_key' => array(
[maximum depth reached]
),
'string' => array(
[maximum depth reached]
),
'text' => array(
[maximum depth reached]
),
'biginteger' => array(
[maximum depth reached]
),
'integer' => array(
[maximum depth reached]
),
'float' => array(
[maximum depth reached]
),
'datetime' => array(
[maximum depth reached]
),
'timestamp' => array(
[maximum depth reached]
),
'time' => array(
[maximum depth reached]
),
'date' => array(
[maximum depth reached]
),
'binary' => array(
[maximum depth reached]
),
'boolean' => array(
[maximum depth reached]
)
)
index => array(
'PRI' => 'primary',
'MUL' => 'index',
'UNI' => 'unique'
)
alias => 'AS '
cacheMethods => true
useNestedTransactions => false
fullDebug => true
affected => (int) 15
numRows => (int) 15
took => (float) 1
configKeyName => 'default'
virtualFieldSeparator => '__'
connected => true
config => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'persistent' => false,
'datasource' => 'Database/Mysql'
)
cacheSources => true
[protected] _baseConfig => array(
'password' => '*****',
'login' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'persistent' => true
)
[protected] _connection => object(PDO) {}
[protected] _useAlias => true
[protected] _charsets => array()
[protected] _result => object(PDOStatement) {}
[protected] _queriesCnt => (int) 5
[protected] _queriesTime => (float) 17
[protected] _queriesLog => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
)
)
[protected] _queriesLogMax => (int) 200
[protected] _queryCache => array()
[protected] _sqlOps => array(
(int) 0 => 'like',
(int) 1 => 'ilike',
(int) 2 => 'or',
(int) 3 => 'not',
(int) 4 => 'in',
(int) 5 => 'between',
(int) 6 => 'regexp',
(int) 7 => 'similar to'
)
[protected] _transactionNesting => (int) 0
[protected] _queryDefaults => array(
'conditions' => array([maximum depth reached]),
'fields' => null,
'table' => null,
'alias' => null,
'order' => null,
'limit' => null,
'joins' => array([maximum depth reached]),
'group' => null,
'offset' => null
)
[protected] _methodCacheChange => true
[protected] _descriptions => array()
[protected] _sources => array(
(int) 0 => '_CACOUNTIES',
(int) 1 => '_OLD_bl_business_category',
(int) 2 => '_bak_blch_business',
(int) 3 => '_bak_blch_business_2013_10_18',
(int) 4 => '_temp',
(int) 5 => 'bak_bl_business_registration',
(int) 6 => 'bl_GHS_application_account_activity_per_user',
(int) 7 => 'bl_TOS',
(int) 8 => 'bl_admin_user',
(int) 9 => 'bl_app_contact',
(int) 10 => 'bl_app_event',
(int) 11 => 'bl_app_event_per_user',
(int) 12 => 'bl_app_localized_content',
(int) 13 => 'bl_app_mobile_pushnotifications_user',
(int) 14 => 'bl_app_newsletter',
(int) 15 => 'bl_app_prelaunch_analytics',
(int) 16 => 'bl_app_prelaunch_contact',
(int) 17 => 'bl_app_pushnotification',
(int) 18 => 'bl_app_ratereview',
(int) 19 => 'bl_app_user',
(int) 20 => 'bl_app_user_inbox',
(int) 21 => 'bl_application',
(int) 22 => 'bl_biz_formContactSubmittal',
(int) 23 => 'bl_bus_order_per_business',
(int) 24 => 'bl_business',
(int) 25 => 'bl_business_aboutus_herobanner_media',
(int) 26 => 'bl_business_aboutus_subview_media',
(int) 27 => 'bl_business_appointment_request',
(int) 28 => 'bl_business_banner',
(int) 29 => 'bl_business_cart_item_per_user',
(int) 30 => 'bl_business_cart_per_user',
(int) 31 => 'bl_business_category',
(int) 32 => 'bl_business_content',
(int) 33 => 'bl_business_deal',
(int) 34 => 'bl_business_deals_herobanner',
(int) 35 => 'bl_business_featured_category_per_region',
(int) 36 => 'bl_business_food_category',
(int) 37 => 'bl_business_fooditem',
(int) 38 => 'bl_business_gallery_image_comment_per_user',
(int) 39 => 'bl_business_gallery_per_business',
(int) 40 => 'bl_business_gallery_per_user',
(int) 41 => 'bl_business_location',
(int) 42 => 'bl_business_manager',
(int) 43 => 'bl_business_order',
(int) 44 => 'bl_business_order_item',
(int) 45 => 'bl_business_per_manager',
(int) 46 => 'bl_business_product',
(int) 47 => 'bl_business_product_category',
(int) 48 => 'bl_business_product_disliked_per_user',
(int) 49 => 'bl_business_product_favorited_per_user',
(int) 50 => 'bl_business_product_followed_per_user',
(int) 51 => 'bl_business_product_image',
(int) 52 => 'bl_business_product_liked_per_user',
(int) 53 => 'bl_business_product_rating_per_user',
(int) 54 => 'bl_business_product_ratingreview_per_user',
(int) 55 => 'bl_business_product_subcategory',
(int) 56 => 'bl_business_profile',
(int) 57 => 'bl_business_profile_US_bak',
(int) 58 => 'bl_business_profile_fulltext',
(int) 59 => 'bl_business_promotion',
(int) 60 => 'bl_business_ratingreview_per_user',
(int) 61 => 'bl_business_registration',
(int) 62 => 'bl_business_service',
(int) 63 => 'bl_business_service_category',
(int) 64 => 'bl_business_service_image',
(int) 65 => 'bl_business_service_tree',
(int) 66 => 'bl_business_servicegallery_per_business',
(int) 67 => 'bl_business_staff',
(int) 68 => 'bl_business_testimonial_per_user',
(int) 69 => 'bl_city',
(int) 70 => 'bl_city_original',
(int) 71 => 'bl_city_zip_geo',
(int) 72 => 'bl_contact',
(int) 73 => 'bl_country',
(int) 74 => 'bl_county',
(int) 75 => 'bl_county_bak',
(int) 76 => 'bl_county_ops',
(int) 77 => 'bl_debug',
(int) 78 => 'bl_email_outgoing_queue',
(int) 79 => 'bl_email_template',
(int) 80 => 'bl_favorite_businesses_per_user',
(int) 81 => 'bl_image_server',
(int) 82 => 'bl_item',
(int) 83 => 'bl_menu',
(int) 84 => 'bl_mobile_account_activity_per_user',
(int) 85 => 'bl_onboarding_business_claim',
(int) 86 => 'bl_onboarding_transaction_log',
(int) 87 => 'bl_ops_storedproc_debug',
(int) 88 => 'bl_order',
(int) 89 => 'bl_order_item',
(int) 90 => 'bl_payment_method',
(int) 91 => 'bl_paymentmethod_per_business',
(int) 92 => 'bl_paymentmethod_per_user',
(int) 93 => 'bl_plan',
(int) 94 => 'bl_plan_details',
(int) 95 => 'bl_prelaunch_leads',
(int) 96 => 'bl_qrcode_request',
(int) 97 => 'bl_sql_error',
(int) 98 => 'bl_state',
(int) 99 => 'bl_subcategory',
(int) 100 => 'bl_subcategory_media_asset',
(int) 101 => 'bl_topcategories_per_city',
(int) 102 => 'bl_topcategories_per_county',
(int) 103 => 'bl_topcitiesincounty_per_category',
(int) 104 => 'bl_user',
(int) 105 => 'bl_zip_per_city',
(int) 106 => 'blplat_security_authorization_bizProfileComponent_per_userRole',
(int) 107 => 'blplat_security_bizProfileComponent',
(int) 108 => 'blplat_security_userRole',
(int) 109 => 'ops_business_staging',
(int) 110 => 'ops_category_mapping',
(int) 111 => 'ops_outstanding_gps_businesses',
(int) 112 => 'orig_bl_email_outgoing_queue'
)
[protected] _transactionStarted => false
}
$imageID = ''
$query0 = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
$stmt0 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='brawley'
ORDER BY city
LIMIT 30'
}
$bizProf0 = array()
$queryTopCities = 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
$_city = 'brawley'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='ca' and city_condensed='brawley' LIMIT 1'
$queryTopBusinesses = 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
$queryTopCatPerCity = 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10 '
$queryTopCatPerCounty = 'SELECT DISTINCT state,
top_business_in_category_city_full as city_name , top_business_in_category_city_condensed as city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_county
WHERE state='ca' and county_condensed='imperialcounty'
ORDER BY category_rank_index LIMIT 10 '
$stmt2 = object(PDOStatement) {
queryString => 'SELECT DISTINCT state,
city_name, city_condensed,
county_name, county_condensed,
category_name, category_condensed, category_rank_index
FROM bl_topcategories_per_city
WHERE state='ca' and county_condensed='imperialcounty'
and city_condensed='brawley' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '736354',
'id_hashed' => 'df60f2f50ffc95debe3032396d1d1047',
'business_id' => '742163',
'business_id_hashed' => '0b6dd0c2b620fd7c725c62d75a41c704',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '252',
'category' => 'Mortuaries',
'category_condensed' => 'Mortuaries',
'name' => 'Frye Chapel & Mortuary Crematory',
'name_condensed' => 'FryeChapelMortuaryCrematory',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '799 S Brawley Ave',
'address2' => '',
'city' => 'Brawley',
'city_condensed' => 'Brawley',
'state' => 'CA',
'zip' => '92227',
'county' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '32.9681359',
'longitude' => '-115.5464181',
'geolocation' => '32.9681359, -115.5464181',
'serves_food' => '0',
'SEO_pagetitle' => null,
'SEO_meta_description' => null,
'SEO_profile_meta_title' => '0',
'SEO_profile_meta_keywords' => '',
'SEO_profile_meta_description' => '',
'SEO_profile_cities' => '',
'SEO_webpage_meta_title' => '',
'SEO_webpage_meta_keywords' => '',
'SEO_webpage_meta_description' => '',
'SEO_webpage_cities' => '',
'copyright_text' => '',
'googlemaps_API' => '',
'googlemaps_streetview_lat' => '',
'googlemaps_streetview_lon' => '',
'googlemaps_streetview_heading' => '0',
'googlemaps_streetview_pitch' => '0',
'googlemaps_streetview_zoom' => '2',
'phone' => '(760) 545-5582',
'phone_functional' => '7605455582',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://www.fryechapel.net',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/CA/Brawley/Mortuaries/FryeChapelMortuaryCrematory/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Mortuaries Mortuariess ',
'related' => '',
'background_image' => '/img/common/bak_default.png',
'custom_background_image' => '0',
'headerPanel_useGradient' => '1',
'enable_headerBusinessName' => '1',
'header_mobile_title' => null,
'enable_mobileapp' => '0',
'header_services_title' => '',
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => '',
'enable_products' => '0',
'header_gallery_title' => '',
'enable_gallery' => '0',
'enable_videos' => '0',
'header_promotions_title' => null,
'enable_promotions' => '0',
'header_about_title' => null,
'enable_about' => '0',
'enable_faq' => '0',
'header_social_title' => null,
'enable_social_links' => '0',
'header_location_title' => null,
'enable_location' => '1',
'header_contact_title' => 'Contact Us',
'enable_contact' => '0',
'enable_appointments' => '0',
'header_staff_title' => null,
'enable_staff' => '0',
'label_mobile_app' => 'Mobile App',
'label_services' => 'Services',
'label_gallery' => 'Gallery',
'label_videos' => 'Videos',
'label_promotions' => 'Promos',
'label_about' => 'About',
'label_faq' => 'FAQ',
'label_location' => 'Location',
'label_contact' => 'Contact',
'label_appointments' => 'Appointments',
'color_headerpanel_background_color' => 'ffffff',
'use_businessname_logo_only' => '0',
'color_businessname' => '000000',
'color_businessname_subtext' => 'E7E7E7',
'color_nav_font' => '000000',
'color_background_1' => 'ffffff',
'color_background_2' => '5e7384',
'color_background_3' => '7b8b9b',
'color_background_4' => 'f7f7f7',
'color_background_5' => '798a8b',
'color_foreground' => 'c7c9d4',
'color_text_description' => 'b8b8b8',
'color_mobile_header_text' => 'd7d9e0',
'color_headertext_testimonials' => 'e9eaee',
'color_text_testimonials' => 'ffffff',
'color_subtext_testimonials' => 'a7a7a7',
'color_background_testimonials' => '000000',
'color_mobile_bulletpoints_text' => 'e9eaee',
'mobile_app_image_url' => null,
'mobile_app_apple_url' => 'https://itunes.apple.com/ ',
'mobile_app_android_url' => null,
'mobile_header' => 'GO MOBILE WITH OUR NEW APP FOR iOS AND ANDROID.',
'mobile_bulletpoint_1' => 'Get the Best Deals!',
'mobile_bulletpoint_2' => 'Appointments',
'mobile_bulletpoint_3' => 'Exclusive Events',
'mobile_bulletpoint_4' => 'Stay Connected',
'social_facebook_page' => null,
'social_twitter_page' => null,
'social_pinterest_page' => null,
'social_youtube_page' => null,
'social_instagram_page' => null,
'social_googleplus_page' => null,
'social_beelocal_page' => null,
'social_linkedin_page' => null,
'social_personal_page_facebook' => null,
'social_personal_page_twitter' => null,
'social_personal_page_pinterest' => null,
'social_personal_page_youtube' => null,
'social_personal_page_instagram' => null,
'social_personal_page_googleplus' => null,
'social_personal_page_beelocal' => null,
'social_personal_page_linkedin' => null,
'social_facebook_url_active' => '0',
'social_twitter_url_active' => '0',
'social_pinterest_url_active' => '0',
'social_youtube_url_active' => '0',
'social_instagram_url_active' => '0',
'social_googleplus_url_active' => '0',
'social_linkedin_url_active' => '0',
'social_personal_active_facebook' => '0',
'social_personal_active_twitter' => '0',
'social_personal_active_pinterest' => '0',
'social_personal_active_youtube' => '0',
'social_personal_active_instagram' => '0',
'social_personal_active_googleplus' => '0',
'social_personal_active_beelocal' => '0',
'social_personal_active_linkedin' => '0',
'gallery_default_image' => null,
'logo_50x50' => null,
'logo_150x100' => null,
'logo_portal' => null,
'display_hours' => '0',
'open_hours_MF_open' => '--- NA ---',
'open_hours_MF_close' => '--- NA ---',
'open_hours_SAT_close' => '--- NA ---',
'open_hours_SAT_open' => '--- NA ---',
'open_hours_SUN_open' => '--- NA ---',
'open_hours_SUN_close' => null,
'can_deliver' => '0',
'can_carryout' => '0',
'can_schedule' => '0',
'rating' => '0.00',
'rating_qty' => '0',
'is_active' => '1',
'category_hero_image_default' => null,
'hero_image_default' => null,
'hero_banners' => null,
'hero_banners_json' => null,
'is_beelocalBusiness' => '0',
'last_updated' => null
)
)
$stmt = object(PDOStatement) {
queryString => 'SELECT category_id,
category_name, category_condensed,
category_rank_index,
top_business_in_category_name_full,
top_business_in_category_name_condensed,
top_business_in_category_city_full,
top_business_in_category_city_condensed,
county_name, county_condensed, state
FROM bl_topcategories_per_city
WHERE county_condensed='imperialcounty' AND state ='ca'
AND city_condensed='brawley'
ORDER BY category_rank_index LIMIT 24'
}
$businesses = array(
(int) 0 => array(
'category_id' => '171',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => 'BumbleBee Pizza',
'top_business_in_category_name_condensed' => 'BumbleBeePizza',
'top_business_in_category_city_full' => 'Fontana',
'top_business_in_category_city_condensed' => 'Fontana',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Ocotillo Cafe',
'top_business_in_category_name_condensed' => 'QuechanOcotilloCafe',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Quechan Casino Resort',
'top_business_in_category_name_condensed' => 'QuechanCasinoResort',
'top_business_in_category_city_full' => 'Felicity',
'top_business_in_category_city_condensed' => 'Felicity',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 8 => array(
'category_id' => '119',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'SmokeShop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Tomkinson, Wayne W, DDS',
'top_business_in_category_name_condensed' => 'TomkinsonWayneWDDS',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'T R Body Shop',
'top_business_in_category_name_condensed' => 'TRBodyShop',
'top_business_in_category_city_full' => 'Winterhaven',
'top_business_in_category_city_condensed' => 'Winterhaven',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => '',
'top_business_in_category_name_condensed' => '',
'top_business_in_category_city_full' => '',
'top_business_in_category_city_condensed' => '',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'state' => 'CA'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'CA',
'city_name' => 'Brawley',
'city_condensed' => 'Brawley',
'county_name' => 'Imperial County',
'county_condensed' => 'ImperialCounty',
'category_name' => 'Massage Therapy/ Body Work',
'category_condensed' => 'MassageTherapyBodyWork',
'category_rank_index' => '8'
)
)
$stmt3 = object(PDOStatement) {
queryString => 'SELECT DISTINCT city as cityFullName, city_condensed as cityCondensed, county as countyFullName, county_condensed as countyCondensed, state_name as state
FROM bl_city
WHERE state_abbreviation='ca'
AND county_condensed='imperialcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Bard',
'cityCondensed' => 'Bard',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 1 => array(
'cityFullName' => 'Brawley',
'cityCondensed' => 'Brawley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 2 => array(
'cityFullName' => 'Calexico',
'cityCondensed' => 'Calexico',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 3 => array(
'cityFullName' => 'Calipatria',
'cityCondensed' => 'Calipatria',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 4 => array(
'cityFullName' => 'El Centro',
'cityCondensed' => 'ElCentro',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 5 => array(
'cityFullName' => 'Heber',
'cityCondensed' => 'Heber',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 6 => array(
'cityFullName' => 'Holtville',
'cityCondensed' => 'Holtville',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 7 => array(
'cityFullName' => 'Imperial',
'cityCondensed' => 'Imperial',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 8 => array(
'cityFullName' => 'Niland',
'cityCondensed' => 'Niland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 9 => array(
'cityFullName' => 'Ocotillo',
'cityCondensed' => 'Ocotillo',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 10 => array(
'cityFullName' => 'Palo Verde',
'cityCondensed' => 'PaloVerde',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 11 => array(
'cityFullName' => 'Salton City',
'cityCondensed' => 'SaltonCity',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 12 => array(
'cityFullName' => 'Seeley',
'cityCondensed' => 'Seeley',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 13 => array(
'cityFullName' => 'Westmorland',
'cityCondensed' => 'Westmorland',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
),
(int) 14 => array(
'cityFullName' => 'Winterhaven',
'cityCondensed' => 'Winterhaven',
'countyFullName' => 'Imperial County',
'countyCondensed' => 'ImperialCounty',
'state' => 'California'
)
) BusinessProfile2Controller::id() - APP/Controller/BusinessProfile2Controller.php, line 303
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108
Top 10 Best Favorite Businesses in , CA on Beelocal
Nearby Cities
Bard Brawley Calexico Calipatria El Centro Heber Holtville Imperial Niland Ocotillo Palo Verde Salton City Seeley Westmorland Winterhaven
Top Categories
Bridal Restaurants Entertainment Beauty Salon Coffee Shops Hotels/ Motels Beauty Salon & Spa Car Wash Bar & Grills Massage Therapy/ Body Work
Top Best 10 in
Top Best 10 in