public function __construct()
{
parent::__construct();
// calls the constructor
$this->load->model('Locations_model');
$this->load->model('Pages_model');
$this->load->model('Reviews_model');
$this->load->library('location');
// load the location library
$this->load->library('currency');
// load the currency library
$this->lang->load('local');
}