@@ -60,9 +60,9 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | protected function get_recent_activity() |
| 62 | 62 | { |
| 63 | - global $container; |
|
| 64 | - $activityRepository = new Jacobemerick\Web\Domain\Stream\Post\MysqlPostRepository($container['db_connection_locator']); |
|
| 65 | - $post_result = $activityRepository->getPosts(5); |
|
| 63 | + global $container; |
|
| 64 | + $activityRepository = new Jacobemerick\Web\Domain\Stream\Post\MysqlPostRepository($container['db_connection_locator']); |
|
| 65 | + $post_result = $activityRepository->getPosts(5); |
|
| 66 | 66 | |
| 67 | 67 | $post_array = array(); |
| 68 | 68 | foreach($post_result as $row) |
@@ -125,9 +125,9 @@ discard block |
||
| 125 | 125 | if(strlen($row->title) > 0) |
| 126 | 126 | $post->title .= " I was hiking up around the {$row->title} area."; |
| 127 | 127 | } |
| 128 | - else if ($row->type == 'walking') { |
|
| 129 | - $post->title = "Walked {$row->distance} miles and felt {$row->felt}."; |
|
| 130 | - } |
|
| 128 | + else if ($row->type == 'walking') { |
|
| 129 | + $post->title = "Walked {$row->distance} miles and felt {$row->felt}."; |
|
| 130 | + } |
|
| 131 | 131 | break; |
| 132 | 132 | case 'hulu' : |
| 133 | 133 | $row = HuluCollector::getRow($raw_post->type_id); |
@@ -194,11 +194,11 @@ discard block |
||
| 194 | 194 | Loader::load('view', URLDecode::getSite() . '/' . $view, $this->data_array['body']); |
| 195 | 195 | } |
| 196 | 196 | |
| 197 | - if (URLDecode::getSite() == 'waterfalls') { |
|
| 198 | - Loader::load('view', '/WaterfallFoot'); |
|
| 199 | - } else { |
|
| 200 | - Loader::load('view', '/Foot', array('tracking_code' => self::$TRACKING_CODE)); |
|
| 201 | - } |
|
| 197 | + if (URLDecode::getSite() == 'waterfalls') { |
|
| 198 | + Loader::load('view', '/WaterfallFoot'); |
|
| 199 | + } else { |
|
| 200 | + Loader::load('view', '/Foot', array('tracking_code' => self::$TRACKING_CODE)); |
|
| 201 | + } |
|
| 202 | 202 | |
| 203 | 203 | if($view == '/404' || $view == '/503') |
| 204 | 204 | exit; |