ci and smarty