© 2012 Joe Ross LTD. All Rights Reserved.
Home | About | Add Your Site | Advertise | Contact | Merchants | Coupons | Notifications | Disclaimer
Up to 60% off local deals in Cottage Grove, OR, United States. Find all the Daily Deals from companies like Groupon, Living Social, and more..
Cottage Grove
52°F


Choose a new city
© 2012 Joe Ross LTD. All Rights Reserved.
Home | About | Add Your Site | Advertise | Contact | Merchants | Coupons | Notifications | Disclaimer
Array
(
[0] => Array
(
[api_query] => http://api.salecamel.com?api_key=123456789&do_get=local_locations
[execution_time] => 0.13168287277222
[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.045382022857666
)
)
)
[1] => Array
(
[api_query] => http://api.salecamel.com?api_key=123456789&do_get=get_local&location=Cottage%2C+Grove%2C+OR&radius=10&search_limit=15
[execution_time] => 2.5434019565582
[from_api] => Array
(
[0] => Array
(
[mysql_query] => SELECT merch_latitude, merch_longitude
FROM merchants_local
WHERE merch_locality='Cottage' AND merch_region='Grove'
[execution_time] => 0.0054819583892822
)
[1] => Array
(
[news_api_call] => http://hyperlocal-api.outside.in/v1.1/states/OR/cities/Cottage%20Grove/stories?dev_key=6at3bn2z23e33eu92utrq6pt&sig=162419bb97cdf20f4eeb56b50273f473&no-vertical=obituaries
)
[2] => Array
(
[mysql_query] => SELECT data FROM cache_news
WHERE locality = 'Cottage Grove'
AND region = 'OR'
AND country = 'United States'
AND expires > '1368871989'
[execution_time] => 0.00046086311340332
)
[3] => Array
(
[mysql_query] => INSERT INTO cache_news
(`locality`, `region`, `country`, `expires`, `data`)
VALUES
(
'Cottage Grove',
'OR',
'United States',
'1368875589',
''
)
ON DUPLICATE KEY UPDATE expires = '1368875589', data = ''
[execution_time] => 0.11119103431702
)
[4] => Array
(
[mysql_query] => SELECT data FROM cache_weather
WHERE locality = 'Cottage Grove'
AND region = 'OR'
AND country = 'United States'
AND expires > '1368871989'
[execution_time] => 0.00039410591125488
)
[5] => Array
(
[mysql_query] => INSERT INTO cache_weather
(`locality`, `region`, `country`, `expires`, `data`)
VALUES
(
'Cottage Grove',
'OR',
'United States',
'1368875589',
'{ \"data\": { \"current_condition\": [ {\"cloudcover\": \"100\", \"humidity\": \"82\", \"observation_time\": \"10:13 AM\", \"precipMM\": \"0.0\", \"pressure\": \"1021\", \"temp_C\": \"11\", \"temp_F\": \"52\", \"visibility\": \"10\", \"weatherCode\": \"122\", \"weatherDesc\": [ {\"value\": \"Overcast\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0004_black_low_cloud.png\" } ], \"winddir16Point\": \"N\", \"winddirDegree\": \"0\", \"windspeedKmph\": \"0\", \"windspeedMiles\": \"0\" } ], \"request\": [ {\"query\": \"Cottage Grove, United States Of America\", \"type\": \"City\" } ], \"weather\": [ {\"date\": \"2013-05-18\", \"precipMM\": \"1.0\", \"tempMaxC\": \"16\", \"tempMaxF\": \"61\", \"tempMinC\": \"9\", \"tempMinF\": \"48\", \"weatherCode\": \"116\", \"weatherDesc\": [ {\"value\": \"Partly Cloudy\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0002_sunny_intervals.png\" } ], \"winddir16Point\": \"SSW\", \"winddirDegree\": \"200\", \"winddirection\": \"SSW\", \"windspeedKmph\": \"13\", \"windspeedMiles\": \"8\" }, {\"date\": \"2013-05-19\", \"precipMM\": \"0.7\", \"tempMaxC\": \"18\", \"tempMaxF\": \"65\", \"tempMinC\": \"4\", \"tempMinF\": \"40\", \"weatherCode\": \"113\", \"weatherDesc\": [ {\"value\": \"Sunny\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0001_sunny.png\" } ], \"winddir16Point\": \"N\", \"winddirDegree\": \"10\", \"winddirection\": \"N\", \"windspeedKmph\": \"18\", \"windspeedMiles\": \"11\" }, {\"date\": \"2013-05-20\", \"precipMM\": \"0.0\", \"tempMaxC\": \"19\", \"tempMaxF\": \"66\", \"tempMinC\": \"2\", \"tempMinF\": \"35\", \"weatherCode\": \"119\", \"weatherDesc\": [ {\"value\": \"Cloudy\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0003_white_cloud.png\" } ], \"winddir16Point\": \"N\", \"winddirDegree\": \"10\", \"winddirection\": \"N\", \"windspeedKmph\": \"13\", \"windspeedMiles\": \"8\" }, {\"date\": \"2013-05-21\", \"precipMM\": \"7.7\", \"tempMaxC\": \"9\", \"tempMaxF\": \"48\", \"tempMinC\": \"1\", \"tempMinF\": \"33\", \"weatherCode\": \"296\", \"weatherDesc\": [ {\"value\": \"Light rain\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0017_cloudy_with_light_rain.png\" } ], \"winddir16Point\": \"WSW\", \"winddirDegree\": \"256\", \"winddirection\": \"WSW\", \"windspeedKmph\": \"16\", \"windspeedMiles\": \"10\" } ] }}'
)
ON DUPLICATE KEY UPDATE expires = '1368875589', data = '{ \"data\": { \"current_condition\": [ {\"cloudcover\": \"100\", \"humidity\": \"82\", \"observation_time\": \"10:13 AM\", \"precipMM\": \"0.0\", \"pressure\": \"1021\", \"temp_C\": \"11\", \"temp_F\": \"52\", \"visibility\": \"10\", \"weatherCode\": \"122\", \"weatherDesc\": [ {\"value\": \"Overcast\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0004_black_low_cloud.png\" } ], \"winddir16Point\": \"N\", \"winddirDegree\": \"0\", \"windspeedKmph\": \"0\", \"windspeedMiles\": \"0\" } ], \"request\": [ {\"query\": \"Cottage Grove, United States Of America\", \"type\": \"City\" } ], \"weather\": [ {\"date\": \"2013-05-18\", \"precipMM\": \"1.0\", \"tempMaxC\": \"16\", \"tempMaxF\": \"61\", \"tempMinC\": \"9\", \"tempMinF\": \"48\", \"weatherCode\": \"116\", \"weatherDesc\": [ {\"value\": \"Partly Cloudy\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0002_sunny_intervals.png\" } ], \"winddir16Point\": \"SSW\", \"winddirDegree\": \"200\", \"winddirection\": \"SSW\", \"windspeedKmph\": \"13\", \"windspeedMiles\": \"8\" }, {\"date\": \"2013-05-19\", \"precipMM\": \"0.7\", \"tempMaxC\": \"18\", \"tempMaxF\": \"65\", \"tempMinC\": \"4\", \"tempMinF\": \"40\", \"weatherCode\": \"113\", \"weatherDesc\": [ {\"value\": \"Sunny\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0001_sunny.png\" } ], \"winddir16Point\": \"N\", \"winddirDegree\": \"10\", \"winddirection\": \"N\", \"windspeedKmph\": \"18\", \"windspeedMiles\": \"11\" }, {\"date\": \"2013-05-20\", \"precipMM\": \"0.0\", \"tempMaxC\": \"19\", \"tempMaxF\": \"66\", \"tempMinC\": \"2\", \"tempMinF\": \"35\", \"weatherCode\": \"119\", \"weatherDesc\": [ {\"value\": \"Cloudy\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0003_white_cloud.png\" } ], \"winddir16Point\": \"N\", \"winddirDegree\": \"10\", \"winddirection\": \"N\", \"windspeedKmph\": \"13\", \"windspeedMiles\": \"8\" }, {\"date\": \"2013-05-21\", \"precipMM\": \"7.7\", \"tempMaxC\": \"9\", \"tempMaxF\": \"48\", \"tempMinC\": \"1\", \"tempMinF\": \"33\", \"weatherCode\": \"296\", \"weatherDesc\": [ {\"value\": \"Light rain\" } ], \"weatherIconUrl\": [ {\"value\": \"http:\\/\\/www.worldweatheronline.com\\/images\\/wsymbols01_png_64\\/wsymbol_0017_cloudy_with_light_rain.png\" } ], \"winddir16Point\": \"WSW\", \"winddirDegree\": \"256\", \"winddirection\": \"WSW\", \"windspeedKmph\": \"16\", \"windspeedMiles\": \"10\" } ] }}'
[execution_time] => 0.29897999763489
)
[6] => Array
(
[mysql_query] => SELECT *, ( 3959 * acos( cos( radians(43.79734) ) * cos( radians( merch_latitude ) ) * cos( radians( merch_longitude ) - radians(-123.064522) ) + sin( radians(43.79734) ) * sin( radians( merch_latitude ) ) ) ) AS distance
FROM merchants_local
HAVING distance < 10
ORDER BY distance
[execution_time] => 0.016819953918457
)
[7] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '162487' ORDER BY item_per_off
[execution_time] => 0.0069830417633057
)
[8] => Array
(
[mysql_query] => SELECT * FROM items_local WHERE merch_id = '164013' ORDER BY item_per_off
[execution_time] => 0.011680126190186
)
)
)
)