<?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);
}