Codeigniter + Smarty integration