sample of codeigniter with smarty