Array
(
[0] => Array
(
[0] => template
[1] => mar2013
)
[1] => Array
(
[api_query] => http://api.salecamel.com?api_key=123456789&do_get=local_locations
[execution_time] => 0.15845489501953
[from_api] => Array
(
[0] => Array
(
[mysql_query] => SELECT DISTINCT merch_region, merch_locality, merch_country, merch_id FROM merchants_local ORDER BY merch_region, merch_locality
[execution_time] => 0.054399013519287
)
)
)
[2] => Array
(
[api_query] => http://api.salecamel.com?api_key=123456789&do_get=get_local&location=New%2C+Port%2C+Richey%2C+FL&radius=10&search_limit=15
[execution_time] => 1.6476700305939
[from_api] => Array
(
[0] => Array
(
[news_api_call] => http://hyperlocal-api.outside.in/v1.1/states//cities//stories?dev_key=6at3bn2z23e33eu92utrq6pt&sig=d3779babcbcccf77e4c398dea5027900&no-vertical=obituaries
)
[1] => Array
(
[mysql_query] => SELECT data FROM cache_news
WHERE locality = ''
AND region = ''
AND country = ''
AND expires > '1371674657'
[execution_time] => 0.00060701370239258
)
[2] => Array
(
[mysql_query] => INSERT INTO cache_news
(`locality`, `region`, `country`, `expires`, `data`)
VALUES
(
'',
'',
'',
'1371678257',
'DNS Made Easy: Your DNS has expired
DNS service for this domain has expired with DNS Made Easy
'
)
ON DUPLICATE KEY UPDATE expires = '1371678257', data = 'DNS Made Easy: Your DNS has expired
DNS service for this domain has expired with DNS Made Easy
'
[execution_time] => 0.080070018768311
)
[3] => Array
(
[mysql_query] => SELECT data FROM cache_weather
WHERE locality = ''
AND region = ''
AND country = ''
AND expires > '1371674657'
[execution_time] => 0.00058197975158691
)
[4] => Array
(
[mysql_query] => INSERT INTO cache_weather
(`locality`, `region`, `country`, `expires`, `data`)
VALUES
(
'',
'',
'',
'1371678257',
'{ \"data\": { \"error\": [ {\"msg\": \"Unable to find any matching weather location to the query submitted!\" } ] }}'
)
ON DUPLICATE KEY UPDATE expires = '1371678257', data = '{ \"data\": { \"error\": [ {\"msg\": \"Unable to find any matching weather location to the query submitted!\" } ] }}'
[execution_time] => 0.064974069595337
)
[5] => Array
(
[mysql_query] => SELECT *, ( 3959 * acos( cos( radians(29.727826) ) * cos( radians( merch_latitude ) ) * cos( radians( merch_longitude ) - radians(-82.394892) ) + sin( radians(29.727826) ) * sin( radians( merch_latitude ) ) ) ) AS distance
FROM merchants_local
HAVING distance < 10
ORDER BY distance
[execution_time] => 0.017233848571777
)
[6] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '338297' ORDER BY item_per_off
[execution_time] => 0.0095410346984863
)
[7] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '220056' ORDER BY item_per_off
[execution_time] => 0.011322975158691
)
[8] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '327214' ORDER BY item_per_off
[execution_time] => 0.012261152267456
)
[9] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '334622' ORDER BY item_per_off
[execution_time] => 0.012470006942749
)
[10] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '65587' ORDER BY item_per_off
[execution_time] => 0.010682821273804
)
)
)
)