public function before() { parent::before(); // Выводим в шаблон $this->template->block_left = null; $this->template->block_right = null; }
public function before() { parent::before(); if (!Auth::instance()->logged_in()) { $this->request->redirect('account'); } }
public function before() { parent::before(); $this->template->styles[] = 'media/css/lightbox.css'; $this->template->scripts[] = 'media/js/lightbox.js'; $this->template->scripts[] = 'media/js/images.js'; }
public function before() { parent::before(); if (!$this->auth->logged_in()) { $this->request->redirect('login'); } }
public function before() { parent::before(); $this->template->styles[] = 'media/css/lightbox.css'; $this->template->scripts[] = 'media/js/plugin_cat_wondows.js'; $this->template->scripts[] = 'media/js/lightbox.js'; }
public function before() { parent::before(); $menu = Request::factory('widgets/menu')->execute(); $bay = Request::factory('widgets/mybay')->execute(); $this->template->block_left = array($menu); $this->template->block_headerRight = array($bay); }
public function before() { parent::before(); //получить виджет $menu = Request::factory('widgets/menu')->execute(); $top = Request::factory('widgets/topproducts')->execute(); //вывести в шаблон $this->template->block_left = array($menu); $this->template->block_right = array($top); }
public function before() { parent::before(); //виджеты $menu = Request::factory('widgets/menu')->execute(); $topproducts = Request::factory('widgets/topproducts')->execute(); $into = Request::factory('widgets/Into')->execute(); $mybay = Request::factory('widgets/mybay')->execute(); $news = Request::factory('widgets/news')->execute(); //вывод в шаблон $this->template->block_headerRight = array($mybay); $this->template->block_left = array($menu); $this->template->block_right = array($into, $topproducts, $news); }
public function before() { parent::before(); //Вывод в шаблон $this->template->page_title = 'Статии'; }
public function before() { parent::before(); }
public function before() { parent::before(); Auth::instance()->logout(); }
public function before() { parent::before(); $menu = Request::factory('/widgets/menu')->execute(); $this->template->block_left = array($menu); }
public function before() { parent::before(); //Вывод в шаблон $this->template->page_title = 'Производительи'; }
public function before() { parent::before(); $config = Kohana::$config->load('payments.robokassa'); $this->robokassa = Robokassa::factory($config['login'], $config['password1'], $config['password2']); }