mi3bjosh/Proyek-Komodo — pull request #54 by bramawira (2012-10-30 00:44:59+00:00)
Title: Commit By Brama

public function index($offset=0) { $config['base_url'] = base_url().'index.php/EbookController/index'; $config['total_rows'] = $this->db->count_all('ebook'); $config['per_page'] = 5; $config['next_link'] = ' Before '; $config['prev_link'] = ' After '; $config['uri_segment'] = 3; $this->pagination->initialize($config); $data['n_ebook'] = $this->Ebook->listEbook($config['per_page'], $offset); $this->load->view('ebook',$data);