Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function index() {
- $this->load->model('data', 'search_content');
- $this->load->helper('analytics');
- $this->load->helper('weburi');
- $this->load->helper('content');
- $keyword = $this->input->post('datepublish');
- echo($keyword);
- // hasil dari echo $keyword ini adalah 3 January, 2018 //
- $t['search_data'] = $this->search_content->get_news_search($keyword);
- //$raws_image = json_decode($t['search_data'][0]['image'],true) ;
- #Menu
- $t['v_menu'] = $this->load->view('template/v_menu',NULL,TRUE);
- #Footer
- $t['v_footer'] = $this->load->view('template/v_footer',NULL,TRUE);
- $this->load->view('pages/v_search' ,$t,FALSE);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement