php ci and smarty