public function article_event() { $uri_segment = 3; $page_number = (int) $this->uri->segment($uri_segment, 0); // Set title via front->config agar template ikut if ($page_number <= 1) { $this->front->config(array( 'page' => 'tulisan', 'type' => 'tulisan_list', 'title' => 'Article & Event | Callista Tour', 'meta_des' => 'Artikel & event terbaru seputar travel, info wisata, dan update Callista Tour.' )); } else { $this->front->config(array( 'page' => 'tulisan', 'type' => 'tulisan_list', 'title' => 'Article & Event - Halaman ' . $page_number . ' | Callista Tour', 'meta_des' => 'Artikel & event terbaru seputar travel (Halaman ' . $page_number . '). Info wisata dan update Callista Tour.' )); } $offset = ($page_number <= 1) ? 0 : ($page_number - 1) * $this->per_page; $optparam = array( 'limit' => $this->per_page, 'start' => $offset, 'url_prefix' => 'article-event', 'publish' => 1 ); $config['base_url'] = base_url('article-event/page/'); $config['total_rows'] = $this->tulisan_model->getNumRow(); $config['per_page'] = $this->per_page; $config['uri_segment'] = $uri_segment; $config['first_url'] = base_url('article-event'); $config['full_tag_open'] = '
The page you requested was not found.