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-apachejunction/pinal-county/az'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-apachejunction',
(int) 2 => 'pinal-county',
(int) 3 => 'az'
)
$_routeParam1Orig = 'city-of-apachejunction'
$_routeParam2Orig = 'pinal-county'
$_routeParam3Orig = 'az'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofapachejunction'
$_routeParam2 = 'pinalcounty'
$_routeParam3 = 'az'
$_routeParam4 = ''
$_ipAddress = '172.71.154.37'
$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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
$_city = 'apachejunction'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='az' and city_condensed='apachejunction' 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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' 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='az' and county_condensed='pinalcounty'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '142437',
'id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'business_id' => '142471',
'business_id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '220',
'category' => 'Banks',
'category_condensed' => 'Banks',
'name' => 'Academy Bank',
'name_condensed' => 'AcademyBank',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '2555 W Apache Trl',
'address2' => '',
'city' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'state' => 'AZ',
'zip' => '85120',
'county' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '33.4141235',
'longitude' => '-111.5740323',
'geolocation' => '33.4141235, -111.5740323',
'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' => '(480) 982-6707',
'phone_functional' => '4809826707',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://academybankco.com',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/AZ/ApacheJunction/Banks/AcademyBank/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Banks Bankss ',
'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' => null,
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => null,
'enable_products' => '0',
'header_gallery_title' => null,
'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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Cafe De Manuel',
'top_business_in_category_name_condensed' => 'CafeDeManuel',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Green Orchid Salon',
'top_business_in_category_name_condensed' => 'GreenOrchidSalon',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Best Western Apache Junction Inn',
'top_business_in_category_name_condensed' => 'BestWesternApacheJunctionInn',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => 'J Heart A Home Cleaning',
'top_business_in_category_name_condensed' => 'JHeartAHomeCleaning',
'top_business_in_category_city_full' => 'San Tan Valley',
'top_business_in_category_city_condensed' => 'SanTanValley',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => 'Desert Flame',
'top_business_in_category_name_condensed' => 'DesertFlame',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'Smoke Shop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => 'City Of Casa Grande',
'top_business_in_category_name_condensed' => 'CityOfCasaGrande',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Selex Nail Spa',
'top_business_in_category_name_condensed' => 'SelexNailSpa',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'DM Family Dentistry',
'top_business_in_category_name_condensed' => 'DMFamilyDentistry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Lucky Strikes',
'top_business_in_category_name_condensed' => 'LuckyStrikes',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Ed Whitehead's Tire Country',
'top_business_in_category_name_condensed' => 'EdWhiteheadsTireCountry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => 'Family Haircuts And Styles',
'top_business_in_category_name_condensed' => 'FamilyHaircutsAndStyles',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Apache Junction',
'cityCondensed' => 'ApacheJunction',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 1 => array(
'cityFullName' => 'Arizona City',
'cityCondensed' => 'ArizonaCity',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 2 => array(
'cityFullName' => 'Bapchule',
'cityCondensed' => 'Bapchule',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 3 => array(
'cityFullName' => 'Casa Grande',
'cityCondensed' => 'CasaGrande',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 4 => array(
'cityFullName' => 'Coolidge',
'cityCondensed' => 'Coolidge',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 5 => array(
'cityFullName' => 'Eloy',
'cityCondensed' => 'Eloy',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 6 => array(
'cityFullName' => 'Florence',
'cityCondensed' => 'Florence',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 7 => array(
'cityFullName' => 'Gold Canyon',
'cityCondensed' => 'GoldCanyon',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 8 => array(
'cityFullName' => 'Kearny',
'cityCondensed' => 'Kearny',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 9 => array(
'cityFullName' => 'Mammoth',
'cityCondensed' => 'Mammoth',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 10 => array(
'cityFullName' => 'Marana',
'cityCondensed' => 'Marana',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 11 => array(
'cityFullName' => 'Maricopa',
'cityCondensed' => 'Maricopa',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 12 => array(
'cityFullName' => 'Oracle',
'cityCondensed' => 'Oracle',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 13 => array(
'cityFullName' => 'Picacho',
'cityCondensed' => 'Picacho',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 14 => array(
'cityFullName' => 'Red Rock',
'cityCondensed' => 'RedRock',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 15 => array(
'cityFullName' => 'Sacaton',
'cityCondensed' => 'Sacaton',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 16 => array(
'cityFullName' => 'San Manuel',
'cityCondensed' => 'SanManuel',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 17 => array(
'cityFullName' => 'San Tan Valley',
'cityCondensed' => 'SanTanValley',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 18 => array(
'cityFullName' => 'Stanfield',
'cityCondensed' => 'Stanfield',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 19 => array(
'cityFullName' => 'Superior',
'cityCondensed' => 'Superior',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
)
) 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-apachejunction/pinal-county/az'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-apachejunction',
(int) 2 => 'pinal-county',
(int) 3 => 'az'
)
$_routeParam1Orig = 'city-of-apachejunction'
$_routeParam2Orig = 'pinal-county'
$_routeParam3Orig = 'az'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofapachejunction'
$_routeParam2 = 'pinalcounty'
$_routeParam3 = 'az'
$_routeParam4 = ''
$_ipAddress = '172.71.154.37'
$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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
$_city = 'apachejunction'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='az' and city_condensed='apachejunction' 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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' 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='az' and county_condensed='pinalcounty'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '142437',
'id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'business_id' => '142471',
'business_id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '220',
'category' => 'Banks',
'category_condensed' => 'Banks',
'name' => 'Academy Bank',
'name_condensed' => 'AcademyBank',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '2555 W Apache Trl',
'address2' => '',
'city' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'state' => 'AZ',
'zip' => '85120',
'county' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '33.4141235',
'longitude' => '-111.5740323',
'geolocation' => '33.4141235, -111.5740323',
'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' => '(480) 982-6707',
'phone_functional' => '4809826707',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://academybankco.com',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/AZ/ApacheJunction/Banks/AcademyBank/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Banks Bankss ',
'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' => null,
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => null,
'enable_products' => '0',
'header_gallery_title' => null,
'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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Cafe De Manuel',
'top_business_in_category_name_condensed' => 'CafeDeManuel',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Green Orchid Salon',
'top_business_in_category_name_condensed' => 'GreenOrchidSalon',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Best Western Apache Junction Inn',
'top_business_in_category_name_condensed' => 'BestWesternApacheJunctionInn',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => 'J Heart A Home Cleaning',
'top_business_in_category_name_condensed' => 'JHeartAHomeCleaning',
'top_business_in_category_city_full' => 'San Tan Valley',
'top_business_in_category_city_condensed' => 'SanTanValley',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => 'Desert Flame',
'top_business_in_category_name_condensed' => 'DesertFlame',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'Smoke Shop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => 'City Of Casa Grande',
'top_business_in_category_name_condensed' => 'CityOfCasaGrande',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Selex Nail Spa',
'top_business_in_category_name_condensed' => 'SelexNailSpa',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'DM Family Dentistry',
'top_business_in_category_name_condensed' => 'DMFamilyDentistry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Lucky Strikes',
'top_business_in_category_name_condensed' => 'LuckyStrikes',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Ed Whitehead's Tire Country',
'top_business_in_category_name_condensed' => 'EdWhiteheadsTireCountry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => 'Family Haircuts And Styles',
'top_business_in_category_name_condensed' => 'FamilyHaircutsAndStyles',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Apache Junction',
'cityCondensed' => 'ApacheJunction',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 1 => array(
'cityFullName' => 'Arizona City',
'cityCondensed' => 'ArizonaCity',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 2 => array(
'cityFullName' => 'Bapchule',
'cityCondensed' => 'Bapchule',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 3 => array(
'cityFullName' => 'Casa Grande',
'cityCondensed' => 'CasaGrande',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 4 => array(
'cityFullName' => 'Coolidge',
'cityCondensed' => 'Coolidge',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 5 => array(
'cityFullName' => 'Eloy',
'cityCondensed' => 'Eloy',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 6 => array(
'cityFullName' => 'Florence',
'cityCondensed' => 'Florence',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 7 => array(
'cityFullName' => 'Gold Canyon',
'cityCondensed' => 'GoldCanyon',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 8 => array(
'cityFullName' => 'Kearny',
'cityCondensed' => 'Kearny',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 9 => array(
'cityFullName' => 'Mammoth',
'cityCondensed' => 'Mammoth',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 10 => array(
'cityFullName' => 'Marana',
'cityCondensed' => 'Marana',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 11 => array(
'cityFullName' => 'Maricopa',
'cityCondensed' => 'Maricopa',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 12 => array(
'cityFullName' => 'Oracle',
'cityCondensed' => 'Oracle',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 13 => array(
'cityFullName' => 'Picacho',
'cityCondensed' => 'Picacho',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 14 => array(
'cityFullName' => 'Red Rock',
'cityCondensed' => 'RedRock',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 15 => array(
'cityFullName' => 'Sacaton',
'cityCondensed' => 'Sacaton',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 16 => array(
'cityFullName' => 'San Manuel',
'cityCondensed' => 'SanManuel',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 17 => array(
'cityFullName' => 'San Tan Valley',
'cityCondensed' => 'SanTanValley',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 18 => array(
'cityFullName' => 'Stanfield',
'cityCondensed' => 'Stanfield',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 19 => array(
'cityFullName' => 'Superior',
'cityCondensed' => 'Superior',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
)
) 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-apachejunction/pinal-county/az'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-apachejunction',
(int) 2 => 'pinal-county',
(int) 3 => 'az'
)
$_routeParam1Orig = 'city-of-apachejunction'
$_routeParam2Orig = 'pinal-county'
$_routeParam3Orig = 'az'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofapachejunction'
$_routeParam2 = 'pinalcounty'
$_routeParam3 = 'az'
$_routeParam4 = ''
$_ipAddress = '172.71.154.37'
$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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
$_city = 'apachejunction'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='az' and city_condensed='apachejunction' 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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' 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='az' and county_condensed='pinalcounty'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '142437',
'id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'business_id' => '142471',
'business_id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '220',
'category' => 'Banks',
'category_condensed' => 'Banks',
'name' => 'Academy Bank',
'name_condensed' => 'AcademyBank',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '2555 W Apache Trl',
'address2' => '',
'city' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'state' => 'AZ',
'zip' => '85120',
'county' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '33.4141235',
'longitude' => '-111.5740323',
'geolocation' => '33.4141235, -111.5740323',
'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' => '(480) 982-6707',
'phone_functional' => '4809826707',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://academybankco.com',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/AZ/ApacheJunction/Banks/AcademyBank/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Banks Bankss ',
'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' => null,
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => null,
'enable_products' => '0',
'header_gallery_title' => null,
'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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Cafe De Manuel',
'top_business_in_category_name_condensed' => 'CafeDeManuel',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Green Orchid Salon',
'top_business_in_category_name_condensed' => 'GreenOrchidSalon',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Best Western Apache Junction Inn',
'top_business_in_category_name_condensed' => 'BestWesternApacheJunctionInn',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => 'J Heart A Home Cleaning',
'top_business_in_category_name_condensed' => 'JHeartAHomeCleaning',
'top_business_in_category_city_full' => 'San Tan Valley',
'top_business_in_category_city_condensed' => 'SanTanValley',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => 'Desert Flame',
'top_business_in_category_name_condensed' => 'DesertFlame',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'Smoke Shop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => 'City Of Casa Grande',
'top_business_in_category_name_condensed' => 'CityOfCasaGrande',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Selex Nail Spa',
'top_business_in_category_name_condensed' => 'SelexNailSpa',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'DM Family Dentistry',
'top_business_in_category_name_condensed' => 'DMFamilyDentistry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Lucky Strikes',
'top_business_in_category_name_condensed' => 'LuckyStrikes',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Ed Whitehead's Tire Country',
'top_business_in_category_name_condensed' => 'EdWhiteheadsTireCountry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => 'Family Haircuts And Styles',
'top_business_in_category_name_condensed' => 'FamilyHaircutsAndStyles',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Apache Junction',
'cityCondensed' => 'ApacheJunction',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 1 => array(
'cityFullName' => 'Arizona City',
'cityCondensed' => 'ArizonaCity',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 2 => array(
'cityFullName' => 'Bapchule',
'cityCondensed' => 'Bapchule',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 3 => array(
'cityFullName' => 'Casa Grande',
'cityCondensed' => 'CasaGrande',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 4 => array(
'cityFullName' => 'Coolidge',
'cityCondensed' => 'Coolidge',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 5 => array(
'cityFullName' => 'Eloy',
'cityCondensed' => 'Eloy',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 6 => array(
'cityFullName' => 'Florence',
'cityCondensed' => 'Florence',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 7 => array(
'cityFullName' => 'Gold Canyon',
'cityCondensed' => 'GoldCanyon',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 8 => array(
'cityFullName' => 'Kearny',
'cityCondensed' => 'Kearny',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 9 => array(
'cityFullName' => 'Mammoth',
'cityCondensed' => 'Mammoth',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 10 => array(
'cityFullName' => 'Marana',
'cityCondensed' => 'Marana',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 11 => array(
'cityFullName' => 'Maricopa',
'cityCondensed' => 'Maricopa',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 12 => array(
'cityFullName' => 'Oracle',
'cityCondensed' => 'Oracle',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 13 => array(
'cityFullName' => 'Picacho',
'cityCondensed' => 'Picacho',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 14 => array(
'cityFullName' => 'Red Rock',
'cityCondensed' => 'RedRock',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 15 => array(
'cityFullName' => 'Sacaton',
'cityCondensed' => 'Sacaton',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 16 => array(
'cityFullName' => 'San Manuel',
'cityCondensed' => 'SanManuel',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 17 => array(
'cityFullName' => 'San Tan Valley',
'cityCondensed' => 'SanTanValley',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 18 => array(
'cityFullName' => 'Stanfield',
'cityCondensed' => 'Stanfield',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 19 => array(
'cityFullName' => 'Superior',
'cityCondensed' => 'Superior',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
)
) 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-apachejunction/pinal-county/az'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-apachejunction',
(int) 2 => 'pinal-county',
(int) 3 => 'az'
)
$_routeParam1Orig = 'city-of-apachejunction'
$_routeParam2Orig = 'pinal-county'
$_routeParam3Orig = 'az'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofapachejunction'
$_routeParam2 = 'pinalcounty'
$_routeParam3 = 'az'
$_routeParam4 = ''
$_ipAddress = '172.71.154.37'
$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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
$_city = 'apachejunction'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='az' and city_condensed='apachejunction' 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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' 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='az' and county_condensed='pinalcounty'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '142437',
'id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'business_id' => '142471',
'business_id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '220',
'category' => 'Banks',
'category_condensed' => 'Banks',
'name' => 'Academy Bank',
'name_condensed' => 'AcademyBank',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '2555 W Apache Trl',
'address2' => '',
'city' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'state' => 'AZ',
'zip' => '85120',
'county' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '33.4141235',
'longitude' => '-111.5740323',
'geolocation' => '33.4141235, -111.5740323',
'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' => '(480) 982-6707',
'phone_functional' => '4809826707',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://academybankco.com',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/AZ/ApacheJunction/Banks/AcademyBank/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Banks Bankss ',
'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' => null,
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => null,
'enable_products' => '0',
'header_gallery_title' => null,
'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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Cafe De Manuel',
'top_business_in_category_name_condensed' => 'CafeDeManuel',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Green Orchid Salon',
'top_business_in_category_name_condensed' => 'GreenOrchidSalon',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Best Western Apache Junction Inn',
'top_business_in_category_name_condensed' => 'BestWesternApacheJunctionInn',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => 'J Heart A Home Cleaning',
'top_business_in_category_name_condensed' => 'JHeartAHomeCleaning',
'top_business_in_category_city_full' => 'San Tan Valley',
'top_business_in_category_city_condensed' => 'SanTanValley',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => 'Desert Flame',
'top_business_in_category_name_condensed' => 'DesertFlame',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'Smoke Shop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => 'City Of Casa Grande',
'top_business_in_category_name_condensed' => 'CityOfCasaGrande',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Selex Nail Spa',
'top_business_in_category_name_condensed' => 'SelexNailSpa',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'DM Family Dentistry',
'top_business_in_category_name_condensed' => 'DMFamilyDentistry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Lucky Strikes',
'top_business_in_category_name_condensed' => 'LuckyStrikes',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Ed Whitehead's Tire Country',
'top_business_in_category_name_condensed' => 'EdWhiteheadsTireCountry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => 'Family Haircuts And Styles',
'top_business_in_category_name_condensed' => 'FamilyHaircutsAndStyles',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Apache Junction',
'cityCondensed' => 'ApacheJunction',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 1 => array(
'cityFullName' => 'Arizona City',
'cityCondensed' => 'ArizonaCity',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 2 => array(
'cityFullName' => 'Bapchule',
'cityCondensed' => 'Bapchule',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 3 => array(
'cityFullName' => 'Casa Grande',
'cityCondensed' => 'CasaGrande',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 4 => array(
'cityFullName' => 'Coolidge',
'cityCondensed' => 'Coolidge',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 5 => array(
'cityFullName' => 'Eloy',
'cityCondensed' => 'Eloy',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 6 => array(
'cityFullName' => 'Florence',
'cityCondensed' => 'Florence',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 7 => array(
'cityFullName' => 'Gold Canyon',
'cityCondensed' => 'GoldCanyon',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 8 => array(
'cityFullName' => 'Kearny',
'cityCondensed' => 'Kearny',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 9 => array(
'cityFullName' => 'Mammoth',
'cityCondensed' => 'Mammoth',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 10 => array(
'cityFullName' => 'Marana',
'cityCondensed' => 'Marana',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 11 => array(
'cityFullName' => 'Maricopa',
'cityCondensed' => 'Maricopa',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 12 => array(
'cityFullName' => 'Oracle',
'cityCondensed' => 'Oracle',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 13 => array(
'cityFullName' => 'Picacho',
'cityCondensed' => 'Picacho',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 14 => array(
'cityFullName' => 'Red Rock',
'cityCondensed' => 'RedRock',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 15 => array(
'cityFullName' => 'Sacaton',
'cityCondensed' => 'Sacaton',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 16 => array(
'cityFullName' => 'San Manuel',
'cityCondensed' => 'SanManuel',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 17 => array(
'cityFullName' => 'San Tan Valley',
'cityCondensed' => 'SanTanValley',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 18 => array(
'cityFullName' => 'Stanfield',
'cityCondensed' => 'Stanfield',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 19 => array(
'cityFullName' => 'Superior',
'cityCondensed' => 'Superior',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
)
) 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-apachejunction/pinal-county/az'
$expURL = array(
(int) 0 => '',
(int) 1 => 'city-of-apachejunction',
(int) 2 => 'pinal-county',
(int) 3 => 'az'
)
$_routeParam1Orig = 'city-of-apachejunction'
$_routeParam2Orig = 'pinal-county'
$_routeParam3Orig = 'az'
$_routeParam4Orig = ''
$_routeParam5Orig = ''
$_routeParam1 = 'cityofapachejunction'
$_routeParam2 = 'pinalcounty'
$_routeParam3 = 'az'
$_routeParam4 = ''
$_ipAddress = '172.71.154.37'
$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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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) 20
numRows => (int) 20
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) 27
[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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='apachejunction'
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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
$_city = 'apachejunction'
$query2 = 'SELECT *
FROM bl_business_profile
WHERE state='az' and city_condensed='apachejunction' 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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' 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='az' and county_condensed='pinalcounty'
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='az' and county_condensed='pinalcounty'
and city_condensed='apachejunction' ORDER BY category_rank_index LIMIT 10'
}
$bizProf2 = array(
(int) 0 => array(
'ID' => '142437',
'id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'business_id' => '142471',
'business_id_hashed' => '43d3d832c5c069450657e9ba31ff0005',
'app_id' => '',
'is_claimed' => '0',
'plan_id' => null,
'beelocal_url' => '',
'is_businesscard' => '0',
'category_id' => '220',
'category' => 'Banks',
'category_condensed' => 'Banks',
'name' => 'Academy Bank',
'name_condensed' => 'AcademyBank',
'name_shortform' => '',
'name_subtitle' => null,
'address' => '2555 W Apache Trl',
'address2' => '',
'city' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'state' => 'AZ',
'zip' => '85120',
'county' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'region' => null,
'region_condensed' => null,
'country_code' => 'US',
'country' => 'United States of America',
'country_condensed' => 'UnitedStatesofAmerica',
'latitude' => '33.4141235',
'longitude' => '-111.5740323',
'geolocation' => '33.4141235, -111.5740323',
'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' => '(480) 982-6707',
'phone_functional' => '4809826707',
'fax' => null,
'about_paragraph1' => null,
'about_paragraph2' => null,
'about_spanish1' => '',
'about_spanish2' => '',
'general_email' => '',
'staging_server' => '',
'website_staging' => null,
'website_url' => 'http://academybankco.com',
'beelocal_website_url' => null,
'website_isBeelocal' => '0',
'profile_image_server' => 'https://cdn.beelocal.io',
'profile_image_prefix' => '/img/gallery/US/AZ/ApacheJunction/Banks/AcademyBank/',
'profile_banners_qty' => '1',
'profile_banners_mobile_qty' => '0',
'description_full' => null,
'description_teaser' => null,
'keywords' => ' Banks Bankss ',
'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' => null,
'enable_services' => '0',
'enable_foodmenu' => '0',
'header_foodmenu_title' => '0',
'header_products_title' => null,
'enable_products' => '0',
'header_gallery_title' => null,
'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='pinalcounty' AND state ='az'
AND city_condensed='apachejunction'
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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 1 => array(
'category_id' => '243',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 2 => array(
'category_id' => '67',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 3 => array(
'category_id' => '36',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Cafe De Manuel',
'top_business_in_category_name_condensed' => 'CafeDeManuel',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 4 => array(
'category_id' => '223',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Green Orchid Salon',
'top_business_in_category_name_condensed' => 'GreenOrchidSalon',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 5 => array(
'category_id' => '100',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5',
'top_business_in_category_name_full' => 'Best Western Apache Junction Inn',
'top_business_in_category_name_condensed' => 'BestWesternApacheJunctionInn',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 6 => array(
'category_id' => '17',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 7 => array(
'category_id' => '224',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6',
'top_business_in_category_name_full' => 'J Heart A Home Cleaning',
'top_business_in_category_name_condensed' => 'JHeartAHomeCleaning',
'top_business_in_category_city_full' => 'San Tan Valley',
'top_business_in_category_city_condensed' => 'SanTanValley',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(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' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 9 => array(
'category_id' => '221',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8',
'top_business_in_category_name_full' => 'Desert Flame',
'top_business_in_category_name_condensed' => 'DesertFlame',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 10 => array(
'category_id' => '151',
'category_name' => 'Pet Services',
'category_condensed' => 'PetServices',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 11 => array(
'category_id' => '246',
'category_name' => 'Smoke Shop',
'category_condensed' => 'SmokeShop',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 12 => array(
'category_id' => '227',
'category_name' => 'Gyms',
'category_condensed' => 'Gyms',
'category_rank_index' => '9',
'top_business_in_category_name_full' => 'City Of Casa Grande',
'top_business_in_category_name_condensed' => 'CityOfCasaGrande',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 13 => array(
'category_id' => '245',
'category_name' => 'Car Rentals',
'category_condensed' => 'CarRentals',
'category_rank_index' => '9',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 14 => array(
'category_id' => '228',
'category_name' => 'Nail Salons',
'category_condensed' => 'NailSalons',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Selex Nail Spa',
'top_business_in_category_name_condensed' => 'SelexNailSpa',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 15 => array(
'category_id' => '52',
'category_name' => 'Dentists',
'category_condensed' => 'Dentists',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'DM Family Dentistry',
'top_business_in_category_name_condensed' => 'DMFamilyDentistry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 16 => array(
'category_id' => '222',
'category_name' => 'Bars',
'category_condensed' => 'Bars',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Lucky Strikes',
'top_business_in_category_name_condensed' => 'LuckyStrikes',
'top_business_in_category_city_full' => 'Apache Junction',
'top_business_in_category_city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 17 => array(
'category_id' => '31',
'category_name' => 'Chiropractors',
'category_condensed' => 'Chiropractors',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 18 => array(
'category_id' => '16',
'category_name' => 'Automobile/ Repair & Services',
'category_condensed' => 'AutomobileRepairServices',
'category_rank_index' => '10',
'top_business_in_category_name_full' => 'Ed Whitehead's Tire Country',
'top_business_in_category_name_condensed' => 'EdWhiteheadsTireCountry',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 19 => array(
'category_id' => '173',
'category_name' => 'Retail',
'category_condensed' => 'Retail',
'category_rank_index' => '10',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 20 => array(
'category_id' => '89',
'category_name' => 'Hair Salons & Stylists',
'category_condensed' => 'HairSalonsStylists',
'category_rank_index' => '11',
'top_business_in_category_name_full' => 'Family Haircuts And Styles',
'top_business_in_category_name_condensed' => 'FamilyHaircutsAndStyles',
'top_business_in_category_city_full' => 'Casa Grande',
'top_business_in_category_city_condensed' => 'CasaGrande',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 21 => array(
'category_id' => '251',
'category_name' => 'Dance Studios',
'category_condensed' => 'DanceStudios',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 22 => array(
'category_id' => '65',
'category_name' => 'Employment Services',
'category_condensed' => 'EmploymentServices',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
),
(int) 23 => array(
'category_id' => '240',
'category_name' => 'Barber Shop',
'category_condensed' => 'BarberShop',
'category_rank_index' => '11',
'top_business_in_category_name_full' => null,
'top_business_in_category_name_condensed' => null,
'top_business_in_category_city_full' => null,
'top_business_in_category_city_condensed' => null,
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'state' => 'AZ'
)
)
$TopCategoriesPerCity = array(
(int) 0 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bridal',
'category_condensed' => 'Bridal',
'category_rank_index' => '3'
),
(int) 1 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Restaurants',
'category_condensed' => 'Restaurants',
'category_rank_index' => '3'
),
(int) 2 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Entertainment',
'category_condensed' => 'Entertainment',
'category_rank_index' => '4'
),
(int) 3 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon',
'category_condensed' => 'BeautySalon',
'category_rank_index' => '5'
),
(int) 4 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Coffee Shops',
'category_condensed' => 'CoffeeShops',
'category_rank_index' => '5'
),
(int) 5 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Hotels/ Motels',
'category_condensed' => 'HotelsMotels',
'category_rank_index' => '5'
),
(int) 6 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Beauty Salon & Spa',
'category_condensed' => 'BeautySalonSpa',
'category_rank_index' => '6'
),
(int) 7 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Car Wash',
'category_condensed' => 'CarWash',
'category_rank_index' => '6'
),
(int) 8 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'category_name' => 'Bar & Grills',
'category_condensed' => 'BarGrills',
'category_rank_index' => '8'
),
(int) 9 => array(
'state' => 'AZ',
'city_name' => 'Apache Junction',
'city_condensed' => 'ApacheJunction',
'county_name' => 'Pinal County',
'county_condensed' => 'PinalCounty',
'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='az'
AND county_condensed='pinalcounty'
ORDER BY city
LIMIT 30'
}
$topCities = array(
(int) 0 => array(
'cityFullName' => 'Apache Junction',
'cityCondensed' => 'ApacheJunction',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 1 => array(
'cityFullName' => 'Arizona City',
'cityCondensed' => 'ArizonaCity',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 2 => array(
'cityFullName' => 'Bapchule',
'cityCondensed' => 'Bapchule',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 3 => array(
'cityFullName' => 'Casa Grande',
'cityCondensed' => 'CasaGrande',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 4 => array(
'cityFullName' => 'Coolidge',
'cityCondensed' => 'Coolidge',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 5 => array(
'cityFullName' => 'Eloy',
'cityCondensed' => 'Eloy',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 6 => array(
'cityFullName' => 'Florence',
'cityCondensed' => 'Florence',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 7 => array(
'cityFullName' => 'Gold Canyon',
'cityCondensed' => 'GoldCanyon',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 8 => array(
'cityFullName' => 'Kearny',
'cityCondensed' => 'Kearny',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 9 => array(
'cityFullName' => 'Mammoth',
'cityCondensed' => 'Mammoth',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 10 => array(
'cityFullName' => 'Marana',
'cityCondensed' => 'Marana',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 11 => array(
'cityFullName' => 'Maricopa',
'cityCondensed' => 'Maricopa',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 12 => array(
'cityFullName' => 'Oracle',
'cityCondensed' => 'Oracle',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 13 => array(
'cityFullName' => 'Picacho',
'cityCondensed' => 'Picacho',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 14 => array(
'cityFullName' => 'Red Rock',
'cityCondensed' => 'RedRock',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 15 => array(
'cityFullName' => 'Sacaton',
'cityCondensed' => 'Sacaton',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 16 => array(
'cityFullName' => 'San Manuel',
'cityCondensed' => 'SanManuel',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 17 => array(
'cityFullName' => 'San Tan Valley',
'cityCondensed' => 'SanTanValley',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 18 => array(
'cityFullName' => 'Stanfield',
'cityCondensed' => 'Stanfield',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
),
(int) 19 => array(
'cityFullName' => 'Superior',
'cityCondensed' => 'Superior',
'countyFullName' => 'Pinal County',
'countyCondensed' => 'PinalCounty',
'state' => 'Arizona'
)
) 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 , AZ on Beelocal
Nearby Cities
Apache Junction Arizona City Bapchule Casa Grande Coolidge Eloy Florence Gold Canyon Kearny Mammoth Marana Maricopa Oracle Picacho Red Rock Sacaton San Manuel San Tan Valley Stanfield Superior
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