protected function output() { parent::output(); // TODO: Change the autogenerated stub $this->header = $this->render(TEMPLATE . 'inc/header'); $this->footer = $this->render(TEMPLATE . 'inc/footer'); $this->popup = $this->render(TEMPLATE . 'inc/popup'); if ($this->need_banner) { $this->banner = $this->render(TEMPLATE . 'content/banner'); } $page = $this->render(TEMPLATE . "index", array('title' => $this->title, 'header' => $this->header, 'footer' => $this->footer, 'popup' => $this->popup, 'i_user' => $this->i_user, 'content' => $this->content, 'banner' => $this->banner)); return $page; }