Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //Getting all the Reviews and put them on the includes/header.php
- function sidebar()
- {
- //Get the instance of the framework
- $CI=& get_instance();
- //Getting data from sidebarModel
- $CI->load->model('sidebar_model');
- $data['sidebarRow'] = $CI->sidebar_model->getSidebarReviews();
- //$data['main_content'] = 'frontpage_view';
- $this->load->view('template', $data);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement