public function footer_partAction() { $request = $this->getRequest(); $this->getCategories(); $this->view->footerPages = Model_Pages::getPagesFooter(); if (isset($this->view->footerPages[0])) { foreach ($this->view->footerPages[0] as $k => $v) { $this->view->footerPages[0][$k]['href'] = $v['url'] ? $v['url'] : WM_Router::create($request->getBaseUrl() . '?controller=pages&page_id=' . $v['id'] . '&name=' . WM_Router::clearName($v['name'])); } } $about = Model_Pages::get(JO_Registry::forceGet('page_about')); if ($about) { $this->view->about = array('name' => $about['name'], 'href' => WM_Router::create($request->getBaseUrl() . '?controller=pages&page_id=' . $about['id'] . '&name=' . WM_Router::clearName($about['name']))); } $this->view->socials = Model_Items::getSocials(true); $this->view->rss = WM_Router::create($request->getBaseUrl() . '?controller=rss'); $this->view->contacts = WM_Router::create($request->getBaseUrl() . '?controller=contacts'); //BULLETIN $this->view->bulletin_link = WM_Router::create($request->getBaseUrl() . '?controller=users&action=bulletin'); if (JO_Session::get('msg_success_bulletin')) { $this->view->msg_success_bulletin = JO_Session::get('msg_success_bulletin'); JO_Session::clear('msg_success_bulletin'); } if (JO_Session::get('msg_error_bulletin')) { $this->view->msg_error_bulletin = JO_Session::get('msg_error_bulletin'); $this->view->data_bulletin = JO_Session::get('data_bulletin'); JO_Session::clear('msg_error_bulletin'); } $this->view->children = array(); // $this->view->children['extensions_bottommiddle'] = 'extensions/bottommiddle'; $this->view->children['extensions_bottom'] = 'extensions/bottom'; }